The vibrational spectrum of a single carbon monoxide molecule, adsorbed on the tip apex of a scanning tunneling microscope, is used to image electrostatic fields with submolecular spatial resolution. The method takes advantage of the vibrational Stark effect to image local electrostatic fields and the single-molecule sensitivity of tip-enhanced Raman scattering (TERS) to optically relay the signal. We apply the method to single metalloporphyrins adsorbed on Au(111) to image molecular charges, intramolecular polarization, local photoconductivity, atomically resolved hydrogen bonds, and surface electron density waves.