Runs in your browser · Last updated 7 September 2026
Free HTML Entity Encoder
Free HTML entity encoder. Encode & < > quotes, optional non-ASCII, and decode &#…; in this tab. Nothing is uploaded.
Encoded
<a href="x">Tom & Jerry — café</a>
Decoded (if the box is already entities)
<a href="x">Tom & Jerry — café</a>
How to use this tool
- Paste HTML or text.
- Copy the encoded string, or paste entities to decode them.
Worked example
<a href="x">Tom & Jerry</a> encodes to <a href="x">Tom & Jerry</a>. With non-ASCII on, café becomes café. XML's five predefined entities (including ') are on the XML escape page. Need plain text from markup? Strip HTML tags.
Frequently asked questions
- What is encoded by default?
- `& < > " '` become `& < > " '`. Other characters stay as-is unless you turn on non-ASCII.
- Can it decode numeric entities?
- Yes — `©` and `👍` plus a small named set (amp, lt, gt, quot, apos, nbsp, copy, mdash…).
- Double-encoded &amp;?
- One pass: `&amp;` becomes `&`. Paste again to unwrap further.
- Uploaded?
- No.