Formaldehyde is an ingredient in some nail hardeners and nail polishes. It may be listed on the product label as formaldehyde or by different names, such as “formalin” and methylene glycol.” In nail hardeners, formaldehyde bonds with the keratin that occurs naturally in the nails, making the nails harder.