HTML Encoder/Decoder

Encode and decode HTML entities and special characters for safe web display.

Raw HTML

Encoded HTML

Encoded HTML will appear here...

HTML Entity Reference

Basic Characters

< &lt;
> &gt;
& &amp;
" &quot;
' &#x27;

Special Characters

&nbsp;
© &copy;
® &reg;
&trade;

Use Cases

  • • Display HTML code on web pages
  • • Prevent XSS attacks
  • • Safe user input handling
  • • Email template encoding
  • • JSON string escaping