Encode and decode HTML entities
HTML Entity Decoder decodes HTML entities — named ones like nbsp, copy, and euro, and numeric ones — back into plain text using the browser's own DOMParser, entirely in your browser. Unlike parsing untrusted HTML by setting innerHTML on an element, DOMParser-parsed documents never fetch resources or run scripts or event handlers, so pasted content can't execute anything. Encode escapes the five characters that matter for safe HTML output: ampersand, less-than, greater-than, double quote, and apostrophe.
What are HTML entities?
Codes that represent characters with special meaning in HTML, such as & for an ampersand, < for a less-than sign, or for a non-breaking space.
Which entities does Decode understand?
A broad range — both named entities (like , ©, €) and numeric ones (like ' or €) — since decoding is delegated to the browser's own HTML parser rather than a fixed lookup list.
Is this tool free to use?
Yes, it's completely free with no signup required.
Does it store or upload my data?
No, encoding and decoding both happen entirely in your browser using DOMParser; nothing is sent to a server.