The compounds 2-(1-benzofuran-2-yl)-2-oxoethyl 2-nitrobenzoate, C17H11NO6(I), and 2-(1-benzofuran-2-yl)-2-oxoethyl 2-aminobenzoate, C17H13NO4(II), were synthesized under mild conditions. Their molecular structures were characterized by both spectroscopic and single-crystal X-ray diffraction analysis. The molecular conformations of both title compounds are generally similar. However, differentortho-substituted moieties at the phenyl ring of the two compounds cause deviations in the torsion angles between the carbonyl group and the attached phenyl ring. In compound (I), theortho-nitrophenyl ring is twisted away from the adjacent carbonyl group whereas in compound (II), theortho-aminophenyl ring is almost co-planar with the carbonyl group. In the crystal of compound (I), two C—H...O hydrogen bonds link the molecules into chains propagating along thec-axis direction and the chains are interdigitated, forming sheets parallel to [20-1]. Conversely, pairs of N—H...O hydrogen bonds in compound (II) link inversion-related molecules into dimers, which are further extended by C—H...O hydrogen bonds into dimer chains. These chains are interconnected by π–π interactions involving the furan rings, forming sheets parallel to theacplane.