Give your users the freedom of html, safely

allowHTML is designed to give you control over the content submitted to your website. It filters out potentially dangerous html code to prevent xss attacks and keep visitors to your website safe.

Every html tag, attribute and style property is checked against a whitelist, which you can control and change, and removed if no match is found. Whitelisting is the safest way to filter html, don't settle for anything less!

Written in php, allowHTML is open source, meaning you can use it in any of your projects as you see fit. It's fast, light-weight and easy to setup.

» Learn how to get started with allowHTML