Skip to main content
>_devtools

HTML Entity Encoder / Decoder

Encode special characters as named or numeric HTML entities, or decode entities back to text.

What this does

Encode text as named or numeric HTML entities, or decode recognized entities back to text. Choose the direction and encoding options, then edit the input to see the result.

Example

<p>Tom & Jerry</p> → &lt;p&gt;Tom &amp; Jerry&lt;/p&gt;

Limits and behavior

  • Decoding entities does not sanitize HTML or make decoded text safe to insert into a page.