HTML Entity Encoder & Decoder

Encode special characters to HTML entities or decode HTML entities back to readable text online. Includes a common entities reference.

Common HTML Entities

CharacterEntityNumericDescription
&&&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
&trade;&#8482;Trademark
&mdash;&#8212;Em dash

How to encode HTML entities

  1. Paste your HTML or text into the input area.
  2. Click Encode to convert special characters to named entities (&lt;, &amp;, etc.).
  3. Click Encode All to convert all non-ASCII characters to numeric entities (&#169;).
  4. Click Decode to convert entities back to readable characters.

Common HTML entities

Need more tools?

Browse our collection of free developer tools.

Browse All Tools →