HTML Entity Codec
Try:
Type or paste text to see the encoded result live.
Paste your text, pick Encode or Decode, and copy the live result.
- Paste text or HTML into the input
- Choose Encode to escape or Decode to unescape
- Copy the result or copy a shareable link
- Use Clear or try an example chip to reset
Is my data safe?
Yes. Encoding and decoding use pure string replacement in your browser. No data is ever sent to a server.
What characters are encoded and decoded?
Encode converts &, <, >, ", and ' into named entities (& < > " '). Decode reverses named entities plus numeric decimal (<) and hex (<) forms, leaving unknown entities untouched.