HTML entity encode / decode

Escape or unescape HTML special characters.

Runs on your device

This tool runs in your browser. Your files and text are not uploaded.

Loading tool…

How to use HTML entity encode / decode

  1. Paste text.
  2. Choose encode or decode.
  3. Copy the result.

Questions

Which characters are encoded?

Always & < > " and '. Optionally every non-ASCII character as a numeric entity.

Related tools

More in Developer tools · All tools · Tool ID developers/html-entities