HTML Entity Encoder

Encode or decode HTML entities locally, then copy the result.

Source

Paste text or markup, choose encode or decode, then copy the clean result.

0 chars Ctrl/Cmd + Enter
local only

Paste a fragment to start.

Result

The result updates in place and stays ready to copy.

Ready for a transform

Use Encode to escape HTML safely or Decode to turn entity sequences back into readable text.

Mode: encode Changed: 0 Entities: 0
0 chars 0 lines State: idle

How to use

Paste text or markup, choose Encode or Decode, then copy the transformed result.

Examples: escape HTML before publishing docs, decode copied entity strings, or compare escaped snippets before sending them back to a teammate.

FAQ: This tool runs locally in the browser and only transforms entity sequences. It does not sanitize unsafe markup or validate a full HTML document.