Examples
| Query string | JSON |
|---|---|
| a=1&b=2 | {"a":"1","b":"2"} |
| tag=x&tag=y | {"tag":["x","y"]} |
| user[name]=Ada | {"user":{"name":"Ada"}} |
| ids[]=1&ids[]=2 | {"ids":["1","2"]} |
Related tools
Frequently asked questions
What is a query string?
The part of a URL after the ? – key=value pairs joined by &, used to pass search terms, filters and tracking data.
How are repeated keys handled?
size=9&size=10 becomes "size": ["9", "10"].
What do brackets do?
filter[brand]=x becomes a nested object and colour[]=a becomes an array, the convention used by PHP, Rails and the qs library. Untick the option to keep keys exactly as written.
Are values decoded?
Yes – percent-encoding (%20) and + for spaces are decoded. Malformed sequences are left as they are rather than failing.
Why are numbers strings?
Query strings carry text only, so 2 stays "2" – which is exactly what a server receives.
Is the #fragment included?
No – the part after # is never sent to the server, so it is ignored.
How does JSON → query string encode values?
With encodeURIComponent, so &, = and non-ASCII characters are escaped. Spaces become %20, or + if you tick the option.
Does it handle semicolons as separators?
Yes – both & and ; are accepted.
Can it decode UTM parameters?
Yes – utm_source, utm_medium and the rest appear as ordinary keys. Use our UTM builder to create them.
Is the URL fetched?
No – the text is only parsed in your browser.
Is it free?
Yes – no sign-up, no limits and no watermark.
Is my input uploaded?
No. Everything runs in your browser tab; nothing you paste or open is sent to Docelora.
Can I use the output in commercial projects?
Yes. What you generate is yours to use however you like.
Does it work on a phone?
Yes – the layout adapts to small screens, though long code is easier to work with on a larger display.
How do I copy the result?
Use the Copy button under the result, or Download to save it as a file.
Which browsers are supported?
Current versions of Chrome, Edge, Firefox and Safari.
Do I need to install anything?
No – it runs in your web browser, and any library it needs is loaded from Docelora the first time you use it.
Is my input kept after I close the page?
No – copy or download the result before closing the tab.
Can I suggest an improvement?
Yes – use the Contact page to tell us what would make the tool more useful.
Does it work offline?
Once the page and its library have loaded, the processing itself needs no connection.
Last reviewed: 16 November 2026.