Competition between superconductivity and other various ordered states plays a central role in correlated electron materials. The charge order with translational symmetry breaking has been observed in the parent compounds of nickelate superconductors with a wave vector q 1 3 , 0, 0 . Here we combine density-functional-theory and dynamical-mean-field-theory to study undoped NdNiO 2 , and find that the charge ordered state with a periodic Ni 1+ -Ni 2+ -Ni 1+ pattern can have a lower energy than the paramagnetic state and the checkerboard antiferromagnetic state for the strong local Coulomb repulsion on the Ni-d x 2 −y 2 orbital. Its spectral function evidently shows that the Ni 2+ -d x 2 −y 2 orbital forms a hole-singlet due to the electron transfer to the interstitial-s/Nd-d conduction bands, while the Ni 1+ -d x 2 −y 2 orbital exhibits a sharp quasiparticle resonance near the Fermi energy inside the Mott Hubbard gap. The charge order can be controlled by the charge transfer energy between Ni-d and interstitial-s/Nd-d orbitals, and there is a delicate competition between the kinetic energy cost and the potential energy gain, compared to the checkboard antiferromagnetic state. Our results provide a pure electronic explanation of the charge order observed experimentally and reveal some distinctive properties of the infinite-layer nickelates.