QiLing Tools

🔣HTML Entity Encoder & Decoder - Escape HTML Online

Encode special HTML characters (< > & " ') into entities so browsers do not treat them as markup, or decode entities back to plain text. Optionally turn non-ASCII characters like Chinese into numeric entities. Useful for safely displaying code or user input on a page.

Loading tool...

How to use HTML Entity Encode/Decode

  1. 1Choose Encode or Decode
  2. 2Paste text or entity-encoded content
  3. 3Copy the result

FAQ

Why escape HTML characters?
Raw < > & in a page are parsed as markup or entities, causing broken display or security issues; escaping shows them literally.
Can it decode &nbsp; or &copy;?
Yes. Decoding uses the browser's parser, so common named and numeric entities are restored correctly.
Are my files or data uploaded?
No. Everything runs locally in your browser with no network upload, and is discarded when you close the page.
Do I need to sign up or pay?
No. The site is completely free, needs no account and has no usage limits.