Live Demo

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

HTML Purifier Input (get)
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.

Warning: GET request method can only hold 8129 characters (probably less depending on your browser). If you need to test anything larger than that, try the POST form.

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: