HTML Entity Encoder/Decoder

Paste text or HTML-encoded content to instantly get both the encoded and decoded versions.

Updates instantly as you type

01 / Fast steps

  1. Paste your text.
  2. Read the encoded and decoded results instantly, updated as you type.

02 / Best for

  • Escaping special characters before pasting text into HTML or a CMS.
  • Decoding HTML entities copied from a web page or an API response.
  • Preparing user-generated content for safe display on a web page.

03 / Keep in mind

  • Covers the common named entities (&, <, >, ", ',  ) plus numeric and hex entities, not the full historical HTML entity list.

faq

Questions, answered.

01Which characters get encoded?

The characters that are special in HTML: &, <, >, " and '.

02Does decoding support numeric entities like &#39;?

Yes, both decimal (&#39;) and hexadecimal (&#x27;) numeric entities are decoded, alongside the common named entities.

03Is HTML Entity Encoder/Decoder free to use?

Yes, HTML Entity Encoder/Decoder is completely free, with no sign-up and no usage limits. It runs entirely in your browser, so your data never leaves your device.