HTML Entity Encoder

Encode special characters to HTML entities (named, decimal, or hex) and decode them back.

Encoding mode

How to use the HTML Entity Encoder

  1. Choose an encoding mode: Named uses human-readable names (<), Decimal uses numeric codes (<), Hex uses hex codes (<).
  2. Paste text into the left area and click Encode.
  3. To decode HTML entities back to plain text, paste entities on the left and click Decode.

Common HTML entities

CharacterNamedDecimalHex
&&&&
<&lt;&#60;&#x3C;
>&gt;&#62;&#x3E;
"&quot;&#34;&#x22;
'&apos;&#39;&#x27;
Β©&copy;&#169;&#xA9;
€&euro;&#8364;&#x20AC;