Dyes can be decomposed by the thermo-driven catalysis of g-C3N4. A synergetic effect of g-C3N4 and H2O2 is demonstrated. This approach shows the superior applicability and reusability. The doping level promotes the separation of thermo-generated e−–h+.