Content Cleanup
HTML Entity Encoder & Decoder: Convert Special Characters Safely
Escape HTML special characters (< > & ' ") into safe entities, or decode HTML entities back to plain text. Supports named entities, decimal, and hex numeric refs.
Runs in your browser — your text is never uploaded or stored.
Result
How to Use
- 1.Pick Encode (text → entities) or Decode (entities → text).
- 2.Paste your input.
- 3.Copy the escaped or decoded result.
Advertisement
FAQ
Which entities does it support?
Basic mode escapes the five HTML-critical characters. Full mode escapes every non-ASCII character to numeric entities. Decoding supports named entities and numeric ({, ) references.
When should I use full-encode mode?
Use it when you need every non-ASCII character encoded — e.g. for XML feeds or environments that don't reliably handle UTF-8.
Is my text uploaded?
No — all encoding and decoding happens locally in your browser.
Related tools
HTML Stripper
Free online HTML stripper. Paste raw HTML and get clean plain text with all tags removed. 100% private, browser-based.
URL Encode / Decode
Free online URL encoder and decoder. Percent-encode any string for safe use in URLs or decode %-encoded text back to plain characters. 100% browser-based.
Base64 Encode/Decode
Encode text to Base64 or decode a Base64 string back to text. UTF-8 safe, free, and runs 100% in your browser.
Find and Replace
Find and replace text in your browser with match-case, whole-word and replace-all options. Free, private and instant.