Skip to main content

HTML Entity Encoder & Decoder — Convert Special Chars

Convert special characters to HTML entities and vice versa with our HTML Entity Encoder. The tool supports named entities (<, &, ©,  ), decimal numeric entities ( ) and hexadecimal entities ( ). In named mode only the five HTML special characters are escaped; the "all named entities" mode also converts symbols such as ©, € or non-breaking spaces. Auto mode converts instantly as you type. Perfect for web developers who need to safely embed special characters in HTML code.

HTML5 Client-Side Only

Features

  • Named Entities: Escape HTML special characters (<, >, &, ") or convert all known symbols like © and  
  • Numeric Entities: Decimal ( ) or hexadecimal ( ) format
  • Bidirectional: Encode text to entities or decode entities to text
  • Auto-Convert: Real-time conversion as you type
  • Character Reference: Quick link to browse all available HTML entities
  • Download Support: Save results as text file

Common Use Cases

HTML Development

  • Display Code in HTML (<, >, &)
  • Special Characters in Attributes
  • Copyright & Trademark Symbols
  • Non-Breaking Spaces

Data Processing

  • XML/RSS Feed Content
  • Email Template Generation
  • Database Content Escaping
  • Internationalization (i18n)

Important Entities

Character Named Entity Decimal Hex Description
<&lt;&#60;&#x3C;Less than
>&gt;&#62;&#x3E;Greater than
&&amp;&#38;&#x26;Ampersand
"&quot;&#34;&#x22;Quote
 &nbsp;&#160;&#xA0;Non-breaking space
©&copy;&#169;&#xA9;Copyright
®&reg;&#174;&#xAE;Registered

View the complete list in our Character Reference

Useful Resources

Wikipedia: HTML Character Entities Beginner-friendly introduction to HTML character entities
HTML Standard: Named Character References Official WHATWG HTML specification for named entities
MDN: HTML Entities Comprehensive guide to HTML character entities
W3C: Using Character Escapes Best practices for using character escapes in markup and CSS