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.