How to Decode Percent-Encoded URL Text
Paste the percent-encoded text into URL Decode and run it to obtain decoded text. Then inspect the second-pass indication to learn whether decoding the first result changed it again.
Understand the decoding task
Percent-encoded text replaces characters with sequences such as %20, %26, and %3D. Decoding converts those supplied sequences back into their corresponding characters, which makes a query string or another encoded value easier to inspect. The URL Decode tool is intended for text that you provide rather than for retrieving a web address. Its input is optional, so you can open the tool before deciding which value to examine. The result also records whether a second decoding pass changed the text. This is useful when an encoded value may contain another layer of percent encoding, because the first pass can expose sequences that become decodable only during the next pass. Reviewing both parts of the result helps you distinguish a straightforward conversion from text that changed again after the initial conversion.
Decode a supplied value
- Open the URL Decode tool and find its text-area input. 2. Paste the percent-encoded value you want to inspect. Include query-string characters when they belong to the supplied value, such as
hello%20world%20%26%20foo%3Dbar. 3. Run the tool with its available action control. It applies one percent-decoding pass and then applies a second pass to the resulting text. 4. Read the decoded text in the returned result. Sequences representing a space, ampersand, or equals sign can become the corresponding characters during decoding. 5. Check the separate indication for the second pass. If that pass changed the text, the first conversion exposed content that could be changed again; if it did not, the additional pass made no alteration. 6. If you did not enter text, run the tool only after placing the value in the text area. Empty input still produces a successful result, but it includes an error indication that no text was provided. If the returned details show an error indication from an exception, use the result details to understand the issue rather than treating the operation status alone as the full explanation.
Interpret the returned details
The main decoded-text value represents the output after the supplied percent-encoded sequences have been processed. For the sample value in the procedure, %20 corresponds to a space, %26 corresponds to &, and %3D corresponds to =. These conversions let you inspect the characters represented by the input, but they do not establish that the surrounding text follows valid URL syntax. The second-pass indication answers a different question: it tells you whether applying decoding again changed the text after the first pass. A changed result points to another encoding layer being exposed, while an unchanged result means that extra pass did not modify the text. Empty input has its own boundary condition, because the tool reports success together with an indication that no text was provided. An exception is likewise represented inside a successful result with an error indication, so inspect the returned details when the content is not what you expected.
Worked example
You received the encoded value hello%20world%20%26%20foo%3Dbar and want to inspect the characters it represents.
Enter hello%20world%20%26%20foo%3Dbar in the text area and run the tool.
The returned result contains decoded text corresponding to hello world & foo=bar and an indication stating whether the second decoding pass changed that text.
Limitations
- The tool processes text you provide; it does not retrieve a web address or confirm valid URL syntax around that text.
Common errors
- A blank text area produces a successful result with an indication that no text was provided. Paste the value into the input before running the tool so the returned details describe supplied text.
FAQ
Can I use URL Decode to check whether a URL is valid?
It can decode supplied percent-encoded text, but it does not confirm that the surrounding text follows valid URL syntax. Use the result to inspect characters represented by the input rather than to validate the address.
What does the second decoding pass mean?
A changed second pass means the first pass exposed content that was changed by decoding again. An unchanged second pass means the additional conversion did not alter the resulting text.
What happens when I submit an empty input?
When no text is supplied, the tool returns success with an error indication that no text was provided. Enter the value in the text area and run the tool again to inspect it.