text: Sodium hydroxide is a popular strong base used in industry. Sodium hydroxide is used in the manufacture of sodium salts and detergents, pH regulation, and organic synthesis. In bulk, it is most often handled as an aqueous solution, since solutions are cheaper and easier to handle.
  Sodium hydroxide is used in many scenarios where it is desirable to increase the alkalinity of a mixture, or to neutralize acids. For example, in the petroleum industry, sodium hydroxide is used as an additive in drilling mud to increase alkalinity in bentonite mud systems, to increase the mud viscosity, and to neutralize any acid gas (such as hydrogen sulfide and carbon dioxide) which may be encountered in the geological formation as drilling progresses. Another use is in salt spray testing where pH needs to be regulated. Sodium hydroxide is used with hydrochloric acid to balance pH. The resultant salt, NaCl, is the corrosive agent used in the standard neutral pH salt spray test.
  Poor quality crude oil can be treated with sodium hydroxide to remove sulfurous impurities in a process known as caustic washing. Sodium hydroxide reacts with weak acids such as hydrogen sulfide and mercaptans to yield non-volatile sodium salts, which can be removed. The waste which is formed is toxic and difficult to deal with, and the process is banned in many countries because of this. In 2006, Trafigura used the process and then dumped the waste in Ivory Coast.
  Other common uses of sodium hydroxide include:
  * for making soaps and detergents. Sodium hydroxide is used for hard bar soap, while potassium hydroxide is used for liquid soaps. Sodium hydroxide is used more often than potassium hydroxide because it is cheaper and a smaller quantity is needed.
  * as drain cleaners that convert pipe-clogging fats and grease into soap, which dissolves in water
  * for making artificial textile fibres such as rayon
  * in the manufacture of paper. Around 56% of sodium hydroxide produced is used by industry, 25% of which is used in the paper industry.
  * in purifying bauxite ore from which aluminium metal is extracted. This is known as the Bayer process.
  * de-greasing metals
  * oil refining
  * making dyes and bleaches
  * in water treatment plants for pH regulation
  * to treat bagels and pretzel dough, giving the distinctive shiny finish