Hydrogen peroxide (H2O2) was generally considered as an ideal energy carrier and environment-friendly oxidant to process environmental modification. Here, FeOOH QDs and CQDs was interspersed on g-C3N4 ultrathin nanosheet to promote H2O2 generation and in-situ decomposition. FeOOH QDs/CQDs/g-C3N4 composite (FCCN) exhibited excellent photoactivity for degrading oxytetracycline (OTC) under visible light illumination. The accelerated photoactivity is ascribed to the following merits: 1) the exciton dissociation interface and carrier transfer channel are fabricated to facilitate photoexcited electron transfer; 2) the photoexcited electron can be rapidly utilized by molecular oxygen to generate H2O2, resulting in facilitated molecular oxygen activation; 3) Fe3+ in FeOOH QDs is reduced to Fe2+ by photoexcited electron, and then reacts with generated H2O2 to produce OH, thereby promoting photodegradation efficiency. The H2O2 generation yield of FCCN-2 composite was 224.24 µmol h−1 g−1, which was higher than that of pure g-C3N4. 3,3′,5,5′-tetramethylbenzidine (TMB) oxidation and O2− quantitative determination displayed outstanding molecular oxygen activation capacity of hybrid composite. Moreover, 0D/2D heterojunction photocatalyst displayed weakened charge carrier recombination efficiency (0.0015 s−1) and expedited surface carrier transfer efficiency (41.01%) compared to g-C3N4 and CQDs/g-C3N4 photocatalyst. Finally, the photodegradation mechanism were rationally evaluated based on the experiment results.