The main application of sodium chlorite is the generation of chlorine dioxide for bleaching and stripping of textiles, pulp, and paper. It is also used for disinfection of a few municipal water treatment plants after conversion to chlorine dioxide. An advantage in this application, as compared to the more commonly used chlorine, is that trihalomethanes (such as chloroform) are not produced from organic contaminants. In organic synthesis, sodium chlorite is frequently used as a reagent in the Pinnick oxidation for the oxidation of aldehydes to carboxylic acids. The reaction is usually performed in monosodium phosphate buffered solution in the presence of a chlorine scavenger (usually 2-methyl-2-butene).