Popularity
7.3
Stable
Activity
4.6
Stable
1,373
66
197

Description

HTML Purifier is an HTML filtering solution that uses a unique combination of robust whitelists and agressive parsing to ensure that not only are XSS attacks thwarted, but the resulting HTML is standards compliant.

HTML Purifier is oriented towards richly formatted documents from untrusted sources that require CSS and a full tag-set. This library can be configured to accept a more restrictive set of tags, but it won't be as efficient as more bare-bones parsers. It will, however, do the job right, which may be more important.

Places to go:

Code Quality Rank: L3
Monthly Downloads: 638,711
Programming language: PHP
License: GNU Lesser General Public License v2.1 or later
Tags: Security     HTML    

HTML Purifier alternatives and similar libraries

Based on the "Security" category

Do you think we are missing an alternative of HTML Purifier or a related project?

Add another 'Security' Library