Skip to main content
Calctrove Calctrove

HTML Unescape

HTML Unescape

Unescape HTML entities back into human-readable text.

InputsManual input84 charsAuto run

File input

Choose a file

Click, drop, or paste from clipboard.

Options

0

No options.

More actions
Manual

Unescaped text output

0

No output yet.

Live

Manual

Ready

84

Input

0

Output

0

ms

Flow
  • Match named entities such as & and <.
  • Decode numeric decimal and hex entities.
  • Return reconstructed plain text.
Example

Worked example: decode escaped snippet

  1. 1 Input = <h1>Calc</h1>
  2. 2 Entity decoder maps named entities to characters.
  3. 3 Output = <h1>Calc</h1>

Escaped HTML entity text becomes readable markup characters.

How
  1. Paste escaped entity text into input area.
  2. Run unescape to decode entities.
  3. Copy plain text output for reuse.
Cases
  • Clean up exported CMS content containing entities.
  • Decode escaped strings from API responses.
  • Prepare readable plain text from encoded documentation snippets.
Avoid
  • Expecting unescape to sanitize unsafe HTML content.
  • Confusing numeric entities and unicode escape sequences.
  • Running unescape repeatedly and altering already-decoded text.
FAQ
Does this support numeric entities like &#39;?

Yes, decimal and hexadecimal numeric entities are supported.

Can I decode named entities too?

Yes, common named entities such as &amp; and &quot; are decoded.

Should I unescape user content before rendering?

Only when appropriate and with proper sanitization practices for your rendering context.

Switch
Switch12