DevBolt
Processed in your browser. Your data never leaves your device.

HTML Entity Decoder Online

Decode HTML entities back to their original characters instantly in your browser. This free tool runs entirely client-side, keeping your data private and processing fast.

← Back to tools

HTML Entity Encoder & Decoder

Encode special characters as HTML entities or decode entities back to text. Fast, private, and free.

Encode mode:
Only encodes & < > " ' (safe for HTML content)

Common HTML Entities

CharacterNamedNumericDescription
&&amp;&#38;Ampersand
<&lt;&#60;Less than
>&gt;&#62;Greater than
"&quot;&#34;Double quote
'&apos;&#39;Single quote
&nbsp;&#160;Non-breaking space
©&copy;&#169;Copyright
®&reg;&#174;Registered trademark
&trade;&#8482;Trademark
&euro;&#8364;Euro sign
£&pound;&#163;Pound sign
&mdash;&#8212;Em dash
&ndash;&#8211;En dash
&hellip;&#8230;Ellipsis
°&deg;&#176;Degree
×&times;&#215;Multiply
÷&divide;&#247;Divide
&rarr;&#8594;Right arrow

Quick Reference

Minimal mode encodes only the 5 characters that are special in HTML/XML: & < > " '. Use this when your text contains HTML tags or attributes.

All Characters mode also encodes every non-ASCII character (accented letters, symbols, emoji) using named entities where available, or numeric codes. Use this when you need pure ASCII output.

Decoding recognizes named entities (&amp;), decimal codes (&#169;), and hex codes (&#xA9;).

How HTML entity decoding works

HTML entity decoding converts encoded references back into their original characters. Named entities like &amp; become &, numeric entities like &#60; become <, and hex entities like &#x3C; also become <. The decoder handles all standard HTML5 named entities as well as arbitrary numeric and hexadecimal character references.

Common use cases for HTML entity decoding

Developers decode HTML entities when extracting clean text from web scraped content, processing HTML-encoded data from APIs or databases, converting encoded email content to readable text, and cleaning up data that has been double-encoded. It is a common step in web scraping and data cleaning pipelines.

Frequently Asked Questions

What is double-encoded HTML and how do I fix it?

Double encoding happens when already-encoded entities get encoded again, producing results like &amp;amp; instead of &amp;. Running the decoder twice (or until the output stops changing) resolves this issue.

Does the decoder handle all HTML5 named entities?

Yes. The decoder supports all 2,231 named character references defined in the HTML5 specification, including common ones like &nbsp;, &copy;, &mdash;, and &euro;.

Related Convert Tools