HTML entity encoder & decoder

Escape markup characters or decode numeric references and six common named entities as plain text.

Tool guide

How to use HTML entity encoder & decoder

Escape markup characters or decode numeric references and six common named entities as plain text.

  1. Choose your input type and options. Try the clearly labelled sample first.
  2. Up to 1 MiB of UTF-8 input and 4 MiB of output. Runs locally after you choose the action.
  3. Output is plain text. Decoder supports decimal/hex references and amp, lt, gt, quot, apos, nbsp with semicolons; other named entities are rejected. This is not an HTML sanitizer.
  4. Choose the action to process locally, review the text result, then copy or download it. Editing or clearing the input discards the old result. Cancel stops the worker; leaving the page clears working data. No input or result is uploaded or stored by this tool.
Read the full guide