We describe the synthesis of 1,omega-di-1H-imidazoles 2 and 3, derived from l-threitol and d-mannitol, respectively, showing suitable magnetic and toxicological properties, as novel extracellular pH indicators for 1H spectroscopic imaging by magnetic resonance methods.