Skip to content
Back

HTML Entity Converter

Encode and decode HTML entities instantly

HTML Entity Converter

Encode and decode HTML entities instantly

Input

Output

Result will appear here

Examples

Common HTML Entities

CharacterEntityDecimalDescription
&&&Ampersand
<&lt;&#60;Less than
>&gt;&#62;Greater than
"&quot;&#34;Double quote
'&apos;&#39;Single quote
©&copy;&#169;Copyright
®&reg;&#174;Registered
&trade;&#8482;Trademark
&euro;&#8364;Euro sign
£&pound;&#163;Pound sign
°&deg;&#176;Degree sign
×&times;&#215;Multiplication
÷&divide;&#247;Division
±&plusmn;&#177;Plus/minus
&hellip;&#8230;Ellipsis
&ndash;&#8211;En dash
&mdash;&#8212;Em dash
(nbsp)&nbsp;&#160;Non-breaking space
&bull;&#8226;Bullet
&rarr;&#8594;Right arrow

Safely encode special characters as HTML entities and decode them back. Use the encoder to prevent XSS when embedding user content, escape angle brackets and ampersands for display in HTML, or convert symbols like ©, ™, and € to portable named entities. The decoder reverses any valid HTML entity — named, decimal, or hex — back to plain text.

How to Use

  1. 1Choose Encode or Decode mode
  2. 2For encoding, pick Essential (only &, <, >, ", '), Named (uses &copy; style), or Hex (&#xFF; style)
  3. 3Paste your text or HTML into the input box
  4. 4The result updates instantly — click Copy to grab it
  5. 5Use Swap to flip the output back into the input and continue

Frequently Asked Questions