PageyPagey
Menu
Theme
Theme

HTML entities

Escape text so it shows as written in HTML, such as < as &lt; and & as &amp;, or turn entities back into characters.

Nothing leaves your device.Free and unlimited, no account needed. This tool works in your browser, so nothing is uploaded.

Encode or decode

HTML entity encoder and decoder

Escape text for HTML so that <, >, & and quotes show as written, or turn entities such as &amp;, &eacute; and &#233; back into characters. Free, and nothing leaves your device.

  1. 1

    Choose encode or decode.

  2. 2

    Type or paste the text or HTML.

  3. 3

    Copy the result.

Questions

Which characters need escaping?

Only &, < and > in text, and quotes inside attributes. That is what the default does. Accented letters and emoji need no escaping on a page saved as UTF-8.

Is HTML entities free?

Yes, and as often as you like. It works in your browser, so there is nothing to sign up for.

What happens to my files?

They stay on your device. Everything is worked out in your browser, so nothing you type or choose is uploaded.

Do I need to install anything?

No. It works in the browser on any computer, tablet or phone.

Can I use HTML entities from my own code?

You won't need to: every programming language has hashing, Base64 and URL encoding built in. This page is for quick jobs by hand.