HTML Entity Decoder
Paste escaped HTML or text full of entities and get readable characters back. Named, decimal and hexadecimal references are all decoded, including the full HTML5 set of more than 2,000 names. Decoding uses the browser’s text parser in a way that never creates elements or runs scripts.
How to use the HTML Entity Decoder
- Paste text that contains HTML entities.
- Read the decoded text in the output box.
- Copy it or download it as a text file.
Features
- Decodes named, decimal and hex character references
- Supports every HTML5 named entity
- Counts the entities found
- Safe decoding that never executes markup
Benefits
- Clean up scraped or exported content full of & and "
- Read escaped HTML from logs, databases and APIs
- Works offline in your browser
Frequently asked questions
Will decoded HTML tags be rendered or run?
No. The result is shown as plain text, so <script> or other tags in the decoded output are displayed, not executed.
What happens to unknown entities?
Unknown names such as &foo; are left unchanged, just as a browser would display them.
Why did &lt; only decode once?
Each run decodes one level, so &lt; becomes <. Decode again if the text was escaped twice.
Related tools
- QR Code Generator — Create QR codes for links, text, Wi-Fi, email, phone, SMS or contact cards, with custom colours, and download PNG or SVG.
- CSS Gradient Generator — Design linear, radial and conic CSS gradients with draggable colour stops and a live preview, then copy the CSS.
- URL Decoder — Decode percent-encoded URLs and query strings, handle + as space, unwrap double encoding and spot malformed sequences.
- URL Encoder — Percent-encode text or URLs in component, full-URL or form mode, and break any URL into its parts and query parameters.
- HTML Entity Encoder — Escape &, <, >, quotes or every non-ASCII character as named, decimal or hex HTML entities for safe display in HTML.
- Percentage Calculator — Work out X% of Y, what percent one number is of another, percentage change, or increase and decrease a value by a percent.