Carbon nanodots, rich in functional groups and synthesised using green precursors, catalyse the decolourization of dyes under mild conditions.