HTML Entity Tool

Encode or decode HTML entities.

Loading tool...

Convert special characters into HTML-safe entities or decode entity-heavy content back into readable text.

  • Entity encoding
  • Entity decoding
  • Named references
  • Character counts

Prepare snippets for HTML

Encode reserved characters such as ampersands, angle brackets and quotes before pasting examples into CMS fields, docs or code-heavy pages.

Decode copied CMS content

Turn entity-heavy text back into readable content when exports, support tickets or old templates contain escaped HTML references.

Inspect entity usage quickly

Character and entity counts make it easier to see whether a conversion changed the expected amount of markup or plain text.

Works without server processing

The conversion runs locally in the browser, so draft snippets and copied text do not need to be sent to an external API.

Frequently asked questions

It encodes common HTML-sensitive characters such as ampersands, angle brackets, quotes and selected symbols into safe entity references.

Yes. The decoder supports decimal and hexadecimal numeric references along with common named references such as amp, lt, gt, quot and copy.

No. Encoding and decoding run in your browser, so pasted snippets are processed locally on your device.

Use non-ASCII encoding when a legacy template, email system or CMS has trouble preserving symbols, smart punctuation or international characters.

Buy me a coffee