Live Demo

Welcome to the live demo. Enter some HTML and see how HTML Purifier will filter it.

HTML Purifier Input (post)
DirectiveValue
AutoFormat
CSS
or
Core
HTML
or
or
URI
or

By default, HTML Purifier may remove some of your spacing or indentation. Turn on CollectErrors or experimental features in order to fully preserve whitespace.

Use experimental features:

Try the form in GET and POST request flavors (GET is easy to validate with W3C, but POST allows larger inputs). Don't know what to test? Try out these sample filterings: