► Nanostructured glass surfaces with theoretically near-to-zero reflectivity in the UVNIR region. ► Simple fabrication process using self-organization during reactive ion etching proposed. ► Prediction of optical reflectivity from AFM measured surface morphology. Aiming to diminish the reflection losses of glass covered light harvesting devices, the optical reflectivity of nanostructured glass surfaces is studied theoretically and experimentally. The work is inspired by the nanoscale roughness of insect eyes, which is tried to be replicated on a technical glass surface. To this end, the reflectivity of glass surfaces with topographies represented by linear, parabolic and Fermi-shaped glass/air fill factor profiles is calculated for normal incidence. It is shown that using the latter ones, an almost complete suppression of reflections can be achieved. A simple, self-organization technique to create such Fermi-shaped filling factor profiles in glass experimentally is also presented.