In the title zwitterion, C17H12N2O2, the dihedral angle between the benzene ring and naphthalene ring system is 11.76 (7)° and an intra-molecular N-H⋯O hydrogen bond exists. In the crystal, molecules are linked via pairs of C-H⋯O hydrogen bonds, forming inversion dimers.