HTML Entity Decoder
Convert HTML entities back into readable text — named, decimal and hexadecimal.
● Your files are processed locally in your browser and are not uploaded to our servers.
How to decode HTML entities
- Paste your text, or open a file.
- Click Decode: every entity is turned into its character.
- Copy or download the result. For double-encoded text, click Use output as input and decode again.
Example: Tom & Jerry <3 "café" → Tom & Jerry <3 "café".
Common HTML entities
| Entity | Number | Character |
|---|---|---|
& | & | & |
< / > | < / > | < / > |
" | " | " |
' | ' or ' | ' |
|   | non-breaking space |
© | © | © |
é | é | é |
€ | € or € | € |
— | — | — |
All 2,000+ named entities of HTML5 are supported, as well as any decimal (é) or hexadecimal (é) code.
Where do encoded entities come from?
- Data exported from a CMS or a database that stored text already escaped.
- API and RSS responses where titles contain
&or'. - Web scraping: the page source shows entities instead of characters.
- Double encoding: text escaped twice shows up as
&amp;on screen — a common bug when a template escapes text that was already escaped.
Is decoding safe?
Decoding is done with the browser's own HTML parser, in an inert document where nothing can execute — so pasting suspicious HTML here is harmless. But be careful where you use the result: decoded text can contain real <script> tags, so encode it again before inserting it into a web page.
FAQ
How do I encode text into entities?
Use the HTML Entity Encoder.
Is it the same as URL decoding?
No. URLs use percent-encoding (%20 for a space): see the URL Decoder. For é escapes, use the Unicode Decoder.
In code?
Python: html.unescape(s). PHP: html_entity_decode($s). JavaScript: parse with DOMParser and read textContent.