Metal halide perovskites, due to their excellent optoelectronic performance, have shown great promise in applications such as solar cells, light-emitting diodes, field-effect transistors, lasers, and multiple detector types, including photodetectors, X-ray detectors, and γ-ray detectors. A particular group, called hybrid organic-inorganic metal halide perovskites, has drawn much more attention due to their optical properties and solution-processability. However, their tendency to degrade when exposed to ambient moisture is a significant challenge for practical applications. To tackle this problem, researchers have suggested replacing some of the organic cations with hydrophobic large organic ones. This modification led to the development of two-dimensional (2D) layered metal halide perovskites. With their enhanced stability and adaptable structures, they present a potential alternative to their three-dimensional (3D) counterparts.