Convert HTML entities and numeric character references back into readable plain text. Supports Named, Decimal, Hexadecimal, and multi-pass recursive decoding with instant live preview.
Convert HTML entities (like &, <, >, ", ©, €) back into plain characters. Supports multi-pass recursive decoding to resolve double-encoded strings safely.
Follow these simple steps to unescape and convert encoded HTML character entities back into plain, human-readable text:
Paste your text containing HTML entity references (such as &, <, ©, €) into the left input textarea. You can also upload a .txt or .html file.
Choose between standard 1 Pass or multi-pass / Full Recursive mode if your text was accidentally double-encoded (e.g. &lt; → < → <).
Select whether to decode all entities, special HTML characters only, named entities only, or numeric character references (decimal and hex).
Choose whether non-breaking spaces ( ) become standard spaces, or convert embedded <br> tags into line breaks.
Review the decoded plain text in real time. The statistics grid displays exact character contraction, tokens converted, and total passes executed.
Click Copy Result to paste decoded text directly into your editor, code repository, or word processor, or download as a .txt file.
The following reference table demonstrates how encoded entities across different formats translate back into plain text characters:
| Encoded Entity Input | Entity Category | Decoded Char | Unicode Code Point | Description & Meaning |
|---|---|---|---|---|
& or & or & |
Special HTML | & | U+0026 | Ampersand symbol |
< or < or < |
Special HTML | < | U+003C | Less-than opening angle bracket |
> or > or > |
Special HTML | > | U+003E | Greater-than closing angle bracket |
" or " or " |
Special HTML | " | U+0022 | Double quotation mark |
' or ' or ' |
Special HTML | ' | U+0027 | Single quotation mark / apostrophe |
© or © or © |
Named / Numeric | © | U+00A9 | Copyright symbol |
® or ® or ® |
Named / Numeric | ® | U+00AE | Registered trademark sign |
™ or ™ or ™ |
Named / Numeric | ™ | U+2122 | Trademark symbol |
€ or € or € |
Currency | € | U+20AC | Euro currency sign |
£ or £ or £ |
Currency | £ | U+00A3 | Pound sterling currency sign |
— or — or — |
Typography | — | U+2014 | Em dash punctuation mark |
😀 or 😀 |
Astral Emoji | 😀 | U+1F600 | Grinning face emoji (supplementary plane) |
<textarea> element. The PacesTools HTML Decoder never executes decoded markup, scripts, or styles in the browser. You can safely inspect, edit, and copy malicious HTML payloads or broken script tags without triggering script execution or compromising your browser session.
When content passes through multiple CMS layers or database sanitizers, ampersands often get re-encoded:
&lt;div&gt; (Double-encoded)<div><div> (Final clean markup)Remember that decoding converts entity tags back into raw characters. If you intend to render decoded output into a web application, ensure your application sanitizes or escapes the text appropriately for its destination context to prevent Cross-Site Scripting (XSS).
The PacesTools HTML Decoder executes entirely in your local web browser using client-side JavaScript. Your confidential source code, database dumps, proprietary HTML templates, and personal customer data are never transmitted over the network, stored in remote databases, or logged on any server.
All Unicode code point calculations, regex token replacements, named entity dictionary mappings, and text file downloads run directly on your device's CPU. The tool is 100% functional offline.
String.fromCodePoint)Everything you need to know about HTML entity decoding, numeric references, and unescaping rules:
<, >, and ") back into their literal characters (such as <, >, and "). It transforms machine-encoded HTML markup back into human-readable text or raw source code.
&) and end with a semicolon (;). They are used in HTML documents to display characters that would otherwise conflict with HTML syntax or that are absent from standard keyboard layouts.
© or €. Numeric character references use the character's exact Unicode code point in decimal (e.g. ©) or hexadecimal (e.g. ©). Our decoder seamlessly decodes both types in a single operation.
< for <) and hexadecimal references (e.g. < or < for <). Hexadecimal digit casing is handled case-insensitively according to W3C standards.
String.fromCodePoint() standard, ensuring that astral Unicode code points (such as emojis like 😀 / 😀) are decoded as complete characters without corrupting surrogate pairs.
&unknownentity;, &#;, or &#xyz;) are preserved as literal text. This ensures that normal ampersands in prose or unencoded symbols are never erased or corrupted. You can also configure the tool to strip unrecognized entities if desired.
&lt;div&gt;). In our tool, simply select "2 Passes" or "Full Recursive" from the Decoding Depth dropdown to automatically unwrap multiple layers of encoding in one click.
<textarea> element. Even if the decoded content contains <script> tags or HTML attributes like onload, the browser treats it purely as inert character data.
Streamline your development, formatting, and encoding workflows with other free utilities on PacesTools: