Skip to content
HQ8T

HTML Entity Encoder

Escape and unescape HTML entities.

Mode

How to use

  1. 1Choose Encode or Decode.
  2. 2Paste your text, HTML or entity-encoded string.
  3. 3Optionally encode all non-English characters too.
  4. 4Copy the result.

Frequently asked questions

Why escape HTML?

To show code like <div> as text on a web page, or to put user text into HTML safely. Escaping stops it being treated as tags.

Which characters are encoded?

Always & < > " and '. With the option on, every non-ASCII character (₹, ©, Hindi letters) becomes a named or numeric entity.

Can it decode numeric entities like &#8377;?

Yes. Named, decimal (&#8377;) and hex (&#x20B9;) entities are all decoded.

Is my text uploaded?

No. Everything runs in your browser.