Epoxidation chemistry often suffers from the challenging handling of peracids and thus requires in situ preparation. Here, we describe a two-phase enzymatic system that allows the effective generation of peracids and directly translate their activity to the epoxidation of olefins. We demonstrate the approach by application to lipid and olefin epoxidation as well as sulfide oxidation. These methods offer useful applications to synthetic modifications and scalable green processes.