GO:0046293:   formaldehyde biosynthetic process
The chemical reactions and pathways resulting in the formation of formaldehyde (methanal, H2C=O), the simplest aldehyde.