HTML Entity Encoder & Decoder
Switch special characters to and from HTML entities like &, < and ©, with an option to encode every non-ASCII character. It runs in your browser and treats everything as text — decoded content is never rendered as live HTML.
- 100% free
- Private & safe
- Runs in your browser
Why use HTML Entity Encoder and Decoder?
HTML Entity Encoder and Decoder is a quick, no-nonsense developer utility that runs entirely client-side, so your code and data never leave your machine.
- Runs instantly in your browser — nothing to install, nothing uploaded.
- Completely free, with no account, no watermarks and no usage limits.
- Handles Named entities (& < > " '); Numeric entities (©).
- Choose Encode or Decode.
- Works on any device — desktop, tablet and phone — and is fully keyboard accessible.
How to use HTML Entity Encoder and Decoder
- Choose Encode or Decode.
- Paste your text or entity-encoded content.
- Optionally encode all non-ASCII characters as numeric entities.
- Swap, copy, or reset as needed.
Examples
- Encoding '<a>Tom & Jerry</a>' for safe display in HTML.
- Decoding '&copy;' back to readable text.
Supported formats & limits
- Named entities (& < > " ')
- Numeric entities (©)
Limitations
- Decoded output is shown as text and never rendered as live HTML.
- Only common named entities are decoded; numeric entities are fully supported.
Frequently asked questions
Is decoded HTML rendered?
No. For safety, decoded content is always shown as plain text.
What does 'encode all non-ASCII' do?
It converts characters above ASCII to numeric entities like é for é.
Is anything uploaded?
No — encoding and decoding are local to your browser.
Was this tool helpful?
Related tools
URL Encoder and DecoderEncode and decode URLs and URL components with clear examples.Base64 Encoder and DecoderEncode and decode text or files to and from Base64, UTF-8 safe.Markdown to HTMLConvert Markdown into clean, sanitized HTML.JSON FormatterFormat, validate and minify JSON with error locations and highlighting.