HTML Entity Encoder/Decoder

Encode and decode HTML entities. Convert special characters to HTML entities and vice versa.

Common HTML Entities

&&
<&lt;
>&gt;
"&quot;
'&#39;
©&copy;
®&reg;
&trade;
&euro;
£&pound;
¥&yen;
¢&cent;

Use Cases

Encoding

  • • Display code in HTML
  • • Prevent XSS attacks
  • • Show special characters
  • • Safe HTML rendering

Decoding

  • • Convert entities to text
  • • Read encoded content
  • • Extract actual characters
  • • Data processing