HTML Entity Decoder Online
Runs in your browserDecode HTML entities online for free, such as ampersand and less-than codes, back into readable characters. Decode all layers at once. Runs in your browser.
HTML Entity Decoding at a Glance
Entities come in named and numeric forms. The decoder understands both.
| Form | Example and result |
|---|---|
| Named | & becomes &, < becomes <, " becomes a double quote. |
| Decimal numeric | © becomes the copyright sign ©. |
| Hexadecimal numeric | € becomes the euro sign €. |
| Tags | Markup inside the text is shown as text, not rendered. <b> stays as the characters <b>. |
| Unknown names | A name the decoder does not know, such as &unknown;, is left as written. |
How to Use the HTML Entity Decoder Online
- Paste the escaped text
Copy the text with entity codes, such as <p> or ©, into the box.
- Press Decode HTML
Named and numeric entities are turned back into characters. The text is read as plain text, so tags in it are not created or run.
- Or press Decode all layers
The tool repeats the decoding while the text still changes, up to 12 layers, which undoes double escaping.
- Copy or download
Copy the decoded text, or download it as a text file. Undo returns to the escaped version.
When to Decode HTML Entities
You will meet entities in exported web content, database dumps, RSS feeds, email HTML and page sources. Decoding them makes the text readable again, for example to check a title or to copy a code sample out of a page source.
Decode all layers helps when a value was escaped twice, which shows up as visible codes such as < on a page. The tool stops when the text no longer changes, so ordinary text with an ampersand is not damaged.
Decoded text is plain text. If it contains markup, you will see the markup characters, not a rendered page. To display markup as a sample, encode it again with the HTML entity encoder.
Things to Know
Privacy
Decoding runs entirely in your browser. The text you paste is never uploaded, logged or stored.
Frequently Asked Questions
How do I decode HTML entities online?
Paste the escaped text into the box and press Decode HTML. Entities such as & become their characters.
Does it handle numeric entities?
Yes. Decimal entities such as © and hexadecimal entities such as € are both decoded.
What does Decode all layers do?
It decodes repeatedly while the text keeps changing, up to 12 layers, which undoes text that was escaped more than once.
Will the tool run the HTML in my text?
No. The text is read as characters, so tags and scripts are shown as text and never run.
What happens to an entity it does not recognize?
It is left exactly as written, so you can see what needs fixing.
Is my text sent to a server?
No. Decoding runs in your browser, and nothing you paste is uploaded or stored.