UtilityPilot.Find a tool

Web & Publishing

HTML entity encoder and decoder

Escape HTML characters for display or decode named and numeric entities into plain text. Inspect the output without rendering it as markup.

Processed in your browserPrivacy details ↗

1 MiB per input

Adjust your options

No sign-up. No upload.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste the original or entity-encoded text.
  2. Choose encode/decode and optionally numeric encoding.
  3. Process one layer and copy the result into the intended context.

How it works

A bundled HTML entity table handles named and numeric references. Encoding protects markup-significant characters; numeric mode represents special characters by code point. Decoding follows HTML entity rules, which can leave unknown references unchanged. The output is assigned as plain text, never inserted as executable HTML.

A practical example

Start with

Tea & coffee

What to expect

Encoding produces Tea & coffee. Decoding reverses one entity layer.

Important considerations

Escaping for a text node is not a general sanitizer for HTML, JavaScript, URLs or attributes. Use context-appropriate handling in the application that receives the result.

1 MiB per input. Input remains in page memory until you reset or leave. Copy and download actions are initiated by you. No tool input is sent to a processing service.

One more useful detail

Does decoding remove dangerous code?

No. It only changes representation. The tool displays decoded markup as inert text; another application must handle it safely.