Alkylation converts riboflavin into an efficient photosensitizer of phospholipid membranes.