← Back to Home

HTML Encoder/Decoder

Encode special characters to HTML entities or decode them back

Encode to HTML Entities

Decode from HTML Entities

About HTML Encoding

HTML encoding converts special characters into HTML entities to prevent XSS attacks and display special characters correctly in HTML.

Common Entities:

  • < → &lt;
  • > → &gt;
  • & → &amp;
  • " → &quot;
  • ' → &#39;