Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Tags
  3. Html Sanitization

Html Sanitization

20 projects

Showing 20 of 20 projects

Trix
TrixJavaScript

A WYSIWYG rich text editor for web applications that treats contenteditable as an I/O device to avoid browser inconsistencies.

#form-integration#web-components#custom-elements
Stars20.0k
Forks1.1k
Last commit3 days ago
js-xss
js-xssHTML

A JavaScript library that sanitizes untrusted HTML to prevent XSS attacks using a configurable whitelist.

#web-security#html-sanitization#input-validation
Stars5.3k
Forks635
Last commit2 months ago
SwiftSoup
SwiftSoupSwift

A pure Swift HTML parser with DOM, CSS, and jQuery-like methods for parsing, manipulating, and cleaning HTML across Apple platforms and Linux.

#dom-manipulation#parse#css-selectors
Stars5.1k
Forks398
Last commit1 day ago
sanitize-html
sanitize-htmlJavaScript

A fast HTML sanitizer that cleans user-submitted HTML while preserving whitelisted elements and attributes.

#user-input#web-security#html-sanitization
Stars4.1k
Forks373
Last commit4 months ago
HTML Purifier
HTML PurifierPHP

A standards-compliant HTML filtering library for PHP that removes malicious code while preserving safe markup.

#web-security#php-library#html-sanitization
Stars3.4k
Forks357
Last commit9 months ago
Purifier
PurifierPHP

A Laravel service provider for HTMLPurifier, enabling secure HTML filtering and XSS prevention.

#web-security#laravel#htmlpurifier
Stars2.0k
Forks241
Last commit1 month ago
HtmlSanitizer
HtmlSanitizerC#

A .NET library for cleaning HTML fragments and documents to prevent XSS attacks using a robust HTML parser.

#web-security#xss#sanitizer
Stars1.7k
Forks227
Last commit1 day ago
striptags
striptagsTypeScript

A TypeScript implementation of PHP's strip_tags for safely removing HTML tags from strings.

#strip-tags#xss#html-sanitization
Stars492
Forks51
Last commit3 years ago
Symfony HTML Sanitizer
Symfony HTML SanitizerPHP

An object-oriented PHP library for sanitizing untrusted HTML input to prevent XSS and other injection attacks.

#web-security#dom-sanitization#sanitizer
Stars281
Forks13
Last commit27 days ago
react-native-html-webview
react-native-html-webviewObjective-C

A React Native component that displays HTML in a UIWebView with optional sanitization and auto-height adjustment.

#ios#html-sanitization#webview
Stars107
Forks20
Last commit10 years ago
react-native-web-container
react-native-web-containerJavaScript

A React Native WebView wrapper that automatically adjusts height and sanitizes HTML content.

#html-sanitization#webview#security
Stars46
Forks12
Last commit9 years ago
vue-safe-html
vue-safe-htmlJavaScript

A Vue directive that renders sanitized HTML by stripping unwanted tags and attributes.

#frontend-security#html-sanitization#dynamic-content
Stars33
Forks6
Last commit4 days ago
curtail
curtailElixir

An Elixir library for safely truncating HTML strings while preserving tag structure.

#content-preview#elixir#html-sanitization
Stars31
Forks4
Last commit9 months ago
phoenix_html_sanitizer
phoenix_html_sanitizerElixir

A Phoenix library for sanitizing HTML user input by stripping or allowing specific tags and attributes.

#user-input#elixir#web-security
Stars27
Forks12
Last commit1 year ago
cl-feedparser
cl-feedparserCommon Lisp

A Common Lisp feed parser that sanitizes HTML content and provides a Python feedparser-like API.

#library#rss#atom
Stars26
Forks0
Last commit3 years ago
ng-dompurify
ng-dompurifyTypeScript

Angular sanitizer and pipe that uses DOMPurify for secure HTML sanitization with full configuration support.

#angular-pipe#angular-sanitizer#web-security
Stars12
Forks0
Last commit4 days ago
cl-sanitize-html
cl-sanitize-htmlCommon Lisp

A Common Lisp library for OWASP-style HTML sanitization to safely render untrusted content like user-generated HTML or emails.

#owasp#web-security#user-generated-content
Stars10
Forks2
Last commit17 days ago
Sanitize HTML
Sanitize HTMLTypeScript

A Directus extension that sanitizes HTML inputs using the sanitize-html package to prevent XSS attacks.

#content-management#html-sanitization#npm-package
Stars7
Forks4
Last commit3 years ago
HTMLPurifierBundle
HTMLPurifierBundlePHP

Symfony bundle that integrates HTMLPurifier for filtering and sanitizing HTML content in Symfony applications.

#htmlpurifier#html-sanitization#xss-protection
Stars4
Forks0
Last commit14 years ago
mark-down
mark-downTypeScript

A framework-agnostic snippet engine that indexes Markdown at build time and renders HTML at runtime with optional sanitization.

#content-management#html-sanitization#cli-tool
Stars0
Forks0
Last commit3 months ago

Related Tags

#Security10#Xss Prevention9#Web Security9#Input Validation5#Html4#Xss Protection4#Security Library3#Php3#Content Filtering3
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub