g-C3N4 acted as a support for the in situ growth of β-Ag2WO4.
g-C3N4 nanosheets inhibited the phase transformation of β-Ag2WO4 to α-Ag2WO4.
g-C3N4/Ag2WO4 exhibited a superior photocatalytic activity.
A direct Z-scheme photocatalytic mechanism could explain activity enhancement.