HTML Unescape - Decode HTML Entities Online
Decode HTML entities like &, <, >, " back to their original character forms.
<
→
<
>
→
>
&
→
&
"
→
"
How to convert HTML entities back to text
Paste text containing named entities such as & or numeric references such as &. The unescape tool converts recognised entities to their character values, making exported markup, logs, feed data, and encoded snippets easier to read or process.
Unescaping is not sanitisation. If decoded text will be placed into a web page, treat it as untrusted input and apply the output encoding or sanitisation appropriate to that exact HTML, attribute, URL, CSS, or JavaScript context. To display markup as literal text, use the HTML escape tool. If the source contains percent sequences such as %20 rather than HTML entities, inspect it with the URL decoder instead.
Recover readable text
Turn named and numeric character references into the characters intended by an export, feed, log, or code sample.
Spot double escaping
If one pass still leaves entity text, inspect the source pipeline before deciding whether another decode is correct.
Keep output untrusted
Recovered angle brackets and quotes can become active syntax if inserted into HTML without the right next-step protection.
Checks to make after unescaping HTML entities
The character you recover may have a different role in HTML, an attribute, a URL, or JavaScript. Decide what happens next before reusing it.
| Entity input | Recovered character | Why it matters |
|---|---|---|
| & | & | Could begin another entity if the source was escaped more than once |
| < | < | Could open an HTML tag when inserted as markup |
| > | > | Could complete tag syntax that was previously displayed as text |
| " | " | Could close a double-quoted attribute value |
| ' | ' | Could close a single-quoted attribute value |
Related developer tools
Understand why an input passes or fails
These maintained explanations cover the behavior, limits, and decisions that the interactive result alone cannot show.