Metal-ion hybrid capacitors represent an innovative class of electrochemical energy storage systems. However, hybrid capacitors made from traditional carbon-based materials struggle to simultaneously achieve both high specific capacity and long-cycle stability. A hierarchical porous carbon material with an optimized pore structure was synthesized using pig kidney proteins and tannic acid as precursors, employing cross-linking polymerization and carbonization activation strategies. The as-synthesized sample features an exceptionally high specific surface area and abundant porosity, which efficiently accommodate the adsorption and transport of solvated zinc and magnesium ions. The zinc-ion hybrid capacitor (ZHC) achieved a reversible capacity of 221 mA h g