Electrochemical double layer capacitors (EDLCs, a type of supercapacitor) are high-performance energy storage devices due to their fast charging rates and cycle stability. The electrode materials in commercial EDLCs are typically nanoporous carbons, which consist of disordered graphene-like domains that form the pore walls of a porous three-dimensional structure. While numerous efforts have been devoted to optimise the pore size, functional groups, surface area , and local structural graphitisation degree to improve the performance, clear design principles for optimising nanoporous carbons to enhance capacitance have yet to be established due to their complex structures.