Self-standing, flexible, continuous, and crack-free covalent-organic-framework membranes (COMs) are fabricated via a simple, scalable, and highly cost-effective methodology. The COMs show long-term durability, recyclability, and retain their structural integrity in water, organic solvents, and mineral acids. COMs are successfully used in challenging separation applications and recovery of valuable active pharmaceutical ingredients from organic solvents.