Two-dimensional (2D) porous carbon nanosheets (2DPCs) have attracted great attention for their good porosity and long-distance conductivity.F actors such as templates, precursors, andc arbonization-activation methods, directly determine their performance. However,r ational design and preparation of porous carbon materials with controlled 2D morphology and heteroatom dopants remains ac hallenge. Therefore, an ionic polyimide with both sp 2 -a nd sp 3 -hybridized nitrogen atoms was prepared as ap recursor for fabricating N-doped hexagonal porousc arbon nanosheets through ah ard-templatea pproach. Because of the large surface area and efficient charge-mass transport, the resulting activated 2D porous carbon nanosheets (2DPCs-a) displayed promising electrocatalytic properties for oxygen reduction reaction( ORR) in alkaline and acidic media, such as ultralow half-wavep otential( 0.83 vs. 0.84 VofP t/C) and superior limiting current density (5.42 vs. 5.14 mA cm À2 of Pt/C). As air cathodes in Zn-air batteries, the as-developed 2DPCs-a exhibited long stabilitya nd high capacity (up to 614 mA hg À1 ), which are both highert han those of commercial Pt/C. This work provides ac onvenient methodf or controllable and scalable2 DPCs fabrication as well as new opportunities to develop high-efficiency electrocatalysts for ORR and Zn-air batteries.Scheme1.Schematicof2 DPCs preparation basedo ni onic polyimide precursorand LDH template:(i) polymerization of PMDA and Vio-NH 2 through solvothermal reactioni ndimethylformamide at 180 8Cfor 10 h; (ii)carbonization of IPI@LDH at 800 8Cfor 2hin N 2 atmosphere; and (iii)etching with KOH at 180 8Cf or 20 hand HCla t8 08Cfor 12 h. Figure 3. ORR performance of as-prepared samples in O 2 -saturated 0.1 m KOH. (a) CV curves, (b) LSV polarization curves, and (c)T afel plots of 2DPCs, PCs and Pt/C. (d) Calculated potential dependent electron transfer number and hydrogenp eroxide percentage; (e) K-L plots (J À1 vs. w À1/2 )of2 DPCs-a at different potentials;(f) Current-time (i-t)c hronoamperometric responsesa t0 .75 Vatar otationr ate of 1600 rpm. RHE = reversible hydrogen electrode.Figure 6. (a) SEM and (b) TEM images of 2DPCs-a after 10 hstability test as air cathode in Zn-air battery. (c) High-resolution N1sc ore-level XPS spectrum and corresponding (d) atomic percentages of nitrogen species in 2DPCS-a' compared with 2DPCs-a.