🔣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
- 1Choose Encode or Decode
- 2Paste text or entity-encoded content
- 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 or ©?
- 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.