HTML Entity Encoder

Encode and decode HTML entities.

Option
Format
Input Text
Encoded Result

Common HTML Entities

Character Named Entity Numeric Description
<&lt;&#60;Less than
>&gt;&#62;Greater than
&&amp;&#38;Ampersand
"&quot;&#34;Double quote
'&apos;&#39;Single quote / Apostrophe
 &nbsp;&#160;Non-breaking space
©&copy;&#169;Copyright symbol
®&reg;&#174;Registered trademark
™&trade;&#8482;Trademark symbol
€&euro;&#8364;Euro sign
£&pound;&#163;Pound sign
¥&yen;&#165;Yen / Yuan sign

HTML Entity Encoder/Decoder Guide

All About an HTML Entity

HTML entities are special character codes that safely represent reserved or hard-to-type characters in web documents. They begin with an ampersand (&) and end with a semicolon (;), and browsers interpret them as the corresponding character on screen. Beyond the common reserved characters like <, >, and &, entities also handle copyright symbols (©), currency signs (€), and many other characters not readily available on a standard keyboard. Using HTML entities correctly is essential for both proper page rendering and web security.

Similar Tools

Further Reading