For environmentally friendly and sustainable development demands, visible-light-driven oxidation of sulfides has become one of the most popular strategies to synthesize functionalized sulfoxides and degrade mustard gas simulants. Herein, three novel polyoxometalate-based covalent triazine frameworks, SiW 12 -CTF (1), PW 12 -CTF (2) and PMo 12 -CTF (3) (CTF = covalent triazine framework), were synthesized via hydrothermal reaction and characterized by infrared spectroscopy, powder X-ray diffraction, XPS spectroscopy and UV−vis DRS, etc. These compounds are excellent photocatalysts for visible-lightdriven selective synthesis of various sulfoxides as well as degradation of 2-chloroethyl ethyl sulfide (CEES) illuminated by a 10 W 425 nm LED in an O 2 atmosphere. Oxygen-rich POMs with strong electronegativity modulate the electronic structure and create a built-in electric field in POM-CTFs, which promotes the separation and migration of photogenerated carriers. Meanwhile, encapsulation of various POM guests into the CTF induces different electron transfer behaviors, resulting in different photocatalytic activities. Specifically, SiW 12 -CTF and PW 12 -CTF, in visiblelight-induced oxidation of methyl phenyl sulfide, obtain sulfoxide yields of 96% and 88% within 2 h, respectively, which is higher than the CTF (68%) and SiW 12 (5%). However, PMo 12 -CTF exhibits inferior photocatalytic properties, and the sulfoxide yield is 35% under the same conditions. The in-depth mechanism reveals that the electron transfer process dominated by the O 2•− and the energy transfer process induced 1 O 2 exist in the photocatalytic system. In addition, SiW 12 -CTF can be used to catalyze various sulfurcontaining compounds and maintains boosted structural stability and catalytic activity after the reaction.