Ocean acidification has become a major climate change concern requiring continuous observation. Additionally, in the industry, pH surveillance is of great importance. Consequently, there is a pressing demand to develop robust and inexpensive pH sensors. Ratiometric fluorescence pH sensing stands out as a promising concept. The application of carbon dots in fluorescent sensing presents a compelling avenue for the advancement of pH-sensing solutions. This potential is underpinned by the affordability of carbon dots, their straightforward manufacturing process, low toxicity, and minimal susceptibility to photobleaching. Thus, investigating novel carbon dots is essential to identify optimal pH-sensitive candidates. In this study, five carbon dots were synthesized through a simple solvothermal treatment, and their fluorescence was examined as a function of pH within the range of 5-9, across an excitation range of 200-550 nm and an emission range of 250-750 nm. The resulting optical features showed that all five carbon dots exhibited pH sensitivity in both the UV and visible regions. One type of carbon dot, synthesized from m-phenylenediamine, displayed ratiometric properties at four excitation wavelengths, with the best results observed when excited in the visible spectrum at 475 nm. Indeed, these carbon dots exhibited good linearity over pH values of 6-9 in aqueous Carmody buffer solution by calculating the ratio of the green emission band at 525 nm to the orange one at 630 nm (I525nm/I630nm), demonstrating highly suitable properties for ratiometric sensing.