AbstractSimultaneously modulating photogenerated electrons and holes by introducing transitional metals species on carbon nitride (g‐C3N4) are highly desired for effectively photocatalytic converting CO2. Herein, a cyanuric acid‐melamine preassembled approach is developed to obtain large‐surface‐area g‐C3N4 with high photoactivity for CO2 conversion, and its photoactivity is improved by controllably modifying Co‐species during the synthetic process of g‐C3N4, attributed to its hole capture capability and catalytic capability for water oxidation. Moreover, the photoactivity is further improved by decorating Ni‐species on g‐C3N4, attributed to its electron capture capability and catalytic capability for CO2 reduction. Noticeably, simultaneously modulating holes and electrons displays a noticeable synergy on improving photocatalytic activities. Interestingly, the photoactivity of amount‐optimized Co and Ni co‐modified g‐C3N4 is 3.1‐time higher than that of pristine g‐C3N4, with the quantum efficiency improvement of 4.5 time at 405 nm. This work will provide a feasible way of simultaneously modulating electrons and holes to fabricate high‐performance g‐C3N4‐based nano‐sized photocatalysts for CO2 conversion.