HTML Entity Decoder
Decode HTML entities to plain text online — unescape <, >, &, " and all named entities instantly in your browser.
Updated April 2026
How it works
Three steps, no sign-up
1. Paste the encoded text
Any string with `<`, `&`, `"`, `©`, or numeric references like `<`.
2. Watch it decode instantly
The original text appears right away — there's no button to click.
3. Copy the result
Click Copy or press Shift+Enter to grab the decoded text.
What this HTML entity decoder handles
All three entity formats, fully supported
Named entities
Every HTML5 named entity (© → ©, € → €, → a non-breaking space).
Decimal numeric references
References like < decode to <.
Hexadecimal numeric references
References like < decode to <.
Safe against XSS
Uses DOMParser and reads only textContent — never innerHTML — so embedded scripts never execute.
Examples
When you'll reach for this
The scenarios that come up most often
Debug an API response
Payloads that originated from HTML forms sometimes come back with entity-encoded strings.
Read a CMS export
WordPress, Drupal, and other CMSs store special characters as entities inside XML and CSV exports.
Inspect a raw HTML email
Raw MIME source of HTML emails is full of entities — decoding it reveals the actual message text.
Reverse-engineer scraped HTML
Content copied from a DOM inspector or pulled by a scraper usually comes out entity-encoded.
Validate a round trip
Encode, decode, then compare — a quick way to confirm your encoding logic isn't silently losing data.
Output not what you expected? Start here
Double encoding
&lt; decodes to <, not < — run the tool a second time on the result to strip the extra layer.
Confusing it with URL decoding
Entities use &name; syntax; percent-encoding uses %XX. They're different schemes — use the matching tool for each.
Why decode here
Everything runs in your browser through the native DOMParser — no text you paste ever leaves your device.
Unlike a hand-rolled regex, DOMParser fully covers the hundreds of HTML5 named entities plus both numeric formats — and it never executes embedded script, even when a decoded <script> tag shows up in the middle of your text.
Frequently asked questions
All named HTML5 entities ( , ©, €, —, and hundreds more), decimal references (<), and hexadecimal references (<) — all handled by the browser's native DOMParser.
References
Related Tools
- HTML Entity Encoder Developer Encode text to HTML entities online — escape special characters like <, >, &, and " instantly in your browser. No install needed.
- Base64 Decoder Developer Free online Base64 decoder — decode Base64 strings back to plain text instantly in your browser. Validates input and shows decoded payload size.
- Base64 to Image Developer Paste a Base64 string or data URL and instantly preview the decoded image — free online converter supporting PNG, JPEG, WebP, GIF, SVG. No upload, runs locally.
- URL Decoder Developer Decode any percent-encoded URL or string back to plain text instantly in your browser. Follows RFC 3986. Free, no sign-up required.
- Base64 Encoder Developer Encode any text or string to Base64 instantly in your browser. Supports UTF-8, shows character count and output payload size. Free, no signup, 100% client-side.