Free Online HTML Entity Decoder
Decode HTML entities back to their original characters.
How to use
Paste the text that contains entities, or open a file into the input box.
Press Decode.
Copy the clean text, or download it as html-decoded.txt.
If entities remain because the text was encoded twice, decode the result again.
Why use this tool
Numeric entities
Decimal and hexadecimal references are decoded for any valid Unicode code point.
Common named entities
The ampersand, less-than, greater-than, quote and apostrophe entities are decoded.
Text only
The result is shown as plain text. Tags and scripts in it are not run.
About this tool
HTML Entity Decoder turns HTML entities back into normal characters, which helps when you clean up text copied from page source, a feed, an export or a database. It decodes the named entities &, <, >, " and ', plus numeric entities written in decimal (such as ©) or hexadecimal (such as 🚀). Numeric entities can stand for any Unicode character, including emoji. Other named entities are left as they are. The page opens with an example already decoded.
Frequently asked questions
No. Only amp, lt, gt, quot and apos are decoded by name. Others, such as nbsp, copy or eacute, stay unchanged. Their numeric forms are decoded.
Yes. A reference such as A becomes the letter A.
It is left in the output exactly as it was, so nothing is lost.
Each press decodes one layer. &lt; first becomes <, and a second pass turns it into a less-than sign.
Blank space at the very start and end of the input is removed. The rest of the text is kept.