HTML Unescape

Unescape HTML strings back to plain text.

Local Your input is processed locally in your browser. Found a problem? Report an issue

What HTML Unescape does

HTML Unescape turns HTML character references back into characters: the named references from the HTML standard (more than 2,000, such as  , é and ♥), and decimal and hex references such as é and 😀.

The decoding is done by your browser's own HTML parser, in a text-only context, so the rules are exactly a browser's and no tag in the input is ever created or run.

HTML Unescape examples

The built-in sample

Input

say "hello" & <b>bye</b>

Output

say "hello" & <b>bye</b>

This is the input that the Load sample button fills in.

Named and numeric references

Input

caf&eacute; &amp; cr&#232;me &hearts; &#x1F600; &lt;b&gt;

Output

café & crème ♥ 😀 <b>

All three kinds of reference are decoded. &lt;b&gt; becomes the text <b>, not bold formatting.

References without a semicolon

Input

AT&T &copy 2026 &unknown;

Output

AT&T © 2026 &unknown;

Browsers decode a few old names without a semicolon (&copy) and leave unknown references and a bare & as written.

Each output was produced by running this tool on the input above it.

How it works

Every reference the HTML standard defines is replaced by its character. Text that is not a valid reference is left as it is, the same way a browser displays it.

Details and limits

  • HTML references that XML does not define (such as &nbsp;) are decoded here. To check text against XML's stricter rules, use XML Unescape.

Questions

Is my data uploaded when I use HTML Unescape?

No. The tool runs in your browser, so what you paste or open is processed on your own device and is not sent to a server.

What does HTML Unescape do?

HTML Unescape turns HTML character references back into characters: the named references from the HTML standard (more than 2,000, such as &nbsp;, &eacute; and &hearts;), and decimal and hex references such as &#233; and &#x1F600;.

How does HTML Unescape work?

Every reference the HTML standard defines is replaced by its character. Text that is not a valid reference is left as it is, the same way a browser displays it.

Are there any limits I should know about?

HTML references that XML does not define (such as &nbsp;) are decoded here. To check text against XML's stricter rules, use XML Unescape.

Is there a size limit?

There is no fixed size limit. Everything happens on your device, so very large inputs depend on its memory and can take longer on a phone than on a computer.

Does it work on phones, and is it free?

Yes. It works in any current browser on Android phones, iPhones, tablets and computers. It is free and needs no account or sign-up.