HTML unescape
EncodeExperimentalLimited support. Verify anything critical.
HTML unescape converts the five core structural entities — &, <, >, ", and ' — back to literal text in a single pass that decodes specific entities before the ampersand. Other named entities are left unchanged. It is narrower than a full HTML parser.
This tool processes text on your device. The text is not uploaded.
Steps
Paste the entity-encoded string
Run locally
Use the plain text carefully
How to use HTML unescape
Order matters
Decoding & before < would turn &lt; into <. This tool decodes the specific entities first, then the ampersand entity.
Scope
Entities such as or © are left as-is. Use a full HTML parser when you need the entire named-entity set.
How it works
- Enter what you haveType or pick your text. Nothing is submitted anywhere.
- It runs in this tabThe calculation happens on your device, using your browser's own data.
- Take the resultRead the text, then copy or download.
Reimplemented locally. Not derived from IT-Tools source.
- Basis
- independent
- Licence
- MIT
- Last reviewed
Frequently asked questions
In what order are HTML entities decoded?
Specific entities (<, >, ", ') are decoded before the ampersand entity (&). This prevents accidental double-decoding where '&lt;' might improperly resolve to '<' in a single pass.
Are all 2,000+ HTML5 named entities supported?
This tool specifically targets the five core structural entities (&, <, >, ", ') used for safe HTML text emission.
Can unescaping untrusted HTML introduce XSS into my application?
Yes. If you unescape user-generated HTML entities and inject the resulting raw string into a DOM element (e.g. via innerHTML), malicious scripts can execute. Unescape only when rendering in safe plain-text contexts.