Active pharmaceutical ingredients are either extracted from biological sourceswhere they are synthesized in complex, dynamic environmentsor prepared via step-wise chemical syntheses by reacting pure reagents and catalysts under controlled conditions. A combination of these two approaches, where plant extracts containing reagents and catalysts are utilized in intensified chemical syntheses, creates expedient and sustainable processes. We illustrate the principle by reacting crude plant extract, oxygen, acid, and light to produce artemisinin, a key active pharmaceutical ingredient of the most powerful anti-malaria drugs. The traditionally discarded extract of Artemisia annua plants contains dihydroartemisinic acid-the final biosynthetic precursor-as well as chlorophyll, which acts as a photosensitizer. Efficient illumination with visible light in a continuous flow setup produces artemisinin in high yield, and the artificial biosynthetic process outperforms syntheses using pure reagents.