Original: The modern preparation entails the reaction of fluorine with a dilute aqueous solution of sodium hydroxide, with sodium fluoride as a side-product:
Simplified: Nowadays, it is prepared by the reaction of fluorine with a dilute aqueous solution of sodium hydroxide. Sodium fluoride is left as a side-product: