Decode every URL parameter and turn the query string into JSON
Query String Builder
Type parameters plainly and get a correctly encoded URL without escaping anything by hand.
Loading tool…
How to use query string builder
Enter a base URL, or leave it empty for just the query string.
Add parameters as key and value pairs; repeat a key to send a list.
Choose whether spaces become + (form style) or %20 (RFC 3986).
Copy the full URL or only the query string.
What this tool does
- Encodes &, =, #, spaces, emoji and every other reserved character correctly.
- Imports an existing URL or query string so you can edit its parameters.
- Switches parameters on and off without deleting them.
- Decodes the result again and confirms it matches what you typed.
How the result is verified
The finished query string is split and decoded again, and the tool shows a tick only when every key and value comes back exactly as entered.
Frequently asked questions
Should spaces be + or %20?
Both decode to a space in query strings on nearly every server. + is what HTML forms send; %20 is the RFC 3986 form and is safer when the same text might end up in a path.
How do I send an array?
Repeat the key: tag=a&tag=b. Some frameworks such as PHP and Rails expect tag[]=a&tag[]=b instead; type the brackets into the key if your server needs them.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Break a URL into scheme, host, port, path, query and fragment
Campaign links with utm_source, medium and campaign, checked for GA4
Build a correctly quoted curl command from a request form