Hydro-rich C-dots were used as both the reducing and stabilizing agent in the preparation of noble metal nanoparticles (AuNPs, AgNPs and Au@AgNPs) for the detection of glucose.