The mol-ecule of the title compound, C(8)H(8)N(4)O(2)S, adopts an E configuration about both the C-N bonds. In the crystal structure, adjacent mol-ecules are linked by inter-molecular N-H⋯S hydrogen-bonding inter-actions, forming chains running parallel to the b axis.