HTML Entity Encoder & Decoder

Escape and unescape HTML entities like & and <.

Loading HTML Entities…

How to use HTML Entities

  1. Open the HTML Entities tool.
  2. Paste or type your text, code or a token into the input field.
  3. The output updates as you type. Adjust the options if you need a different format.
  4. Copy the result, or share the URL to hand the exact input to someone else.

About HTML Entities

Escape and unescape HTML entities. Encoding converts &, <, >, " and ' into their safe entity forms (with an option to also escape every non-ASCII character); decoding turns entities back into literal characters using the browser's own parser.

What people use it for

Frequently asked questions

Which characters get escaped?

The five HTML-significant characters &, <, >, double-quote and single-quote, with an optional pass that also escapes non-ASCII as numeric entities.

Is it private?

Every calculation happens on this page, in your own browser. Your input is never sent to a server and never logged, which also means the tool keeps working when you are offline.

Related tools

All Encode & Crypto tools · Every tool on OmniWebTools