HTML Entities
Encode and decode HTML entities.
Runs on your machine. Nothing you paste is uploaded.
Get HTML Entities and 121 other tools. Free for 7 days, no account needed.

What it does
Escape text so it displays safely inside HTML, or turn entities back into plain characters. Encoding converts the five characters that matter, &, <, >, double quote, and single quote, into their entity forms.
Decoding understands every named and numeric entity the browser does, such as , ©, – or 😀. Choose Encode or Decode, and the output updates as you type. You can also drop an .html, .xml, or .txt file onto the input.
When you would reach for it
- Escape a code snippet with tags before pasting it into a blog post, docs page, or CMS field.
- Decode an API response or RSS feed where text arrives full of & and ".
- Check how user input will look once escaped when reviewing an XSS fix.
- Prepare attribute values that contain quotes for an HTML or XML template.
Also found by searching
- html
- entities
- encode
- decode
- escape
- amp
- lt
- gt