HTML entity encoder, decoder & tag stripper
Safely escape special HTML characters (&, <, >, quotes), decode numeric and named HTML entities, or strip HTML markup into readable plain text.
<p class="note">Price & Tax: €49.00 — "Zero clutter"</p>
Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.
Report a problem with this toolSafe text sanitization
No live DOM execution: Decodes entities and strips script/style tags via deterministic string parsing without executing embedded HTML.
Frequently asked questions
- When should I enable non-ASCII numeric encoding?
- Enable it when preparing legacy ISO-8859-1 or ASCII-only email HTML templates so currency symbols and dashes stay intact.
- Does stripping tags preserve paragraph breaks?
- Yes—closing block tags and <br> elements map to clean newlines rather than mashing sentences together.
Related tools
Browse all toolsText & writing
Markdown <-> HTML converter
Convert Markdown to sanitized semantic HTML or strip safe HTML markup back into clean Markdown locally.
Developer tools
URL encoder & decoder
Safely encode and decode URL query components or full web addresses with form-space (+) handling.
Text & writing
Unicode & invisible char inspector
Inspect UTF-8 hex bytes, U+XXXX code points, and NFC/NFD normalization while stripping hidden zero-width characters.