URL Decoder Online
Loading tool...
URL encoding converts special characters into percent-encoded sequences — a space becomes %20, an ampersand becomes %26, and so on. When you're reading a URL from a log, an API response, or a form submission, these encoded strings can be hard to parse at a glance. This tool decodes them back to readable text.
How it works
The decoder runs your input through JavaScript's built-in decodeURIComponent() function, which reverses percent-encoding. It handles both standard ASCII percent-codes and multi-byte sequences for non-English characters. Processing is entirely client-side.
How to use it
- Paste your encoded URL or query string into the input field
- The decoded output appears instantly
- Click copy to grab the readable result
Example
https://example.com/search?q=hello%20world&lang=en%2FUS
Decodes to:
https://example.com/search?q=hello world&lang=en/US
A few things worth knowing
- Full URL vs query string: You can paste the whole URL or just the encoded query string parameter value — the tool handles both
- Double encoding: If a URL was encoded twice (e.g.
%2520instead of%20), one pass of decoding gives%20, not a space. Run it through a second time to fully decode - Malformed sequences: If a percent code is invalid (e.g.
%GG), the decoder will flag it or leave it as-is
FAQ
What is the difference between decodeURI and decodeURIComponent?
decodeURI preserves characters that are structural to a full URL (like ?, &, #, /). decodeURIComponent decodes everything including those characters. This tool uses decodeURIComponent, which is appropriate for decoding individual parameter values.
Why do spaces become %20 instead of +?
Both are valid in different contexts. %20 is the standard percent-encoding. + for spaces is specific to HTML form submissions (application/x-www-form-urlencoded). This tool decodes %20 → space; if you have + for spaces, they'll need to be handled separately.
Related Tools
Example Usage
Sample Input / Output
Hello%20World%21%20%26%20Welcome
This shows a sample input and the format you can expect back from url decoder.
Professional Resources & Documentation
Stay updated with the latest industry standards and technical specifications. Our team recommends these authoritative sources for deepening your understanding of url decoder and related technologies.
The definitive resource for web developers.
Global Q&A community for professional and enthusiast programmers.
World's leading AI-powered developer platform.
Related Tools
JSON Formatter and Validator
Format, validate, and minify JSON code online. Easy to read and debug.
Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 back to readable text instantly.
JWT Decoder
Decode JSON Web Tokens (JWT) to see the header, payload, and signature details.
How to use URL Decoder
Step-by-step guide, tips, and use cases
