{ ILoveJS }

URL Decoder

Decode percent-encoded URL strings back to readable text.

urldecodepercent-encodingweb

What is URL Decoder?

URL Decoder is a tool that converts percent-encoded URL strings back into human-readable text. When URLs are encoded, characters like spaces, special symbols, and non-ASCII letters are replaced with a percent sign followed by a hexadecimal code — for example, a space becomes %20 and an ampersand becomes %26. This tool reverses that process, giving you the original, readable string in seconds.

For developers, this is an everyday necessity. Encoded URLs appear constantly in browser address bars, HTTP logs, API responses, authentication tokens, and form submissions. Trying to read or debug a URL like %2Fapi%2Fv1%2Fusers%3Fname%3DJohn%20Doe by eye is tedious and error-prone. A dedicated decoder removes that friction, letting you focus on what the data actually says rather than mentally parsing hex sequences.

How to Use

Using the tool is straightforward: paste your percent-encoded URL or URL fragment into the input field and the decoded output appears immediately. You can decode a full URL, just a query string, or even an isolated value — the tool handles all three. The output is plain, readable text that you can copy and use directly in your work.

The tool correctly handles both standard percent-encoding (as defined by RFC 3986) and the application/x-www-form-urlencoded format, where the plus sign (+) is treated as a space. This matters because form-submitted data and query parameters often use + instead of %20, and decoding them incorrectly produces garbled output. If you see a + in your encoded string, this tool will handle it as expected.

One edge case to be aware of: if your input contains a percent sign that is not followed by valid hex digits (e.g., a literal % in corrupted data), the decoder will flag or skip the malformed sequence rather than crash silently. It is also worth noting that decoding is not always reversible without context — some decoded characters may need re-encoding before being safely embedded back into a URL.

Use Cases

Debugging API query strings: When an API call fails and you copy the raw request URL from network logs, the query parameters are often percent-encoded. Decoding them reveals the actual values being sent, making it much easier to spot typos or unexpected characters.
Reading OAuth and SSO redirect URLs: OAuth flows and single sign-on callbacks frequently contain encoded state parameters, redirect URIs, and tokens inside URLs. Decoding the URL lets you verify that the correct values are being passed through the authentication chain.
Inspecting browser address bar URLs: Modern browsers encode non-ASCII characters and special symbols when you copy a URL. Pasting an encoded URL into the decoder instantly reveals the original path and parameters, which is useful when sharing links or verifying routing behavior in web apps.
Parsing webhook payloads: Webhooks from third-party services sometimes deliver URL-encoded bodies instead of JSON. Decoding the payload is the first step to reading the data, validating its structure, or transforming it for further processing.

Related Tools