In situ electrosynthesis of H2O2 by two-electron oxygen reduction reaction is a promising method for energy storage and H2O2 production.Maltose-derived oxygen self-doping electrocatalysts were obtained by one-step carbonation method for the electrosynthesis of H2O2.The carbonization temperature would change the types of surface functional groups and the degree of defects of the catalyst,thus affecting the H2O2 selectivity.The results show that the catalyst carbonized at 800℃ has the optimal selectivity,using oxygenic functional groups and defects as reaction sites,and the pore structure dominated by micropores can promote uniform distribution of reaction sites and mass transfer.Under the applied current density of 100 mA·cm-2,the H2O2 yield of the air-breathing cathode loaded with the catalyst achieves 39.88 mg·h-1·cm-2,which is close to the requirement of industrial sustainable production of H2O2.