In the title compound, C15H14N2O5S, two similar molecules comprise the asymmetric unit, which are linked by strong intermolecular C—H⋯π interactions. Both molecules are bent, with dihedral angles of 71.94 (16) and 74.62 (15)° between the benzene rings. An intramolecular N—H⋯O hydrogen bond occurs in each molecule. In the crystal, intermolecular N—H⋯O and O—H⋯O hydrogen bonds link the molecules into a three-dimensional network.