HTML-decode Text
Decode HTML entity strings, hex entities (&#x...), and decimal entities into human-readable plain text characters.
Step-by-Step Instructions
Paste HTML Entity String
Paste text containing HTML named entities (e.g., `&`, `"`) or numeric entities (`<`, `<`).
Select Decoding Options
Choose whether to decode standard entities or resolve all Unicode numeric character references.
View Instant Plaintext Output
Examine decoded clean plaintext rendered in real time.
Copy Decoded Text
Copy the restored plaintext string with 1 click.
Key Features & Capabilities
- Decodes all W3C HTML5 named entities (over 2,000+ standard entity names)
- Decodes Decimal (`&#NNN;`) and Hexadecimal (`&#xHH;`) numeric character references
- Restores unescaped text from web scraper exports, XML feeds, and database dumps
- 100% client-side memory decoding with zero server transmission
Frequently Asked Questions
How does HTML entity decoding work?
HTML entity decoding parses named character references (like `©` or `—`) and numeric character references (like `©` or `—`) and replaces them with their corresponding native UTF-8 plaintext characters (`©` and `—`).
Why do web scrapers frequently return text with '&' and '"'?
Web scrapers extract raw HTML source code where authors or CMS systems previously encoded special characters for browser display. Running web scraping output through an HTML decoder converts entities back into clean, readable text suitable for NLP datasets, AI models, and database storage.
Does the decoder support double-encoded HTML entities (e.g., &amp;)?
If text has been accidentally encoded multiple times (e.g., `&lt;` instead of `<`), our tool can perform recursive decoding passes to resolve multi-layer entity nesting back to the original plaintext character.
How does the decoder handle unknown or malformed HTML entities?
Unrecognized entities or malformed strings without a trailing semicolon are preserved as literal text without throwing parser exceptions, ensuring data integrity.
Related Utilities
Discover complementary online tools in the same workflow.
JSON Formatter & Validator
Format, beautify, minify, validate, and view JSON data online with instant syntax highlighting and error detection.
Base64 Encoder & Decoder
Encode text or binary data into Base64 format or decode Base64 back into raw string format.
CSV to JSON Converter
Easily convert CSV data to clean JSON format. Turn tabular spreadsheets into structured JSON.
YAML to JSON Converter
Convert YAML configuration files into structured JSON for APIs and modern web tooling.
JWT Parser & Token Debugger
Decode JWT tokens to view header, payload claims, and expiration status without sending secrets anywhere.
Hash Generator (SHA-256, SHA-512, MD5)
Generate cryptographically secure SHA-256, SHA-512, SHA-384, and SHA-1 hashes for any text.