LocalExcelTool
Get started

URL Decode

Decode percent-encoded URLs back to readable text.

What is URL Decode

URL decoding converts percent-encoded (%XX) strings back into their original characters.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

The plus sign is the trap

decodeURIComponent deliberately does not convert + to a space, because + is a legal character. Form-encoded data does mean space by +. A decoder that always turns + into a space is correct for query strings and wrong for everything else — notably for Base64 values, which frequently contain + and would come back corrupted in exactly the place you would not look.

So the correct behaviour depends on where the string came from. If it was produced by an HTML form submission, decode + as space. If it came out of a JSON body, a path segment or a JWT, leave + alone. This tool exposes both modes because picking one silently is how data gets corrupted.

Isolated percent signs throw

decodeURIComponent raises URIError on a malformed sequence: a % not followed by two hex digits, or a truncated sequence at the end of the string. A literal 100% discount in a value is enough to trigger it. The fix is to encode the percent sign itself as %25 before decoding, or to decode with a tolerant routine that passes malformed sequences through unchanged.

Mixed encoding inside one string is the second case. If half the value is already decoded and half is not — common when a templating engine escapes a piece of an already-escaped URL — one pass yields a half-correct result. Run decoding repeatedly until the output stops changing, and if it never stops, the original was double-encoded on purpose and you should stop earlier.

Reading the result correctly

Percent-encoding describes bytes, not characters. When those bytes are not valid UTF-8 the decoded text contains U+FFFD, which means either the source used a different charset (Latin-1 and GBK both appear in old links) or the string was cut mid-character by a URL length limit.

For CJK content, a truncated link usually breaks on the last character only. If the tail is garbled but the rest is clean, the source was truncated, not mis-encoded — re-copy the full URL rather than trying other charsets.

How to use

  1. 1.Enter encoded string
  2. 2.Decode
  3. 3.View result

How this compares

There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveOutput is deterministic — verify it against any other implementationThe same — the conversion is the same maths

Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.

Frequently asked questions

What is URL decoding?

It turns strings like %E6%97%A5 into the original characters.

Is it safe?

Yes, everything runs in your browser.

What this kind of conversion cannot keep

Encoding and hashing run through the browser's Web Crypto API or a pure-JavaScript implementation. The output is deterministic: the same input always produces the same digest, so you can verify a result against any other tool.

More in Encoding