How to use URL Encoder, Decoder and Query Editor
- Choose a job: encode a value for a URL, encode for a form query, or decode a URL part.
- Paste one value, or a full https:// address, into Value or web address.
- To change a query value, fill in Parameter to change and New parameter value.
- The result updates as you change the fields. Copy it.
Example: URL Encoder, Decoder and Query Editor
Change one query value in a complete address while the repeated key and the fragment stay as they were.
Options
- What do you want to do
- Encode a value for a URL writes spaces as %20, valid anywhere in an address. Encode for a form query writes spaces as +. Decode reads percent escapes and always treats + as a space.
- Parameter to change and New parameter value
- Fill in both and the tool rewrites that parameter in place, keeping the other pairs, their order and the fragment. A missing name is added at the end.
- Value or web address
- Paste one value, or a complete http or https address to inspect. The page never opens or fetches the address.
Supported inputs and limits
Where your input is processed
This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.
The parts of one address
In https://shop.example.com/search?tag=tea&tag=coffee&page=2#results the host is shop.example.com, the path is /search, the query holds three pairs with tag repeated on purpose, and the fragment is #results. The fragment stays with the page and is not sent to the server, so editing it never reaches the logs.
Questions about URL Encoder, Decoder and Query Editor
Why did my encoded value come back as %2520?
The value was encoded twice. The first pass turned a space into %20, and the second wrote a percent sign for the % character, giving %2520. Decode once and look before decoding again.
Can I add a parameter that is not in the address yet?
Yes. Enter the name and value and the pair is appended. When the name already exists, every matching pair is updated instead, which matters for addresses that repeat a key.
When should a space be a plus sign instead of %20?
Only inside a form-style query string, because that is the rule form submissions follow. In a path, a fragment or a value that will be encoded again, use %20, and write a literal plus as %2B.
Does this page visit the address I paste?
This tool never opens or fetches an entered address. It reads the text you paste and rebuilds it, so the tool itself makes no request to that host.