The asymmetric unit of the title compound, C(13)H(11)N(3)O(2), contains two mol-ecules with slightly different conformations: the dihedral angle between the aromatic rings is 13.01 (10)° in one mol-ecule and 14.05 (10)° in the other. Both mol-ecules feature short intra-molecular C-H⋯O contacts, which generate S(6) rings. In the crystal, both mol-ecules form inversion dimers linked by pairs of N-H⋯O hydrogen bonds, thereby generating R(2) (2)(16) rings.