DOMPurify 3.2.0 "Typewriter"

npm version Build and Test Downloads minified size gzip size dependents

This is the demo for DOMPurify, a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, SVG and MathML. The textarea below contains sample-payload - you can also add your own. Watch it sanitize on the console or in the Iframe below.



Timings: