HTML Entity DecoderDecode HTML entities back to their original characters.

HTML Entity Decoder
Decode HTML entities back to their original characters.
Paste Encoded Text
Paste text containing HTML entities.
Auto-Decode
HTML entities are converted back to characters.
Copy Result
Copy the decoded text.
What Is HTML Entity Decoder?
The HTML Entity Decoder converts HTML entities back to their original characters. It handles named entities like & (→ &), < (→ <), > (→ >), and many more, as well as decimal numeric entities (&) and hexadecimal numeric entities (&). This is useful when working with HTML source code, scraping web content, or converting encoded text back to readable form. The decoder supports all common named entities plus any decimal or hexadecimal numeric entity.
Why Use Our HTML Entity Decoder?
- Convert scraped HTML content to readable text
- Decode entities found in HTML source code
- Restore original characters from encoded content
- Process HTML data for non-HTML contexts
Common Use Cases
Web Scraping
Decode HTML entities in scraped content to get readable text.
Data Processing
Convert HTML-encoded data back to plain text for analysis.
Content Migration
Decode entities when moving content from HTML to other formats.
Debugging
Inspect what characters HTML entities represent.
Technical Guide
The decoder works in three phases. First, it replaces common named entities using a lookup table covering &, <, >, ", , and symbol entities like ©, ™, €, etc. Second, it processes decimal numeric entities (&#NNN;) using String.fromCharCode(parseInt(code, 10)) to convert the decimal character code to its character. Third, it processes hexadecimal numeric entities (&#xHHH;) similarly with parseInt(code, 16). This covers the full range of HTML entity encoding methods. Named entities are processed first so that partially decoded text does not create false matches in the numeric entity phase.
Tips & Best Practices
- 1Handles both named (&) and numeric (&) entity formats
- 2Useful for cleaning up HTML source before text processing
- 3Supports currency, copyright, and special symbol entities
- 4Combine with HTML tag stripping for full text extraction
Related Tools

HTML Entity Encoder
Encode special characters as HTML entities for safe HTML insertion.

URL Decoder
Decode percent-encoded URL strings back to readable text.

HTML to Markdown
Convert HTML markup to clean Markdown syntax.

JSON Escape/Unescape
Escape text for JSON strings or unescape JSON string values.

Word Counter
Count words, unique words, characters, and see word frequency in any text.

Character Counter
Count characters with and without spaces, plus word, line, and paragraph counts.
Frequently Asked Questions
QWhat types of entities can it decode?
QDoes it handle all named entities?
QWill it strip HTML tags too?
QWhat is ?
QCan it handle double-encoded entities?
About HTML Entity Decoder
HTML Entity Decoder is a free online tool from FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration required. No ads. Just fast, reliable tools.







