HTML Entity Encode/Decode

Escape special characters as HTML entities or decode entities back to text.

Runs in your browser · no upload

HTML entity encoder and decoder

Escape characters like < > & and quotes so text displays safely in HTML, or turn entities back into characters.

Questions

Is my text uploaded?

No. Everything runs in your browser, so your text never leaves your device.

Which characters are encoded?

The characters that matter in HTML: & < > " and '. Optionally, every non-ASCII character as a numeric entity.

Which entities can be decoded?

Numeric entities like &#169; and &#xA9;, plus common named entities such as &amp;, &nbsp;, &copy;, and &mdash;.