URL Decoder
Restore percent-encoded strings to their original readable form. Paste an encoded query value or path segment and see the decoded text instantly, with UTF-8 handled automatically.
What each field means
Every input below changes the result in a specific way. This is what each one expects, what it starts at, and the range it accepts.
- Encoded string
Text that you supply. The calculator works on exactly what you type.
How to read your result
The calculator reports the figures below. The headline figure answers the question in the title; the rows underneath break it down so you can see what drives it.
- Decoded text
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Decoded length
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Encoded length
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Result
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Characters
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Quick reference
| Code | Meaning |
|---|---|
%20 | A space character. |
%2B | A plus sign. In a form a plus means a space, so decode it to %20 if unsure. |
%26 | An ampersand, which separates query parameters. |
%3D | An equals sign, which separates a key from its value. |
%2F | A forward slash, used to separate path segments. |
%C3%A9 | A UTF-8 encoded character, here the letter e with an acute accent. |
+ | In a URL query a plus is often read as a space. Convert it to %20 when unsure. |
%25 | An encoded percent sign. You see it when a value already contains an encoded URL. |
What this means
Percent-encoded URLs hide the original text inside %XX sequences. Decoding resolves each sequence back to the character it represents.
How we calculate it
Formula
decodeURIComponent(text) resolves every %XX to its byte, then decodes the result as UTF-8.Worked example
Decode 'hello%20world':
- 1Paste the encoded string.
- 2The decoded text appears live.
- 3Copy the result.
Important assumptions
- Decoding assumes UTF-8 encoding, the modern standard for URLs.
Frequently asked questions
What does %20 mean?
%20 is the percent-encoded form of a space. %2F is a slash, and %C3%A9 is é in UTF-8.
Why does my decoded text show replacement characters?
The encoded bytes were probably not UTF-8, so some sequences cannot be mapped to valid characters.
Related tools
URL Encoder
Encode text for safe use inside URLs and query strings.
Base64 Decoder
Decode Base64 strings back to readable text.
JSON Formatter
Format, minify and validate JSON with one click.
Base64 Encoder
Encode any text, including Unicode, to Base64.
Hash Generator
Generate MD5, SHA-1 and SHA-256 hashes of any text.
Regex Tester
Test regular expressions against text with live matches.