g-C3N4-dots were synthesized by electrochemical “tailoring” process from bulk graphitic carbon nitride for the first time. .
The novel g-C3N4-dots show the reducibility for the reduction of Ag+ to AgNPs.
An optical sensor is developed for the detection of biothiols based on the measuring the absorption peak change of the AgNPs.
The present study has opened a way for synthesis of g-C3N4-dots and expand the potential application of g-C3N4.