HTML Sanitizer

Remove inline styles, span tags, u tags, meta tags, empty p tags, and   entities from your HTML

Input HTML
Paste your HTML code here to sanitize
Sanitized HTML
Clean HTML without styles, spans, u tags, meta tags, empty p tags, and   entities
Sanitization Features

Removes Inline Styles

Strips all style="" attributes from HTML elements

Removes Span & U Tags

Removes <span> and <u> tags while preserving their content

Removes Meta Tags

Completely removes <meta> tags from the HTML

Preserves Link Attributes

Keeps href and target attributes for <a> tags

Removes Empty P Tags

Removes empty <p></p> tags after sanitization

Built with v0