πŸ› οΈ Developer Tools
Β· 1 min read

Free HTML Entity Encoder & Decoder


Encode special characters to HTML entities or decode them back. Runs in your browser.

Common HTML Entities

CharacterEntityCode
<&lt;&#60;
>&gt;&#62;
&&amp;&#38;
"&quot;&#34;
'&apos;&#39;
&nbsp;&#160;
Β©&copy;&#169;
€&euro;&#8364;

When to Encode

  • Displaying user input in HTML (prevents XSS attacks)
  • Embedding code snippets in HTML pages
  • Storing special characters in XML/HTML documents