Ozone plays a key role in both atmospheric chemistry and UV absorption in planetary atmospheres. On Mars, upper-tropospheric ozone has been widely characterized by space-based instruments. However, surface ozone remains poorly characterized, hindered by the limited sensitivity of orbiters to the lowest scale height of the atmosphere and challenges in delivering payloads to the surface of Mars, which have prevented, to date, the measurement of ozone from the surface of Mars. Systematic measurements from the Martian surface could advance our knowledge of the atmospheric chemistry and habitability potential of this planet. NASA’s Mars 2020 mission includes the first ozone detector deployed on the Martian surface, which is based on discrete photometric observations in the ultraviolet band, a simple technology that could obtain the first insights into total ozone abundance in preparation for more sophisticated measurement techniques. This paper describes the Mars 2020 ozone detector and its retrieval algorithm, including its performance under different sources of uncertainty and the potential application of the retrieval algorithm on other missions, such as NASA’s Mars Science Laboratory. Pre-landing simulations using the UVISMART radiative transfer model suggest that the retrieval is robust and that it can deal with common issues affecting surface operations in Martian missions, although the expected low ozone abundance and instrument uncertainties could challenge its characterization in tropical latitudes of the planet. Other space missions will potentially include sensors of similar technology.