Low-dimensional hybrid organic–inorganic perovskites (HOIPs) possess more localized electronic states and narrower conduction and valence bands to promote self-trapping of excitons and stronger exciton emission; therefore, they are widely used as building