DevBolt
← 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;).