Various embodiments disclosed relate to conjugated polyelectrolytes and methods of using the same. Various embodiments provide a conjugated polyelectrolyte including a subunit having the structure —R1—Y—R2—Z—. At each occurrence, R1 is independently chosen from 1,4-bonded phenylene substituted by —X—R3—R4 j times and 2,5-bonded thiophene substituted by —X—R3—R4 j times. At each occurrence, Y is independently chosen from a bond and —C≡C—. At each occurrence, R2 is independently chosen from a bond, a substituted or unsubstituted phenylene, thiophenylene, azulenylene, heptalenylene, biphenylene, indacenylene, fluorenylene, phenanthrenylene, triphenylenylene, pyrenylene, naphthacenylene, chrysenylene, biphenylenylene, anthracenylene, and naphthylene. At each occurrence, Z is independently chosen from a bond and —C≡C—. The variables j, R3, and R4 are as defined herein.