The present work reports a sensitive, affordable, and ecologically friendly spectrofluorimetric method for the assessment of two antihypertensive medications, namely minoxidil and timolol. Blue-emitting sulfur and nitrogen co-doped carbon quantum dots (S,N-CQDs) were generated by exposing soluble starch and thiourea to a 15-minute microwave treatment. The so- prepared nanodots displayed fluorescence at 276/430 nm with a quantum yield of 22 %. Inspection of the so-prepared nano-sensor verified their doping with nitrogen and sulfur, and their size was in the range of 4.5–9.03 nm. The proposed method was found to be rectilinear in the range of 0.20–5.0 and 2.0–30.0 µg/mL, with LOQs of 0.16 and 0.82 µg/mL for minoxidil and timolol, respectively. The developed method was employed to assess the concentrations of minoxidil and timolol in their pharmaceutical formulations, with %recoveries varying between 99.00 % and 101.94 %, and low RSD values (less than 2 %). The high sensitivity of the developed method allowed its use for timolol measurement in artificial aqueous humor, with % recoveries between 97.60 %.and 101.57 %. The study further examined how each analyte interacted with the prepared dots, leading to a quenching of their fluorescence. Additionally, an interference study was utilized to evaluate the specificity of the proposed approach through determining analyte levels in the existence of common additives, co-formulated drugs, and co-administered drugs. The analytical eco-scale, GAPI and AGREE assessment techniques were utilized to confirm the suggested method greenness.