We describe a protocol for the light-catalyzed generation of hydrogen peroxide — a cofactor for oxidative transformations.