HTML entity encoder & decoder

Escape or decode HTML special characters.

Ready when you are On-device processing
YOUR RESULT

Enter your details to get a result.

Your input stays in this browser. No account needed.
THE QUICK GUIDE

How to use html entity encoder & decoder

Paste text and choose encode or decode.

How it works

Escapes ampersands, brackets and quotes; decodes common named and numeric entities.

A useful example

<div> becomes &lt;div&gt;.

Good to know

Output is shown as text and never inserted as executable HTML.