What is URL Decoding?
URL decoding is the reverse process of URL encoding. It converts percent-encoded strings — where special characters have been replaced with a % sign followed by two hexadecimal digits — back into their original, human-readable characters. For example, hello%20world becomes hello world, and caf%C3%A9 becomes café.
When web browsers, servers, and APIs receive URLs, they automatically decode the percent-encoded sequences before processing the request. However, developers frequently need to decode URLs manually — for example, when reading API responses, inspecting query parameters in server logs, or debugging encoded data received from a third-party service.
URL decoding is defined by the same standard as URL encoding: RFC 3986 (Uniform Resource Identifier syntax). Both + (representing a space in query strings) and %20 (the strict space encoding) are handled correctly by this tool, which uses PHP's native urldecode() function.
Common scenarios where you'll need URL decoding include: reading encoded email links, examining logged HTTP request parameters, working with OAuth authentication tokens, and debugging API integrations where parameters are passed in encoded form.
How to Use This URL Decoder
- Paste your encoded string: In the left text area, paste the percent-encoded URL, query string, or any encoded value you wish to decode.
- Click "Decode URL": The tool processes your input instantly and displays the decoded, human-readable result on the right.
- Copy the result: Click Copy Output to copy the decoded string to your clipboard for use in your code or documentation.
- Try full URLs: You can paste a complete encoded URL (including the protocol and path) and the entire string will be decoded, making it easier to read and understand.
The tool handles all percent-encoded characters, including %20 (space), %26 (&), %3D (=), %2F (/), as well as multi-byte UTF-8 encoded characters like %C3%A9 (é) and emoji sequences.
Why is URL Decoding Important for Developers?
URL decoding is an essential skill and tool for any web developer or system administrator. Here's why:
- Debugging API Integrations: When working with third-party APIs, query parameters are often percent-encoded in responses, headers, and redirect URIs. Decoding them manually lets you inspect values quickly without writing code.
- Reading Server Logs: Web server access logs (Apache, Nginx) record incoming request URLs in their raw, encoded form. Decoding these makes it much easier to understand what your users were doing or to diagnose errors.
- OAuth & Authentication Flows: OAuth 2.0 and OIDC authentication flows use encoded redirect URIs and state parameters. Decoding these values is necessary when debugging authorization issues.
- Email Link Tracking: Email marketing platforms encode tracking parameters in URLs. Decoding these links reveals the original destination URL and tracking metadata.
- Form Data Inspection: GET form submissions encode field values in the URL. Decoding the query string makes it easy to read submitted data without a browser developer tools panel.
- Data Processing Pipelines: ETL pipelines, data scrapers, and web crawlers often encounter encoded URLs in sitemaps, feeds, and data exports that must be decoded for processing.
URL Decoding Examples
hello+world https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dcats+%26+dogs user%40email.com na%C3%AFve+r%C3%A9sum%C3%A9
hello world https://example.com/search?q=cats & dogs [email protected] naïve résumé
As you can see, all percent-encoded sequences are restored to their original characters. Multi-byte UTF-8 sequences like %C3%AF (ï) and %C3%A9 (é) are correctly combined and decoded to their Unicode characters.
Need to encode a URL instead? Use our companion URL Encoder tool.