DEVELOPER TOOLS · LOCAL ONLY

HTML Entity Encoder / Decoder

Convert between HTML special characters and their entities.

Up to 200,000 characters. Numeric references outside the Unicode range are left as written.

1 lines · 24 bytes
0 lines · 0 bytes
Run the tool to see the result

Up to 200,000 characters. Numeric references outside the Unicode range are left as written.

How to use

Convert between HTML special characters and their entities.

Turn `<`, `>`, `&`, and quotes into `&lt;`, `&gt;`, `&amp;` and friends so text can sit safely inside HTML without being parsed as markup, or decode entities back into the original characters. Numeric forms such as `&#65;` and `&#x41;` are supported too.

Limits and privacy

Up to 200,000 characters. Numeric references outside the Unicode range are left as written.

Everything runs inside this browser. Your input is never uploaded, stored, or written to the URL or any log.