Skip to content
Calculator Tools
Developer Tools

HTML Decoder

Convert HTML entities back to the characters they represent, including numeric ones.

Enter values

Results update as you type.

Result

Decoded text

<p>Café & bar</p>

Entities decoded
6
Original length
38
Decoded length
17

About the HTML Decoder

Convert HTML entities back to the characters they represent, including numeric ones.

Also known as: html unescape, decode html entities, entity decoder.

How to use this calculator

  1. Enter html to decode.
  2. The result updates instantly as you type — press Calculate (or Enter) at any time.
  3. Review the breakdown shown under the main result.
  4. Use Copy result or Share to save the answer or send a link with your inputs.

Formula

&name; and &#number; are replaced by the characters they stand for

Worked example

Using the values pre-filled in the calculator above:

  • HTML to decode: &lt;p&gt;Caf&#233; &amp; bar&lt;/p&gt;

the calculator returns:

  • Decoded text: <p>Café & bar</p>
  • Entities decoded: 6
  • Original length: 38
  • Decoded length: 17