In the title compound, C12H12N2O2S, there are S—H⋯N and N—H⋯O hydrogen-bond interactions. The N—H⋯O hydrogen bond is bifurcated, with the hydrogen being simultaneously donated to two equivalent O atoms, forming one intra- and one intermolecular N—H⋯O bond with an R
1
2(4) motif. The motif of the S—H⋯N hydrogen bond is R
2
2(12).