ThatsMyTools
</>

HTML Encoder

Encode special characters to HTML entities or decode them back.

Common entities

&

&amp;

<

&lt;

>

&gt;

"

&quot;

'

&#39;

©

&copy;

®

&reg;

&trade;

&euro;

£

&pound;

HTML Encoding and XSS Prevention

Cross-site scripting (XSS) occurs when an attacker injects script tags or event handlers into a web page. HTML encoding converts < to &lt; and > to &gt;, preventing the browser from interpreting injected content as executable HTML.

Frequently Asked Questions

Related Tools