Skip to main content
CheckTown

HTML Entity Encoder / Decoder

Encode special characters into HTML entities or decode them back to plain text.

Encoding Scope

Enter text to encode or decode

Results appear instantly as you type

Common HTML Entities

CharacterEntityDescription
&&Ampersand
<&lt;Less than
>&gt;Greater than
"&quot;Double quote
'&apos;Single quote / Apostrophe
&nbsp;Non-breaking space
©&copy;Copyright
®&reg;Registered
&trade;Trademark
&euro;Euro sign
£&pound;Pound sign
&mdash;Em dash
&ndash;En dash
&hellip;Ellipsis

Learn More

HTML Entity Encoding: Prevent XSS and Display Special Characters

Unescaped HTML is a security risk. Learn how entity encoding protects your site and renders special characters.

What Are HTML Entities?

HTML entities are special codes that represent characters which either have a special meaning in HTML or cannot be typed directly. For example, < is the HTML entity for the < character (less-than sign), which would otherwise be interpreted as the start of an HTML tag.

5 min readRead full guide