The C 1s and O 1s core binding energies of gaseous benzoic, phthalic, isophthalic, and terephthalic acids have been measured by X-ray photoelectron spectroscopy. The π-donor relaxation energies associated with the carbonyl oxygen ionization in these systems have been found to be around 2 eV, close to the value for acetic acid. Comparison of the O 1s binding energies in phenol and benzoic acid with the gas phase acidities shows that the increased acidity of benzoic acid is attributable mostly to initial-state inductive effects. A number of O 1s – proton affinity correlations have been used to predict proton affinities for these acids. It is found that benzoic acid is the strongest base and the weakest acid.