Skip to content
Toolbento

HTML entity encoder

Escape text as HTML entities, or decode entities such as & and ' back into characters.

Everything stays on this device

HTML entity encoder runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Direction

Missing a feature or found a bug in HTML entity encoder? Tell me on X (@_andrewtran) or by email.

How to use HTML entity encoder

  1. Choose Encode or Decode.
  2. Paste your text or HTML in the input pane.
  3. Copy the result from the output pane.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Which characters are encoded?

The five that matter in HTML: the ampersand, the two angle brackets and both quote marks. You can also encode every non-ASCII character.

Which entities can be decoded?

All numeric entities, decimal or hex, and the common named ones. A name that is not known is left as it is.

Esc

Loading tools