URL Decoder: Turn %20, %2F & %C3%A9 Back Into Text
Paste a percent-encoded URL or query string and read it as plain text: %20 becomes a space, %C3%A9 becomes é, and + in a query becomes a space.
Updated November 2026
Reviewed by Rafael Duarte
How the URL decoder works
Three steps from percent-encoded to readable
1. Paste the encoded string
A full URL, a query string fragment, or any percent-encoded value.
2. Read the decoded result
The result appears under Decoded Result as you type. Every %XX sequence turns back into its original character, multi-byte UTF-8 sequences are reassembled, and + after the ? becomes a space. With no ?, a + stays literal only when the input starts with https:// (or another scheme) or /; a loose fragment like a+b comes out as a b.
3. Copy it
Click Copy. Shift+Enter also copies, but only when the cursor isn't inside the text box: click outside it first.
What this URL decoder does
More than a bare decodeURIComponent() call
Handles %XX and +
Decodes percent-encoded sequences and also turns + in a query string back into a space, the way application/x-www-form-urlencoded data uses it, while leaving a + in a URL path alone.
Reassembles multi-byte UTF-8
Accented letters, CJK characters, and emoji made of several %XX bytes come back as a single, correct Unicode character.
Warns about malformed sequences
If a % isn't followed by two valid hex digits, the output stays empty and you get a warning instead of garbled text. The message doesn't say where the bad sequence is, so look for a stray % (like "50% off").
Swap & Encode
The Swap & Encode button opens the URL Encoder with the decoded text already filled in, so you can edit a value and encode it again.
Runs entirely in your browser
Decoding happens locally via decodeURIComponent() — nothing is sent to any server.
Examples
Common percent-encoded strings and what they decode to
When you'll reach for a URL decoder
The scenarios that come up most often
Debugging an API response
Headers like Location or Referer routinely arrive percent-encoded and unreadable as-is.
Reading raw server logs
Query strings in access logs turn from %3F noise into an actual sentence once decoded.
Inspecting a redirect chain
A redirect URL embedded inside another URL is almost always double-encoded — decode twice to see the real destination.
Working through an OAuth flow
Authorization codes and tokens show up percent-encoded in callback URLs — you need them plain to copy into a request.
Security review of HTTP requests
Encoded payloads in request parameters can hide injection attempts, and a suspicious link can hide its real destination. Both are only obvious once decoded (see how to spot phishing links).
Decoded output looks wrong? Start here
The mistakes that trip people up most
Double encoding
A string encoded twice needs two passes through the decoder — the first pass still leaves %XX sequences in the result.
+ isn't always a space
It only means space in application/x-www-form-urlencoded query strings. This decoder turns every + after the ? into a space. Without a ?, it keeps + only if the input starts with a scheme (https://) or /; a bare fragment such as a+b becomes a b. If your fragment really contains a plus sign, it should be encoded as %2B.
Malformed % sequence
A % not followed by two valid hexadecimal digits is invalid, so the whole decode fails and the output stays empty. A single stray % is enough, and the warning doesn't point to it: search the input for % signs that aren't followed by two hex digits.
Why decode a URL here
Every decode happens locally in JavaScript, right in your browser — nothing is uploaded, nothing is logged.
Correct multi-byte UTF-8 reassembly and proper handling of + as a space in query strings sidestep the two mistakes people run into most when they try to decode a URL by hand.
Quick Tools vs. the browser console
Same underlying function, a much faster workflow
Frequently asked questions
URL decoding converts percent-encoded %XX sequences back to characters. Base64 decoding converts a string made of A–Z a–z 0–9 + / characters back into its original bytes — they're unrelated formats. If your string looks like aGVsbG8=, use a Base64 decoder instead.
It was almost certainly encoded twice: each literal % became %25 on the second pass. The decoder does one pass at a time, so paste the decoded output back in and decode it again to finish the job.
URLs can only carry a limited set of ASCII characters, so spaces, accents and symbols are written as % plus two hex digits for each UTF-8 byte: a space is %20, é is %C3%A9. For the full background, read What Is URL Encoding?.
It decodes to %20, not a space. %25 becomes a literal %, which leaves 20 right after it forming %20. Run it through the decoder a second time to get the actual space character.
It depends on the goal. To read a URL as plain text, decode the whole thing. To process it programmatically, decode each parameter value separately with your language's URL parser instead of decoding the full string at once.
Yes — it correctly reassembles full UTF-8 byte sequences, so Arabic, Chinese, Japanese, Cyrillic, accented Latin letters, and emoji all decode back to the right character.
Yes. Decoding runs entirely client-side via JavaScript — open your browser's network tab while using it and you'll see no outgoing request carrying your data.
References
Related Tools
- URL Encoder: Encode Query Strings, Spaces & UTF-8 Developer Turn spaces, accents and symbols into %20, %C3%A9 and %26 for links and query strings, with spaces as %20 or +. Runs locally in your browser.
- Base64 Decode Online — Free Base64 to Text Decoder Developer Free online Base64 decoder — decode Base64 strings back to plain text instantly in your browser. Validates input and shows decoded payload size.
- Base64 to Image Online: Preview and Save PNG, JPG, GIF Developer Paste raw Base64 or a data:image URL to preview the image with its type, dimensions and size, then save the original file. No upload, runs in your browser.
- HTML Entity Decoder: Unescape HTML to Plain Text Developer Paste text with <, &, " or ' and get plain text back. Decodes every HTML5 named entity plus decimal and hex references, in your browser.
- Base64 Encoder: Encode Text, PDF & Files Online Developer Encode UTF-8 text or any file (PDF, DOCX, XLSX, ZIP up to 50 MB) to Base64 or Base64URL. Runs in your browser, nothing is uploaded. Free, no sign-up.