A fixed-bed method is proposed to test materials for HCl removal from hydrogen gas.• Zeolite X was the best performing material among screened zeolites.• Ion-exchanged X zeolites were successfully produced, characterized and evaluated.• HCl removal from hydrogen gas occurred through reaction with the zeolite cations.• Cation type and hydration significantly influenced the HCl removal performance.