JavaScript unescape() Decoder screenshot

JavaScript unescape() Decoder

Decode legacy JavaScript escape() output in your browser. Both %XX bytes and %uXXXX code units are restored in one pass.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this javascript unescape() decoder does

unescape() replaces %uXXXX with the code unit it names and %XX with the byte it names, leaving anything else untouched. Because %E9 is a Latin-1 byte rather than a UTF-8 sequence, this page restores code points rather than re-decoding bytes, which is what the legacy function did.

How to use it

JavaScript unescape() Decoder: paste the escaped text into the box above, and press Run to get the text below.

Worked example

Input:

a%20b%26%E9

Output:

a b&é

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads escaped text and returns text; reloading the page discards both.

unescape() replaces %uXXXX with the code unit it names and %XX with the byte it names, leaving anything else untouched. Because %E9 is a Latin-1 byte rather than a UTF-8 sequence, this page restores code points rather than re-decoding bytes, which is what the legacy function did.

Decode legacy JavaScript escape() output in your browser. Both %XX bytes and %uXXXX code units are restored in one pass.

How to use it

JavaScript unescape() Decoder: paste the escaped text into the box above, and press Run to get the text below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads escaped text and returns text; reloading the page discards both.

What to Expect

Best for

  • Converting escaped text to text when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

a%20b%26%E9

Sample output

a b&é

Frequently asked questions

How do I use the javascript unescape() decoder?

JavaScript unescape() Decoder: paste the escaped text into the box above, and press Run to get the text below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.