sanitize

verb — 5 senses

sanitize

verb

US /ˈsænətaɪz/

Etymology From sanitary. By surface analysis, sanity + -ize.

1

To rid of microorganisms by cleaning or disinfecting.

2

Broadly To make something, such as a dramatic work, more acceptable by removing potentially offensive material.

  • Near-synonym: bowdlerize
  • And yet for all that, the filmmakers were in fact trying to sanitize Mitchell’s novel.2007 November 4, Stephen L. Carter, “Almost a Gentleman”, in The New York Times, →ISSN:
1 more example
  • Both caricatures are appropriately mean, but if the show is going to continue using them, it needs to take care not to sanitize the real people, as it has done with dangerously incompetent and malicious figures in the past, such as George W Bush or Trump himself.2024 November 17, Zach Vasquez, “Saturday Night Live: Charli xcx has fun in otherwise middle of the road episode”, in The Guardian, →ISSN:
3

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences To filter (text) to ensure it does not contain any characters that will cause problems for or be interpreted in an adverse way by the receiving system.

  • Remember to sanitize your query parameters to avoid SQL injection exploits.
4

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences To remove sensitive or personal data from (a database or file).

5

To revise (a document) in order to prevent identification of the sources.

Derived terms
desanitize, resanitize, sanitizable, sanitization, sanitizer
Related terms
sanitary, sanitation

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.

Learn more