Johnson & Johnson, which makes a range of personal care products like baby shampoo, acne cream and antiwrinkle lotion, announced plans Wednesday to remove a host of potentially harmful chemicals, like formaldehyde, from its line of consumer products by the end of 2015, becoming the first major consumer products company to make such a widespread commitment.

The company had already pledged to remove certain chemicals from its baby products by 2013, but the latest announcement extended the program to its adult products, including well-known drugstore brands like Neutrogena, Aveeno and Clean & Clear.

“There’s a very lively public discussion going on about the safety of ingredients in personal care products,” said Susan Nettesheim, vice president for product stewardship and toxicology for the company’s consumer health brands. “It was really important that we had a voice in that.”

Environmental and consumer groups have for years pressured Johnson & Johnson and its competitors to remove questionable ingredients from their products.