HTML Entity Decode
Decode HTML entities (like & and ©) back to plain text, or encode plain text into safe HTML entities. Runs entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
How the HTML entity decoder works
- Choose Decode or Encode mode.
- Paste your HTML-entity-encoded text or plain text.
- Copy the converted result.
FAQ
What are HTML entities?
Special codes like &amp;, &lt;, and &copy; used to safely represent characters that have special meaning in HTML (like < and &) or characters not easily typed (like ©).
How does decoding work?
The tool uses the browser's own HTML parser to interpret entity codes back into their actual characters - the same reliable process browsers use to render a page.
What does encoding do?
It converts special characters like &, <, >, and quotes into their safe entity equivalents, useful when embedding text inside HTML without breaking the markup.
Is this safe for large blocks of text?
Yes - it processes text entirely in your browser using native DOM APIs, so it handles any length of text instantly without a size limit beyond your browser's memory.
How we compare
| Feature | Online Tool Store | Manual entity lookup | Browser dev tools console |
|---|---|---|---|
| Instant, handles any entity | ✓ | ✗ | ✓ |
| Both encode and decode | ✓ | ✗ | ✗ |
| No code required | ✓ | ✓ | ✗ |
Useful for cleaning up scraped HTML content or safely embedding text inside markup.