Code & data

HTML entity encoder & decoder

Encode HTML special characters or decode named and numeric entities as text. Safely convert ampersands, quotes, angle brackets, and more.

Free to useNo sign-upOn your device
Opening your workspace…

How to use it

  1. 01

    Select Encode or Decode.

  2. 02

    Paste the text containing HTML characters or entities.

  3. 03

    Convert and copy the plain-text output.

A few useful answers

Does decoding run HTML?

No. Decoded values are displayed in a text area and are not inserted as executable HTML.

What does encoding change?

The encoder escapes ampersands, angle brackets, and quotes so they can be displayed as text in HTML.