A simple one-pot microwave-assisted approach has been established for the large-scale preparation of carbon quantum dots (CDs) with excellent water solubility and photoluminescence. The properties and mechanism were demonstrated. Moreover, the CDs have been applied to the detection of tetracycline hydrochloride.