The development of visible-light-driven polymeric g-C₃N₄ is in response to an emerging demand for the photocatalytic dye degradation and reduction of hexavalent chromium ions. We report the synthesis of g-C₃N₄ from urea treated with various solvents such as methanol, ethanol, and ethylene glycol. The samples were characterized and the Williamson⁻Hall method was applied to investigate the lattice strain of the samples. The activity of the samples was evaluated by observing the degradation of methyl orange and K₂Cr₂O₇ solution under light irradiation. Photocatalytic reaction kinetics were determined as pseudo-first-order and zero-order for the degradation of methyl orange and reduction of hexavalent chromium, respectively. Due to the inhibited charge separation resulting from the small lattice strain, reduced crystal imperfection, and sheet-like structure, g-C₃N₄ obtained from ethanol-treated urea exhibited the highest activity among the evaluated samples.