C-ZnO nanocomposite was successfully prepared via a facile and eco-friendly process. C-ZnO NPs have excellent photocatalytic activity for RhB dye degradation under visible light irradiation compared with literature. The visible photocatalytic properties originate from injection e− in CB of ZnO from RhB.