The two title molecules, both C(15)H(14)N(2)O(3), are roughly planar and display a trans conformation with respect to the -N=N- double bond, as found for other diazene derivatives. In both compounds, there are intramolecular O-H.O hydrogen bonds and the crystal packing is governed by weak intermolecular C-H.O hydrogen bonds and pi-pi stacking.