What is HTML Entity Escape?
Five characters have special meaning in HTML — & < > " ' — and must be written as entities when they appear in content. This tool escapes them in the correct order (ampersand first) and unescapes named, decimal (—) and hex (—) entities back to plain text.
Lone ampersands are left untouched on decode, so normal prose like "AT&T" never gets mangled. Everything is computed locally in your browser.
Frequently asked questions
Why must & be escaped first?
The ampersand starts every entity. If you escape other characters first, the & in their entity names would be escaped again, producing &lt; double-encoding.
What are numeric entities like 😀?
They address characters directly by Unicode code point — the only way to write emoji and rare scripts in environments that only accept ASCII.
Does unescaping execute any HTML?
No. The decoded result is displayed as plain text. Even a decoded <script> tag is not executed.