HTML Entity Encoder / Decoder

Encode special characters to HTML entities or decode HTML entities back to characters.

Plain Text / HTML0 chars
Encoded Entities

Common HTML Entities Reference

Character
Entity
Code
Description
&
&
&
Ampersand
<
&lt;
&#60;
Less than
>
&gt;
&#62;
Greater than
"
&quot;
&#34;
Double quote
'
&#39;
&#39;
Single quote
(space)
&nbsp;
&#160;
Non-breaking space
©
&copy;
&#169;
Copyright
®
&reg;
&#174;
Registered
&trade;
&#8482;
Trademark
&ndash;
&#8211;
En dash
&mdash;
&#8212;
Em dash
&euro;
&#8364;
Euro
£
&pound;
&#163;
Pound
¥
&yen;
&#165;
Yen

How to Encode and Decode HTML Entities Online

  1. 1.Select Encode or Decode.
  2. 2.Paste or type your input. Results update in real time.
  3. 3.Use Swap Input/Output to flip.
  4. 4.Click Copy to copy the result.
  5. 5.Refer to the reference table for common entities.

Frequently Asked Questions

Named vs numeric HTML entities?

Named entities use human-readable names like &amp;. Numeric entities use code points like &#38;.

Why encode HTML entities?

Characters like <, >, & have special meaning in HTML. Encoding prevents rendering issues and XSS.

Does this support Unicode?

Yes. Non-ASCII characters are converted to hex Unicode entities like &#x20AC;.

Is my data sent to a server?

No. All processing runs entirely in your browser.