HTML Entity Encoder/Decoder

Encode special HTML characters to entities and decode them back. Support for common HTML entities and Unicode characters.

Encoding Options

💡 Usage Tips

  • Enter HTML text and click "Encode Entities" to convert special characters
  • Enter HTML entities and click "Decode Entities" to convert back to text
  • "Encode all" converts all special characters, not just HTML-specific ones
  • "Use numeric entities" creates numeric entities (A) instead of named ones (&A;)
  • Preview shows how the encoded text will render in HTML

📝 Common Entities

Character Named Entity Numeric Entity Description
< &lt; &#60; Less than
> &gt; &#62; Greater than
& &amp; &#38; Ampersand
" &quot; &#34; Double quote
© &copy; &#169; Copyright