HTML entity encoder and decoder

Convert HTML special characters to entities and back.

Your files and text are processed on your device.

How to use this tool and limits

Encoding replaces &, <, > and quotation marks. Decoding accepts semicolon-terminated entities, including HTML names and decimal or hexadecimal Unicode codes. The result is always displayed as text.

Frequently asked questions

Does pasted HTML execute?

No. Content is not inserted as executable HTML. Unknown entities are preserved and decoding makes a single pass.