Using photocatalytic oxidation to convert basic chemicals into high value compounds in environmentally benign reaction media is a current focus in catalytic research. The challenge lies in gaining controllability over product formation selectivity. We design covalent triazine frameworks as heterogeneous, metal-free, and recyclable photocatalysts for visible-light-driven switchable selective oxidation of styrene in pure water. Selectivity in product formation was achieved by activation or deactivation of the specific photogenerated oxygen species. Using the same photocatalyst, by deactivation of photogenerated H2 O2 , benzaldehyde was obtained with over 99 % conversion and over 99 % selectivity as a single product. The highly challenging and sensitive epoxidation of styrene was carried out by creating peroxymonocarbonate as an initial epoxidation agent in the presence of bicarbonate, which led to formation of styrene oxide with a selectivity up to 76 % with near quantitative conversion. This study demonstrates a preliminary yet interesting example for simple control over switchable product formation selectivity for challenging oxidation reactions of organic compounds in pure water.