The development of more energy-efficient separation technologies is essential. Especially the separation of cyclic aliphatic hydrocarbons from their aromatic counterparts remains a significant challenge due to azeotrope formation and similar physical properties, often requiring energy-intensive processes. Herein, we introduce a novel class of electron-deficient macrocycles with a unique rectangular structure to optimise interactions within the pore, enabling the highly selective molecular sieving of aromatic compounds from mixtures. Utilising dynamic covalent imine chemistry, the squareimine NDI