Electrospray deposition was used to prepare ZIF-8 and ZIF-7 membranes for H2/CO2 separation. The membranes were synthesized via preparing two solutions of the metal salts and the linker separately and then mixing them to obtain ZIFs precursor solutions. The mixed solution was then fed into a nozzle with an applied potential for electro-spraying on a hot α-alumina substrate (Table ).