HTML entities encoder. Escape safely, decode instantly.
Escape text to HTML entities or turn named, decimal and hex entities back into readable characters — processed entirely in your browser, nothing uploaded.
A free online tool by Digital HeroesText never leaves your browser — encoding and decoding run entirely on your device.
Common entities
Click any code to copy it.
| Char | Named | Numeric | Description |
|---|
Entities, without the lookup tab
HTML entities let you show characters the browser would otherwise treat as markup — < instead of a raw <, for example. Paste text and this tool escapes the five special HTML characters, or every non-ASCII character if you need maximum compatibility, choosing readable named entities like © or compact numeric ones. Flip to Decode and it turns named, decimal and hex entities back into plain characters — including emoji and other astral-plane code points. Swap the result back in with one click to round-trip and verify. No account, nothing uploaded, free forever.
Everything an encoder should do.
- Encode special characters —
&,<,>,"and'— to safe HTML entity form. - Encode all non-ASCII characters (accented letters, symbols, emoji) to numeric entities for maximum compatibility.
- Decode HTML entities — named (
©), decimal (©) and hex (©) — back to plain text. - Swap encode and decode in one click to round-trip your content and verify correctness.
- Choose named or numeric output: human-readable named entities like
&, or compact numeric ones. - Copy anything instantly — the result, or any code in the common-entities reference table with a single click.
Five steps, no manual.
- Choose Encode or Decode with the toggle at the top.
- Paste or type your text into the left panel — the result appears instantly on the right.
- In encode mode, pick special characters only or all non-ASCII, and tick Prefer named entities for readable output.
- Hit Copy to grab the result, or click any code in the reference table to copy a single entity.
- Use Swap to feed the result back as input and round-trip your text for verification.
Frequently asked questions.
Is the HTML Entities Encoder free?
Is it private? Is my text uploaded anywhere?
What is the difference between named and numeric entities?
Which characters should I always escape in HTML?
Does it work offline?
Published · Last updated .