HTML Runner

HTML Entity Encoder & Decoder

Escape markup characters for text or decode named and numeric HTML references.

How to use HTML Entity Encoder & Decoder

Encode a fragment to show the tags as text. To reverse it, select Decode and paste a value such as <code>.

Limitations

Encoding is intended for HTML text and quoted attributes. JavaScript, CSS and URLs have different escaping rules.

Frequently asked questions

Does decoding run HTML?

The decoded result is shown as plain text.

Test your web code in the live HTML workspace.

Related resources