A pair of isomeric Py-BT-COFs with the same composition, but slightly different atomic arrangements, were designed and synthesized. The minute structural variations of the Py-BT-COF isomers generated significantly different redox and photophysical properties and correspondingly led to different photocatalytic manifestations in H 2 evolution and rhodamine B degradation.