In this study, fluorescent nitrogen-doped carbon dots (NCDs) were tuned via varying the sources with different number of carboxyl groups. Owing to the interaction between amino and carboxyl, more amino groups conjugate the surface of the NCDs by the source with more carboxyl groups. Fluorescent NCDs were tuned via varying the sources with different content of carboxyl groups. Correspondingly, the nitrogen content, fluorescence quantum yields and lifetime of NCDs increases with the content of carboxyl groups from the source. Furthermore, cytotoxicity assay and cell imaging test indicate that the resultant NCDs possess low cytotoxicity and excellent biocompatibility.