HTML Entity Encoder & Decoder

Escape and unescape HTML entities — safely, in your browser.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

HTML entity encoder & decoder

Escape text for safe placement inside HTML — &, <, >, " and ' become their entity equivalents — or decode named and numeric entities back into plain text. An optional setting also escapes every non-ASCII character as a numeric entity.

Decoding is done without ever injecting your input into the live page, so untrusted markup is handled safely. Everything runs in your browser — nothing is uploaded. Pair it with the URL encoder for query strings.

Ad placeholder (rectangle)