HTML Decode String

Decode HTML entities back to their original characters. Supports 200+ named entities plus numeric codes.

Decoded text will appear here

Decode HTML Entities Instantly

Convert HTML entities like &, <, € back to their original characters. Perfect for cleaning up web content, parsing HTML, or working with escaped text.

200+ Entities

Entity Categories Supported

Common Entities

& < > " '  

Currency Symbols

€ £ ¥ ¢ ¤

π

Math & Greek

α β γ π ∑ √ ≠ ≤ ∞

Arrows

← ↑ → ↓ ↔ ⇐ ⇒

©

Legal Symbols

© ® ™ § ¶

é

Accented Letters

à é î ô ü ñ ç

How this HTML Decode String works

This text processing utility converts HTML entities back to their original character representations, handling over 200 named entities plus numeric character references. The decoder processes common entities like &amp; &lt; &gt; alongside currency symbols (&euro; &pound;), mathematical operators (&plusmn; &times;), Greek letters (&alpha; &omega;), diacritical marks (&eacute; &ntilde;), and special punctuation (&mdash; &hellip;).

Named entity decoding maps standard HTML entity names to Unicode characters using a comprehensive lookup table covering W3C specifications. Numeric entities support both decimal (&#60;) and hexadecimal (&#x3C;) formats through pattern matching that extracts code points and converts them to characters via String.fromCodePoint(). The bidirectional interface toggles between decode mode (entities to characters) and encode mode (characters to entities) for flexible text processing.

Real-time conversion updates output as you type, with statistics showing character counts and entity detection. Common applications include cleaning web-scraped content, parsing escaped HTML for display, processing API responses containing encoded characters, and preparing text for systems that don't support raw Unicode. All processing executes client-side ensuring complete privacy for sensitive content manipulation.

How to Use

1

Paste Encoded Text

Enter text containing HTML entities like &amp;, &lt;, etc.

2

Auto-Decode

Text is decoded in real-time as you type.

3

Copy Result

Copy the decoded plain text to your clipboard.

Example Usage

HTML entity decoding:

Input
&lt;p&gt;Hello &amp; Welcome&lt;/p&gt;
Output
<p>Hello & Welcome</p>

Frequently Asked Questions

What are HTML entities?
HTML entities are special codes used to represent reserved characters (<, >, &) and special symbols (©, €, ™) in HTML. They start with & and end with ; like &amp; for &.
What entities are supported?
Over 200 entities including common ones (&amp; &lt; &gt;), currency (€ £ ¥), math symbols (± × ÷ √), Greek letters (α β γ), arrows (← → ↑ ↓), and more.
Can I encode text too?
Yes! Toggle the mode to "Encode" to convert special characters back to HTML entities.
Does it handle numeric entities?
Yes, both decimal (&#60;) and hexadecimal (&#x3C;) numeric entities are decoded.

Related Tools

The HTML Decode String is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.