摘要:AbstractNitrogen and sulfur co‐doped graphene‐like carbon (N,S‐GLC) is successfully prepared in a one‐step hydrothermal reaction of glucose with industrial dye wastewater followed by chemical activation. The nitrogen and sulfur are sourced entirely from the industrial wastewater. The process not only provides an alternative way of treating industry wastewater, but also offers a green route for recovering energy from the waste in the form of chemicals. The resultant N,S‐GLC shows a good degree of graphitization, a high specific surface area (1734 m2g−1), and moderate heteroatom doping (N: 2.1 at%, S: 0.7 at%). The N,S‐GLC electrode displays high specific capacitance of 275 F g−1at a current density of 0.5 A g−1with a retention of 65.4% at 20 A g−1in 6mKOH. Moreover, the assembled symmetrical supercapacitor cell shows a capacitance of 38 F g−1at a current density of 0.5 A g−1, which is equivalent to an energy density of 6.4 Wh kg−1at a power density of 275.0 W kg−1. This approach provides an alternative and sustainable way of fabricating heteroatom‐doped graphene‐like carbon materials for use in high‐performance supercapacitors.A green and facile one‐step method of recovering energy from the waste is proposed, which allows treatment of industrial dye wastewater and the production of nitrogen and sulfur co‐doped graphene‐like porous carbon (N,S‐GLC) simultaneously. The N,S co‐doped carbon exhibits high specific surface area, superior doped nitrogen, and excellent electrochemical performance.