This study reveals a novel use of lignin for eliminating azo dyes from wastewater, showcasing a scalable and eco-friendly approach to water treatment.