HTML Entity Decoding: Converting Named and Numeric Entities to Plain Text
Scraped web content, RSS feeds, database records, and legacy CMS exports often contain escaped entities like &, ", é, or ’. Reading, cleaning, or re-indexing this text requires resolving entities back into their true Unicode character representations. WebTorq HTML Entity Decoder provides instant client-side resolution of named, decimal, and hexadecimal entities.
Supported Entity Types and Character Formats
The decoding engine parses all standard HTML5 entity variants:
- Standard Named References: Converts names such as
<to<,>to>,&to&, and to non-breaking spaces. - Decimal Numeric Character References: Translates decimal notation like
@to@and€to€. - Hexadecimal Character References: Resolves hex sequences such as
—to em-dashes (—) and😀to emoji symbols. - Typographic Punctuation: Restores curly quotation marks, apostrophes, dashes, and mathematical symbols back into natural typography.
Safe In-Browser DOM Parsing
Decoding entities via unvalidated innerHTML assignments can introduce script injection vulnerabilities inside browser extensions and web tools. WebTorq HTML Entity Decoder utilizes isolated DOMParser instances or non-executing textarea elements, ensuring that decoded script tags or event handlers never execute in your active browser session.