The title compound, C14H11N3O2, crystallizes with two molecules in the asymmetric unit. The indazole ring system and the nitro group are nearly coplanar, with the largest deviations from the mean plane being 0.070 (4) Å in one molecule and 0.022 (3) Å in the second. The dihedral angle between the mean plane through the phenyl ring and the mean plane of the indazole ring system is of 23.24 (18)° in the first molecule and 26.87 (18)° in the second. In the crystal, molecules are linked by two C—H...O hydrogen bonds, forming linear zigzag tapes running along thec-axis direction, and by π–π stacking of molecules along thebaxis, generating a three-dimensional structure.