Among electrode materials for supercapacitors, carbon-based materials are most commonly used because they’re commercially available and cheap, and they can be produced with a large specific surface area. Heteroatom doping, especially dual-doped carbon materials, have attracted much attention in the past few years, and have been regarded as one of the most efficient strategies to enhance the capacitance behavior of porous carbon materials. However, most of the preparations of co-doped carbon materials involve high-temperature treatment and post-processing of doping procedures. Therefore, it is necessary to develop a concise route for large-scale production of dual-doped carbon with desirable morphology and structure and to achieve high content of doping.