Nanotechnology is rapidly becoming more and more important in today's technological world as the need for industry increases with human well-being. In this study, we synthesized SnO2 nanoparticles (NPs) using an environmentally friendly method or green method from Croton macrostachyus leaf extract, leading to the transformation of UV absorbance to visible absorbance by reducing the band gap energy. The products underwent UV, FTIR, XRD, SEM, EDX, XPS, BET, and DLS for characterization. Characterization via UV–Vis spectroscopy confirmed the shift in absorbance towards the visible spectrum, indicating the potential for enhanced photocatalytic activity under visible light irradiation. The energy band gap for as-synthesized nanoparticles was 3.03 eV, 2.71 eV, 2.61 eV, and 2.41 eV for the 1:1, 1:2, 1:3, and 1:4 sample ratios, respectively. The average crystal size of 32.18 nm and very fine flakes with tiny agglomerate structures of nanoparticles was obtained. The photocatalytic activity of the green-synthesized SnO2 nanoparticles was explored under visible light irradiation for the degradation of rhodamine B (RhB) and methylene blue (MB), which were widespread fabric pollutants. It was finally confirmed that the prepared NPs were actively used for photocatalytic degradation. Our results suggest the promising application of these green-synthesized SnO2 NPs as efficient photocatalysts for environmental remediation with low energy consumption compared to other light-driven processes. The radical scavenging experiment proved that hydroxyl radicals (_OH) are the predominant species in the reaction kinetics of both pollutant dyes under visible light degradation.