Integrating carbon nitride with graphene into a lateral heterojunction would avoid energy loss within the interlaminar space region on conventional composites. To date, its synthesis process is limited to the bottom-up method which lacks the targeting and homogeneity. Herein, we proposed a hydrogen-initiated chemical epitaxial growth strategy at a relatively low temperature for the fabrication of graphene/carbon nitride in-plane heterostructure. Theoretical and experimental analysis proved that methane via in situ generation from the hydrogenated decomposition of carbon nitride triggered the graphene growth along the active sites at the edges of confined spaces. With the enhanced electrical field from the deposited graphene (0.5%), the performances on selective photo-oxidation and photocatalytic water splitting were promoted by 5.5 and 3.7 times, respectively. Meanwhile, a 7720 μmol/h/g(graphene) hydrogen evolution rate was acquired without any cocatalysts. This study provides an top-down strategy to synthesize in-plane catalyst for the utilization of solar energy.