In this work, highly N/P co-doped porous carbons (NPCs) have been synthesized by an ultra facile, self-activation green strategy, only used L-histidine and phytic acid as precursors. With the benefit of the self-activation strategy of the precursors, no extra traditional activators are needed for porous structures of NPCs. The as-prepared NPC-0.5-800 sample displays high contents and uniform heteroatom doping (N: 5.4%, P: 6.3%, O: 12.14%), high specific surface area (787 m(2)/g) and large pore volume (0.43 cm(3)/g). These characteristics enable the NPC-0.5-800 sample to exhibit a good specific...