The title compound, C11H8N2O, has two crystallographically independent molecules in the crystal. Each molecule is basically planar except for the O atom. The two N atoms in the molecule show different behaviour as hydrogen-bonding acceptors. One of them is involved in intermolecular O-H . . . N hydrogen bonds which stabilize the crystal packing.