Query strings rarely arrive in a form a human can read. A tracking URL that looked tidy in an ad console turns into a wall of percent signs, plus signs, and escaped characters once you copy it out of analytics or a server log. Decoding turns that wall back into text: every percent-encoded byte becomes the character it represents, so q=coffee%20shop%20near%20me becomes q=coffee shop near me and the parameter you are hunting for is finally visible.
This tool decodes live as you paste. The moment text enters the input panel, the decoded result appears in the output, with no button to press and no waiting. Conversion runs entirely in your browser: URLs, tokens, and parameter values never leave your device, which matters because query strings frequently contain session identifiers, email addresses, and campaign data you would not want uploaded anywhere. The tool is free, needs no signup, and works on mobile.
Beyond the standard percent-encoded characters, the decoder treats a plus sign as a space, the convention used by HTML form submissions in the application/x-www-form-urlencoded format, and it accepts the URL-safe variants of percent encoding, where a hyphen stands in for a byte 62 and an underscore for a byte 63 in encoded output. Malformed input does not fail silently: if a percent sign is not followed by two valid hexadecimal digits, the tool reports the problem instead of guessing.
How to Use the Decoder (Step by Step)
- Paste the encoded URL, query string, or parameter value into the input area. Decoding happens immediately.
- Read the output panel. Percent escapes become characters, plus signs become spaces, and the URL structure becomes scannable.
- If the output still contains percent sequences, those bytes were not valid escapes; check for a truncated paste or a stray percent sign that was meant literally.
- Use the copy button to lift the decoded URL into your notes, bug report, or test harness.
A worked example. Paste the fragment utm_source=newsletter&utm_medium=email&utm_campaign=fall%2Bsale&name=Ana%20Garc%C3%ADa and the output reads utm_source=newsletter&utm_medium=email&utm_campaign=fall+sale&name=Ana García. Notice two details: the %2B became a plus sign, which here is a literal plus in the campaign name, and the accented í arrived through two bytes, %C3%AD, because the text was encoded as UTF-8 before escaping. Multi-byte characters decode as a unit, which is why names, emoji, and non-Latin scripts come through intact.
Understanding Percent Encoding
Percent encoding is a byte-level escape scheme. A character that is unsafe or reserved in a URL is replaced by a percent sign followed by the two-digit hexadecimal value of its UTF-8 byte. A space becomes %20. A slash becomes %2F when it must be literal inside a parameter. The scheme exists because URLs allow a limited alphabet unambiguously: letters, digits, hyphen, period, underscore, and tilde pass through untouched; everything else must be escaped to survive transport.
| Encoded | Decodes to | Common context |
|---|---|---|
| %20 | space | Search queries, form values |
| %2B | plus sign | Literal plus in campaign names, math expressions |
| %3D | equals sign | Nested parameters, base64 padding inside values |
| %26 | ampersand | Parameter values containing the parameter separator |
| %2F | slash | Redirect targets, path fragments inside values |
| %C3%A9 | é | Two UTF-8 bytes for one accented character |
The table shows the pattern that trips people up most: the ampersand and the equals sign are themselves separators, so when a parameter value contains them, they must appear as %26 and %3D. If you decode only half a query string, you will see separators where none exist. When debugging, decode the whole string at once rather than parameter by parameter.
The Query-String Debugging Angle
Most decoding sessions start with a broken or surprising URL. A landing page shows the wrong campaign because utm_campaign=fall%2Bsale was compared against fall+sale in code and never matched. A redirect loop happens because a return_url parameter was encoded once on the way out and decoded twice on the way back. An API call fails because a token containing %3D padding was truncated by a log formatter. In each case the first step is the same: decode the string and read what the values actually are.
Double encoding is the second classic. If a value was percent-encoded twice, a space appears as %2520 instead of %20, because the percent sign itself was escaped into %25. Seeing %25 anywhere in a URL is the fingerprint of an extra encoding layer. Decode once, and if the output still contains escapes, decode again; each pass peels one layer. Comparing the layers also tells you where the extra encoding happened, which narrows the bug to one service or template.
The plus sign deserves its own paragraph because it is genuinely ambiguous. In form-encoded data, a plus means space. In the path portion of a URL, or in strictly percent-based schemes, a plus is a literal plus character and a space should have been %20. This tool decodes plus as space because query-string debugging is the dominant use case; if your string is a path or a value where plus is meaningful, check whether the decoded plus should have stayed literal, and prefer %20 when you re-encode.
Decode, Encode, and the Round Trip
Decoding is the inverse of encoding, and the round trip is lossless when the input was well-formed: encode a sample string, decode the result, and you get the original back byte for byte. The reverse tool on this site uses the encodeURIComponent convention, which escapes everything except letters, digits, hyphen, underscore, period, and tilde. If you round-trip through this pair, characters that a browser might have left unescaped in a hand-typed URL, such as an unencoded tilde or slash, will come back escaped; the values are identical, but the representation can differ.
That distinction matters when comparing URLs for equality. Two strings can look different and mean the same thing: coffee%20shop and coffee+shop decode to the same value in form-encoded context, while a strict comparison of raw strings calls them different. Decoding both sides first is the reliable way to compare, and it is also the reliable way to log: store decoded values and re-encode at the point of use, rather than accumulating layers of escaping in your data.
Tips and Best Practices
- Decode the entire query string at once, not parameter by parameter, so escaped separators resolve correctly.
- Treat %25 as a red flag for double encoding; decode repeatedly until the output stops changing.
- When comparing URLs from different sources, decode both first, because representation differs even when values match.
- For values where a plus sign is meaningful, such as phone-number formats or certain campaign tags, verify the decoded output by hand.
- Never decode untrusted input and execute it; decoding reveals the original characters, including ones that markup or shells might interpret.
- When logging URLs for later analysis, log both raw and decoded versions; the raw version proves what was transmitted, the decoded one is searchable.