Code tool
HTML Entity Encoder
Turn <, >, and quotes into entities, or turn entities back into characters.
Processed in your browser. The text is not sent to our servers.
How to encode HTML entities
- Paste text or markup.
- Click Encode, or Decode if the text is already escaped.
- Copy the result.
Encoding replaces &, <, >, quotes, and apostrophes. Decoding reads named entities such as & and numeric codes such as '.
Frequently asked questions
Will this run the HTML?
No. The text is rewritten as characters. It is not inserted into the page as markup.
Is the text uploaded?
No. Encoding and decoding run in your browser.