Developers · free tool

HTML entities encoder/decoder

Encode/decode HTML entities (&, <, ...).

&
Runs in your browser⌑ Your data stays on your device

About this tool

Encode/decode HTML entities. Useful for developers. Processing is local.

When to use it

  • Development.
  • HTML.
  • XSS prevention.
Example

'<' → '&lt;'.

How to use

  1. Paste text.
  2. Choose encode/decode.
  3. Click "Run" and copy.
Entities?

&amp;, &lt;, &gt;, &quot;, &#39;.

All entities?

Basic (named + numeric).

Is data uploaded?

No, processing is local.