Ethyl 7-formyl-1 H -indole-1-carboxylate

The non-H atoms of the title mol­ecule, C12H11NO3, are nearly coplanar, with an r.m.s deviation of 0.054 A. There are two intra­molecular C—H⋯O hydrogen bonds. Pairs of the mol­ecules are linked into centrosymmetric dimers via inter­molecular C—H⋯π inter­actions. The dimers are stacked along the a axis with weak π–π inter­actions.