Back to all tools

HTML Entities Encoder / Decoder

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

Text to Encode
Common HTML Entities Reference
CharacterEntityDescription
&&Ampersand
<&lt;Less than
>&gt;Greater than
"&quot;Double quote
'&#39;Single quote
[space]&nbsp;Non-breaking space
©&copy;Copyright
®&reg;Registered trademark
&trade;Trademark
&euro;Euro sign
£&pound;Pound sign
¥&yen;Yen sign
°&deg;Degree sign
±&plusmn;Plus-minus sign
×&times;Multiplication sign

About HTML Entities

HTML Entities converts special characters like <, >, &, and quotes to their HTML entity equivalents and back. It's used to safely embed user content in HTML and prevent XSS vulnerabilities. Handles named entities and numeric character references.

  • Encodes special chars to HTML entities
  • Decodes HTML entities to plain text
  • Named and numeric entity support
  • XSS-safe content preparation