Purity testing of methylformamide can be done through various analytical methods. One of the most commonly used is gas chromatography (GC), where the methylformamide sample is heated until it vaporizes, and its components are separated according to how volatile they are. Detecting such impurities can also be done with high-performance liquid chromatography (HPLC), which does not vaporize easily. Other methods are titration for measuring the quantity of some functional groups present and infrared (IR) or nuclear magnetic resonance (NMR) spectroscopy for analyzing, confirming the structure of the compound, and identifying impurities