In-browser tool
HTML entity encoder / decoder
Escape < > & " ' or decode &, ', A — instantly.
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.