A simple and green hydrothermal method was developed for preparation of water-soluble nitrogen-doped carbon dots (N-CDs) from streptomycin. The prepared N-CDs reveal low toxicity, high stability and good biocompatibility, which can be used as fluorescent probes for cell imaging.