How-to guide

How to Decode a URL: Free Percent-Decoding Guide + Tests

Updated 2026-12-021256+ wordsFree tools · no signup

To decode a URL, paste the percent-encoded text — a query value, a redirect target, a full encoded link — into the URL Decoder and read the readable result. Percent-decoding (RFC 3986) reverses percent-encoding: each % plus two hex digits becomes one byte, and the byte stream is read as UTF-8, so %20 → space, %26 → &, %C3%A9 → é, %E2%9C%93 → ✓. Two rules decide most real-world cases: a bare + means space only in form-encoded query strings (Hellagape's tool keeps + as a plus — verified live below), and decoding must happen exactly once, because %2520 decodes to %20, not to a space.

How to decode a URL (step by step)

  1. Open the URL Decoder.
  2. Decide what you are decoding: one value (a query parameter value or path segment) or a complete URL. Decode values one at a time when you need to keep the URL working — see the method section below.
  3. Paste the encoded text into the Input to convert box. The RESULT box updates instantly as you type — there is no Convert button to press (verified live 2026-12-02). Load sample tries example text; Clear empties the box.
  4. Click Copy (or Download, which appears once a result exists) above the RESULT box to take the decoded text.
  5. Sanity-check: %20 should now read as a space and %26 as &. If the result still contains %XX escapes like %20, the text was probably encoded twice — decode the result once more and compare. If a + should have become a space, you are looking at form-encoded data; this tool keeps + as a plus (see below).

Worked example (verified live in the tool, 2026-12-02): caf%C3%A9%20%26%20bar → café & bar. The %C3%A9 pair is two UTF-8 bytes for one character, é — decoding works on bytes first, characters second.

How percent-decoding works, in plain words

A percent-encoded string is bytes in disguise. Decoding walks the string left to right:

  • A normal character copies straight through.
  • On %, read the next two hex digits and turn them into one byte (%20 → byte 0x20, a space; %26 → &).
  • Collect all bytes, then decode the whole byte stream as UTF-8 at the end. A multi-byte character only resolves once all its bytes arrive: %C3%A9 (bytes 0xC3 0xA9) becomes é, and %E2%9C%93 (three bytes) becomes ✓.

Verified character table (each row checked live in the tool and with Python urllib.parse.unquote on 2026-12-02):

EncodedDecodedWhy it matters
%20spaceAlways a space, anywhere in a URL
%26&Was data inside a value, not a parameter separator
%3D=Was data, not a name/value split
%3F?Was data, not the start of the query string
%2F/Was data, not a path separator — decoding a whole URL turns it back into structure
%23#Was data, not a fragment marker
%2B+A literal plus sign, always
+ (bare)+ in this toolSpace only in form-encoded query data; a plus in paths — test your receiver
%25%An encoded percent sign; %2520 is a double-encoded space
%C3%A9éNon-ASCII: two %XX groups, one UTF-8 character

More verified examples: hello%20world%20%26%20goodbye → hello world & goodbye; Jos%C3%A9%20Garc%C3%ADa → José García; a%2Bb → a+b; a+b → a+b (unchanged — this tool does not turn + into a space); %2520 → %20 (one decode pass); %E2%9C%93 → ✓.

Value vs whole-URL decoding: decoding one value (decodeURIComponent in JavaScript, unquote in Python) converts every escape, including reserved characters. Decoding a whole URL that way turns escaped data (%2F, %3F, %26) back into URL structure and changes what the address means. Split a URL into its parts first (?, &, =, /), then decode each value. Hellagape's tool shows no mode selector (verified live 2026-12-02) and its tests are value-style: treat it as a single-value decoder, and feed it one parameter value at a time.

Tips and common mistakes

  • Decode exactly once. %2541 decodes once to %41, twice to A. Double-decoding can hide a / or ../ behind a second layer (%252F). Decode once, then validate the result.
  • Split before you decode. An encoded %26 inside a value must stay literal data, not become a parameter separator. Split on real &, = and / first, decode after.
  • + is not always a space. In form-encoded query strings (application/x-www-form-urlencoded), + means space; in paths it is a literal plus. Hellagape's tool keeps + as + (verified: a+b → a+b). Reader test: if your source is a form submission and spaces arrive as +, replace + with %20 before decoding, or use a form-aware decoder (unquote_plus in Python).
  • Malformed escapes. A % with fewer than two hex digits after it (%2, %G1, a trailing %) is invalid. Strict decoders reject it; lenient ones pass it through. If a result looks wrong, check for a stray % first.
  • Decoding a whole URL changes its meaning. https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dcaf%C3%A9 decodes to a working link — correct for a redirect_uri value, wrong if you then re-encode it as one value. Keep track of which layer you are on.
  • Non-English text needs UTF-8. If decoded text shows mojibake (café), the bytes were read as Latin-1 instead of UTF-8. This tool reads UTF-8 (verified: %C3%A9 → é).

FAQ

How do I decode a URL online for free? Paste the encoded value into the URL Decoder's Input to convert box and copy the RESULT. It runs in your browser, needs no signup, and updates instantly as you type (verified live 2026-12-02).

What does %20 mean in a URL? %20 is a percent-encoded space (byte 0x20). It is correct anywhere in a URL, unlike +, which means space only in form-encoded query data.

Does + mean space in a URL? Only in form-encoded query strings and form bodies. In a URL path, + is a literal plus sign. Hellagape's decoder keeps + as + (verified: a+b → a+b); %2B always decodes to +.

Why does my decoded text still contain %20? It was encoded twice. %2520 decodes once to %20 (verified live). Decode the result once more to reach the space — and fix the double-encoding at the source if you control it.

How do I decode %C3%A9 and other non-English characters? Decode the bytes as UTF-8: %C3%A9 is two bytes forming é, %E2%9C%93 is three bytes forming ✓. Any correct percent-decoder, including this one, does this automatically.

What is the difference between decodeURI and decodeURIComponent? decodeURIComponent decodes every escape in one value, including / ? # & =. decodeURI preserves those reserved characters so a complete URL stays valid. Use the first for values, the second for whole addresses.

Is it safe to paste URLs into an online decoder? This tool states "Nothing is sent anywhere" and processes locally with JavaScript (verified live). Still, avoid pasting URLs containing tokens or passwords into any online tool — decode sensitive values locally in code instead.

How do I decode a URL in Python or JavaScript? Python: urllib.parse.unquote(value) (or unquote_plus for form data). JavaScript: decodeURIComponent(value) for one value, decodeURI(url) for a whole address. Outputs match the verified examples above.

Try it now

URL Decoder

Decode percent-encoded URLs and query strings back to readable text.

Open the free tool