Implementing nonlinear optical components in nanoscale photonic devices is challenged by phase-matching conditions requiring thicknesses the order of hundreds wavelengths, and disadvantaged short interaction depth nanometre-scale materials weak photon–photon interactions. Here we report that ferroelectric NbOI2 nanosheets exhibit giant second-harmonic generation with conversion efficiencies are...