HTML Entity Encoder / Decoder

Encode text to HTML entities or decode HTML entities back to text — instantly, in your browser.

Common HTML Entities Reference

CharacterNamed EntityDecimalHexDescription
&&&&Ampersand
<&lt;&#60;&#x3C;Less than
>&gt;&#62;&#x3E;Greater than
"&quot;&#34;&#x22;Double quote
'&apos;&#39;&#x27;Apostrophe
 &nbsp;&#160;&#xA0;Non-breaking space
©&copy;&#169;&#xA9;Copyright
®&reg;&#174;&#xAE;Registered trademark
&trade;&#8482;&#x2122;Trademark
&euro;&#8364;&#x20AC;Euro sign
£&pound;&#163;&#xA3;Pound sign
¥&yen;&#165;&#xA5;Yen sign
¢&cent;&#162;&#xA2;Cent sign
§&sect;&#167;&#xA7;Section sign
±&plusmn;&#177;&#xB1;Plus-minus
×&times;&#215;&#xD7;Multiplication
÷&divide;&#247;&#xF7;Division
&larr;&#8592;&#x2190;Left arrow
&rarr;&#8594;&#x2192;Right arrow
&#9733;&#x2605;Black star

Features

Named & Numeric

Handles named entities (&amp;, &lt;) and numeric decimal/hex (&#38;, &#x26;) formats seamlessly.

100% Client-Side

All encoding and decoding runs in your browser. No data is sent to any server — ever.

One-Click Copy

Copy the result to your clipboard with a single click. Ready to paste into your code or CMS.

Entity Reference

Built-in table of the most common HTML entities with named, decimal, and hex forms.

Frequently Asked Questions

What are HTML entities?
HTML entities are special codes used to represent characters that have reserved meanings in HTML, such as <, >, &, and ". They ensure browsers render text correctly without interpreting it as markup. Entities can be named (like &amp;) or numeric (like &#38;).
What is the difference between named and numeric entities?
Named entities use readable names like &amp; for & and &lt; for <. Numeric entities use decimal (&#38;) or hexadecimal (&#x26;) code points referencing the Unicode character. Named entities are easier to read, while numeric entities can represent any Unicode character.
Is this tool free to use?
Yes, this tool is completely free, works in your browser, and does not send any data to a server. All processing happens locally on your device. No sign-up or installation required.

Get Notified About New Tools

We build free developer tools. Enter your email to hear about new releases.