In this paper, N and O-rich porous activated carbon (N-O/AC) microsphere with various pore sizes was prepared by thermal and KOH activation of g-C3N4@graphene oxide (CN@GO) microsphere. CN@GO microsphere was pre-prepared through a hydrothermal method directly from glucose and melamine, which resulted into high content and uniform doping of O and N in the final product. CN@GO microsphere was composed of GO/CN/GO sandwich nanochips, forming a porous structure with various pore sizes. The obtained N-O/AC has high energy density (33.19 Wh/kg) and high power density (499.93 W/kg), in company with excellent cyclic stability (remaining 98.64 % after 1000 cycles). The N-O/AC derived from the hydrothermal method provides a low-cost way of constructing porous carbon matrix composites with pseudo-capacitance.