A series of hierarchical porous carbons (HPCs) were prepared by a combination of self-assembly and chemical activation. Pore-structure analysis shows that micropores can be generated within the mesopore wall of mesoporous carbon in a controllable manner d