htmlpurifier
4.15.0
About: HTML Purifier is an HTML filtering solution. It tries to remove all malicious code (XSS) and to make sure the HTML is standards compliant.
![]() ![]() |
HTML Purifier is an HTML filter that will take an arbitrary snippet of HTML and rigorously test, validate and filter it into a version that is safe for output onto webpages. It achieves this by:
However, most users will only need to interface with the HTMLPurifier and HTMLPurifier_Config.