HTML Encoder

Encode and decode HTML entities

Input
Output

Common HTML Entities

CharEntityNumericApply
&&&
<&lt;&#60;
>&gt;&#62;
"&quot;&#34;
'&#39;&#39;
/&#x2F;&#47;
©&copy;&#169;
®&reg;&#174;
&euro;&#8364;
&nbsp;&#160;

Examples

ModeInputApply
Encode<script>alert("XSS")</script>
Encode<h1>Hello & "World"</h1>
Encode<a href="https://example.com?a=1&b=2">Link</a>
Decode&lt;p&gt;Hello &amp; &quot;World&quot;&lt;/p&gt;
Decode&#60;script&#62;alert(&#39;xss&#39;)&#60;&#47;script&#62;
© 2026 Developer Toolbox. All rights reserved. About