HTML Decode
Convert HTML entities back to readable characters — decode &, <, > and all named/numeric entities.
What is HTML Decoding?
HTML decoding converts HTML character entities back into their original characters. For example, & becomes &, < becomes <, > becomes >, " becomes ", and becomes a non-breaking space.
You commonly need HTML decoding when reading HTML source code that contains encoded content, processing scraped web data where text was encoded before storage, handling email content that uses HTML entities, working with CMS-generated content that auto-encodes certain characters, and converting HTML-encoded database content to plain text.
This decoder handles all three forms of HTML entities: named entities like & and ©, decimal numeric entities like © (©), and hexadecimal numeric entities like © (also ©). The decoding uses a hidden DOM element to leverage the browser's built-in entity resolver, ensuring complete and accurate decoding of all standard HTML entities.