When the motion of electrons is restricted to a plane under a perpendicular magnetic field, a variety of quantum phases emerge at low temperatures, the properties of which are dictated by the Coulomb interaction and its interplay with disorder. At very strong magnetic field, the sequence of fractional quantum , which reflect the mechanical properties characteristic of a solid. However, the most direct manifestation of the broken translational symmetry accompanying the solidification-the spatial modulation of particles' probability amplitudes-has not been observed yet. Here, we demonstrate that nuclear magnetic resonance provides a direct probe of the density topography of electron solids in the integer and fractional quantum Hall regimes. The data uncover quantum and thermal fluctuations of lattice electrons resolved on the nanometre scale. Our results pave the way to studies of other exotic phases with non-trivial spatial spin/charge order.Wigner crystallization is a concept originally proposed to occur in a disorder-free dilute electron system at zero magnetic field, when the Coulomb energy dominates over the kinetic energy 2 . Application of a strong perpendicular magnetic field (B) on a two-dimensional electron system (2DES) also facilitates Wigner crystallization [12][13][14][15] , as it quantizes the electron energy into a discrete spectrum known as Landau levels (LLs) and thereby quenches the kinetic energy. As the electrons are confined to orbits with spatial extent of the order of the magnetic length B = (h/2πeB) 1/2 (e: elementary charge, h: Planck's constant), Wigner crystallization becomes governed not by the electron density n, but by the LL filling factor ν = nh/eB(= 2πn B 2 ). Evidence for the formation of Wigner crystal (WC) domains in the regime of integer 16,17 and fractional 10,11 ν is provided by the observation of resonances in the microwave conductivity. These resonances are interpreted as arising from shear modes of WC domains pinned by disorder and, consequently, as a manifestation of a finite shear modulus 3,10,14 , a distinguishing feature of a solid. We use nuclear magnetic resonance (NMR) to demonstrate another defining feature of a solid related to its structural properties. The Knight shift measures the effective magnetic field that electron spins exert on the nuclei of the host material 18 , making it a sensitive probe of the local electron density and its spatial modulation.We studied a 2DES confined to a 27-nm-wide GaAs quantum well using a resistively detected NMR (RD-NMR) technique 19 in the millikelvin regime (Methods). Figure 1a shows resonance spectra of 75 As nuclei at B = 6.4 T, obtained at various filling factors around ν = 2, accessed using a gate voltage. At ν = 2, equal numbers of spinup and spin-down electrons fill the lowest N = 0 LL, resulting in zero net spin polarization. The corresponding resonance spectrum thus represents the bare resonance frequency of the 75 As nuclei, which is unaffected by the electron spin. As we move away from ν = 2, the addition of spin-...