How to use the HTML Entity Encoder & Decoder
- Paste text.
- Encode or decode.
- Copy the result.
Frequently Asked Questions
Is this sanitization?
No. Encoding is different from full HTML sanitization.
Is processing local?
Yes.
Is the HTML Entity Encoder & Decoder free to use?
Yes. It is free, needs no account and has no daily limit.
Is my data uploaded when I use the HTML Entity Encoder & Decoder?
No. It runs in your browser, so what you type or choose stays on your device.
Escaping HTML safely
Characters such as <, > and & have special meaning in HTML. Encoding them lets you show code on a page without the browser treating it as markup.
Encoding is not the same as sanitizing. If you accept HTML from users, use a proper sanitizing library on the server rather than relying on this tool.