OS Garage

Encoding Tool

HTML Decoder Online

Convert HTML entities back to their original characters.

Features

Named & Numeric Entities

Handles both named entities (&) and decimal/hex numeric entities (&, &).

Common Entities Covered

Covers &, <, >, ", ',  , and more.

Non-Destructive

Text without HTML entities passes through unchanged.

How to Use

  1. 1

    Paste HTML-encoded text

    Enter any text containing HTML entity references.

  2. 2

    See decoded output

    Entities are converted back to their original characters.

  3. 3

    Copy clean text

    Use the decoded, readable text in your application.

Examples

Encoded HTML

Input

<b>Hello & World</b>

Output

<b>Hello & World</b>

Quoted text

Input

He said &quot;hello&quot; &amp; she said &#39;hi&#39;

Output

He said "hello" & she said 'hi'

Common Questions

HTML decoding processes the entity references in a string programmatically. Viewing page source shows the raw HTML with entities intact.

The tool decodes the most common entities: &amp;, &lt;, &gt;, &quot;, &#39;, &#x27;, &nbsp;. For the full HTML5 entity set, a dedicated HTML parser library is needed.