HTML Entity Encoder DecoderEncode and decode common HTML entities and numeric entity references.

HTML Entity Encoder Decoder

Encode and decode common HTML entities and numeric entity references.

Output
<section title="Tom & Jerry">It's ok</section>

Common tasks

  • html entity encoder
  • html entity decoder
  • html escape
  • decode numeric entities
  • html entity encoder decoder online
  • free html entity encoder decoder
  • html entity encoder decoder no upload
  • browser local html entity encoder decoder

Features

  • Escape HTML special characters to entities
  • Decode HTML entities back to plain text
  • Optional escape-all-characters mode
  • Browser-local — no API call

Frequently asked questions

What characters are escaped by default?
&, <, >, ", and ' — the five characters that can break HTML when written literally.
Does it support numeric entities?
Yes. The decoder accepts named entities like &amp; as well as numeric forms like &#34; and &#x22;.
Is my input uploaded anywhere?
No. Encoding and decoding both run entirely in your browser.