In-browser tool

HTML entity encoder / decoder

Escape < > & " ' or decode &amp;, &#39;, &#x41; — instantly.

Everything runs in your browser — your input is never uploaded.

How it works

01
Type or paste your input
02
Get the result instantly
03
Copy the result

Frequently asked questions

When do I need to encode?

Whenever text is inserted into HTML — encoding prevents it being read as markup (and stops XSS).

Is my file uploaded to a server?

No. This tool runs entirely in your browser. You can open your browser's network tab and verify no request carries your file.