We report on a twisted aromatic polymer, the first xanthene-based example bearing protonated imidazole groups. Its special architecture enables superior ion selectivity, conductivity, and chemical stability, providing excellent performance in both all-vanadium and iron-vanadium redox flow batteries.