A new methodology for the synthesis of carbon quantum dots (CQDs) for large production is proposed. The as-obtained CQDs can be transformed into 3D porous carbon frameworks exhibiting superb sodium storage properties with ultralong cycle life and ultrahigh rate capability, comparable to state-of-the-art carbon anode materials for sodium-ion batteries.