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.
Quick answer
HTML Entity Encoder / Decoder is a free online tool that escape HTML special characters (< > & ' ") into safe entities, or decode HTML entities back to plain text. Supports named entities, decimal, and hex numeric refs.
- Cost: free, no signup or limits.
- Privacy: runs 100% in your browser; text is never uploaded.
- Works on: desktop and mobile browsers, offline once loaded.
- Category: Content Cleanup.
Common conversions
How to Use
- 1.Pick Encode (text → entities) or Decode (entities → text).
- 2.Paste your input.
- 3.Copy the escaped or decoded result.
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.