Skip to content
Free Tab Toolsnothing uploaded

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
&lt;a href=&quot;x&quot;&gt;Tom &amp; Jerry — café&lt;/a&gt;
Decoded (if the box is already entities)
<a href="x">Tom & Jerry — café</a>

How to use this tool

  1. Paste HTML or text.
  2. Copy the encoded string, or paste entities to decode them.

Worked example

<a href="x">Tom & Jerry</a> encodes to &lt;a href=&quot;x&quot;&gt;Tom &amp; Jerry&lt;/a&gt;. With non-ASCII on, café becomes caf&#233;. XML's five predefined entities (including &apos;) are on the XML escape page. Need plain text from markup? Strip HTML tags.

Frequently asked questions

What is encoded by default?
`& < > " '` become `&amp; &lt; &gt; &quot; &#39;`. Other characters stay as-is unless you turn on non-ASCII.
Can it decode numeric entities?
Yes — `&#169;` and `&#x1F44D;` plus a small named set (amp, lt, gt, quot, apos, nbsp, copy, mdash…).
Double-encoded &amp;amp;?
One pass: `&amp;amp;` becomes `&amp;`. Paste again to unwrap further.
Uploaded?
No.