HTML Decoder
Unescape HTML entities.
About this tool
Paste text containing HTML entities and get plain characters back. It decodes the common five entities plus decimal (©) and hex (©) numeric references. Other named entities, such as © or , are not converted.
How to use
How it works
The tool replaces &, <, >, ", ' and ' with their characters, then converts &#NNN; and &#xHH; numeric references to the matching character. Since & is decoded first, double-escaped input such as &lt; ends up fully decoded as <.
Worked example
Mixed entities
- Input
- <p class="a">Tom & Jerry's © ©</p>
- Output
- <p class="a">Tom & Jerry's © ©</p>
- Walkthrough
- © becomes © because numeric references are supported, but the named © is left as typed.
Limitations
- Named entities beyond the five ( , ©, é, € and so on) are not decoded; use the numeric form.
- Double-escaped text is decoded in one pass, so &lt; becomes < rather than <.
Questions
How do I decode HTML entities?
Why is not decoded?
Does it decode ’?
Is it safe to paste the result into a page?
Features
- Decimal and hex references
- Five common named entities
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Inspect Network Activity - Chrome DevTools 101
Chrome for Developers
Debugging payloads you paste into JSON and JWT tools.
Watch on YouTubeLearn JSON - Full Crash Course for Beginners
freeCodeCamp.org
Encoded blobs often wrap JSON payloads in transit.
Watch on YouTube
- Introduction to JSON Web Tokens
jwt.io
JWT structure for decoder and debugger pages.
- MDN Web Docs
MDN
Primary reference for web APIs these developer tools touch.