URL Decoder
Paste any percent-encoded URL or text and get the decoded result instantly. Supports UTF-8, emoji and multi-layer encoding. Runs entirely in your browser.
Converts locally as you type — 250 ms debounce. Live mode can be turned off in Advanced options.
Decoded text appears here.
Advanced options
Paste a URL that contains a query string to see its protocol, host, path and parameters. The tool only reads the text — it never requests the URL.
Nothing validated yet.
How to Decode a URL
Three steps, one real example. Nothing to install and nothing to sign up for.
Encoded input
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%20world%26page%3D2
Decoded output
https://example.com/search?q=hello world&page=2
Paste the encoded string
Copy the percent-encoded URL or value into the box above. Decoding starts as you type, so there is no second button to hunt for. Live mode can be switched off in Advanced options.
Read the decoded result
The right-hand pane shows the readable text. Spaces, accented letters, Chinese characters and emoji are rebuilt from their UTF-8 bytes, and each query parameter is decoded separately so the URL stays intact.
Copy or download it
Use Copy result to put the plain text on your clipboard, or Download TXT to save it. A toast confirms the copy, and the character counter tells you how large the result is.
What Is URL Encoding?
The short version: a URL may only carry ASCII, so everything else is written as bytes.
A URL is limited to a small set of characters. Anything outside that set — a space, a Chinese character, an emoji, a # used as data rather than as a fragment marker — has to be written as a percent-encoded byte sequence: a % sign followed by two hexadecimal digits.
%20 is the encoded form of a space (hex 20). Characters outside ASCII are stored as UTF-8, which means one escape per byte: 中 (U+4E2D) becomes %E4%B8%AD and 😀 becomes %F0%9F%98%80. A URL decoder therefore rebuilds characters from bytes rather than from characters, which is why the UTF-8 assumption matters.
Some characters are reserved because they have a structural meaning: :/?#[]@!$&'()*+,;=. They are only escaped when they are data instead of syntax. A slash inside a query value has to travel as %2F; a query separator must stay a literal &.
Common characters and their percent-encodings
| Character | Name | Percent-encoded | UTF-8 bytes |
|---|---|---|---|
| (space) | Space | %20 | 20 |
| ! | Exclamation mark | %21 | 21 |
| " | Quotation mark | %22 | 22 |
| # | Hash (fragment marker) | %23 | 23 |
| $ | Dollar sign | %24 | 24 |
| % | Percent sign | %25 | 25 |
| & | Ampersand (parameter separator) | %26 | 26 |
| + | Plus sign | %2B | 2B |
| / | Slash (path separator) | %2F | 2F |
| : | Colon (scheme separator) | %3A | 3A |
| = | Equals sign | %3D | 3D |
| ? | Question mark (query marker) | %3F | 3F |
| @ | At sign | %40 | 40 |
| é | Latin small letter e with acute | %C3%A9 | C3 A9 |
| 中 | CJK character “middle” | %E4%B8%AD | E4 B8 AD |
| € | Euro sign | %E2%82%AC | E2 82 AC |
| 😀 | Grinning face emoji | %F0%9F%98%80 | F0 9F 98 80 |
One character can occupy up to four bytes in UTF-8, which is why single characters sometimes need four escapes in a row.
Why URLs Get Encoded
Three everyday places where percent-encoding shows up.
Query parameters
A search term that contains & or # would end the query string early if it were sent raw. Encoding keeps the value intact: ?q=rock%20%26%20roll reaches the backend as one parameter.
Form submissions
HTML forms post application/x-www-form-urlencoded data, where a space becomes +. That is why the same text can arrive as hello+world from a form and hello%20world from a link.
Redirect parameters
Login flows carry the destination inside the URL: ?next=https%3A%2F%2Fapp.example.com%2Fdashboard. Without encoding, the destination's own ? and & would be read as part of the outer URL.
Common URL Encoding Mistakes
The three that cause almost every “the link works but the text is wrong” bug.
Treating + as a space everywhere
A plus means a space in query strings and form data, but it is a literal plus in a path: /a+b is not /a b. This decoder checks the context before converting anything, and the Advanced panel lets you force either behaviour.
Decoding a whole URL at once
Running decodeURIComponent() over an entire URL turns every %26 into a real & and destroys the parameter boundaries. Split the URL first, then decode each value — which is what this tool does by default.
Decoding double-encoded links once
%2520 is a space that was encoded twice: the first pass gives %20, the second gives a space. If the output still contains %XX, the value is not fully decoded yet — enable “Decode repeated encoding” to continue layer by layer, or batch decode multiple URLs and inspect every layer of each line.
URL Encoding vs URL Decoding
Encoding makes a value safe to travel inside a URL: readable text becomes escapes such as %20. Decoding is the inverse — it turns those escapes back into readable text. The two operations are not perfectly symmetric, for two reasons. First, a decoded value can be ambiguous: once %26 becomes & you can no longer tell data from syntax, which is why a decoder should know which part of the URL it is working on. Second, several escape sequences can represent the same text, since some encoders escape unreserved characters and others do not. A URL decoder understands every valid escape; it does not guess which encoder produced it.
Frequently Asked Questions
Real questions from people who paste something and get an unexpected result.
Why is my decoded text still garbled?
URL decoding only understands bytes, not character sets. This tool always decodes percent-escapes as UTF-8, which is what modern websites use. If the original text was encoded with GBK, Shift_JIS or Windows-1252, those bytes map to different characters and you will see question marks or replacement characters. The decoder reports the exact fragment it could not map, so you can tell a charset problem apart from a broken link. Text that is encoded twice can also look garbled until the second pass runs — enable “Decode repeated encoding” to see the next layer.
Why did the plus sign turn into a space?
In application/x-www-form-urlencoded data — the format used by HTML forms and most query strings — a plus sign stands for a space. Outside that context it is a literal plus: in a URL path, in a fragment, and in plain text. This URL decoder looks at where the plus appears. It converts + to a space inside query values and form data, and leaves it alone in paths and plain text. You can override the behaviour with the “Plus sign” option in Advanced options.
What does %E4%B8%AD mean?
It is the UTF-8 percent-encoding of the character 中 (U+4E2D). The character is stored as three bytes — E4, B8 and AD — and each byte is written as % plus two hex digits, giving %E4%B8%AD. Paste it above and the decoder returns 中. Longer sequences such as %F0%9F%98%80 (😀) use four bytes and start with %F0.
Can I decode a URL without breaking its question mark and ampersand separators?
Yes, and that is the default. When the input looks like a URL, the decoder splits it first and decodes each query parameter separately, so %26 stays inside its value instead of becoming a separator. If you prefer the plain decodeURIComponent() behaviour over the whole string, turn off “Handle multiple parameters” in Advanced options.
Why does the tool say my percent-encoding is malformed?
A percent sign must be followed by exactly two hexadecimal digits (0-9, A-F). “100%” or “%ZZ” cannot be decoded, and a truncated UTF-8 sequence such as %E4%B8 is incomplete because the character needs one more byte. The decoder names the fragment and its position. If you still want the surrounding text, enable “Ignore invalid sequences”: the broken fragment is kept exactly as written and reported, never dropped.
Does this URL decoder send my URLs anywhere?
No. The page is static HTML, CSS and JavaScript. Decoding runs in your browser and there is no API call, no upload and no storage of your input — nothing is written to localStorage or to a server. You can disconnect from the network after the page loads and the tool keeps working.
Your URLs Stay in Your Browser
Decoding is plain JavaScript running in this tab. There is no backend endpoint that receives your text, no third-party API, and no copy of your input stored anywhere — not in localStorage, not in a cookie, not in a log. The only preference saved on your device is your light or dark theme choice. Because the URL parser only splits text, the tool never requests a URL you paste.