A FLAVOPROTEIN, this enzyme catalyzes the oxidation of sarcosine to glycine; formaldehyde; and hydrogen peroxide (H2O2).