In the racemic title compound, C(14)H(11)N(3)O(3), the pyrimidine ring has an envelope conformation with the puckering parameters Q = 0.3338 (17) Å, Θ = 60.1 (3) and ϕ = 290.4 (3)°. The two N-H groups form hydrogen bonds with symmetry-related mol-ecules, building a two-dimensional network parallel to the (10) plane.