In this study, Robinia hispida L leaves (RH) was used as a precursor for the first time to synthesize fluorescent carbon dots (CDs) with stable blue fluorescence by a single-step hydrothermal synthesis method. Notably, the innovative approach eliminates the necessity for toxic chemicals or hazardous substances, marking a significant advancement in the field. The synthesized CDs demonstrate CDs demonstrates the predominance of spherical shapes with an average size of 11.63 ± 1.92 nm. The CDs not only exhibit an enhanced fluorescent efficiency with a relatively high quantum yield of up to 6.8%, but they also possess the potential for direct utilization in the selective determination of Hg(II) through fluorescence quenching, even without any functionalization. Under the optimized conditions at a pH of 7.0, a robust linear correlation was found to exist between the fluorescence intensity and the concentration of Hg (II) within the range of 5–17.5 μM, exhibiting a detection limit (3σ) of 1.5 μM. Additionally, this methodology was effectively employed to successfully detect Hg (II) ions in various aqueous samples, including tap water, spring water, drinking water, and a certified reference material (CRM-SA-C Sandy Soil C). The spike recoveries of 97.6%–101.6% with less than 2.7% variability were performed on all samples.