JSON to Query String Converter (and URL Parameters to JSON)
Turn JSON into URL query parameters, or parse a query string or a whole URL into JSON. Nested objects and arrays use the bracket syntax that most web frameworks understand.
How it works
- 1
Paste or open your data
Paste text, drop a file onto the editor or click Open file. Load sample shows how the tool works.
- 2
Adjust the options
The result updates as you type. Change the options to get exactly the output you need.
- 3
Copy or download
Copy the result to the clipboard or download it as a file.
Why PixNudge
Nothing is uploaded
Your data is processed in your browser and never sent to a server, so API keys, tokens and customer data stay private.
Instant, even for large files
There is no round trip to a server: results appear as you type, and files of several megabytes are handled smoothly.
Exact numbers
Long numbers such as 64-bit IDs are kept exactly as written instead of being rounded.
Frequently asked questions
How are nested objects and arrays written?
Nested keys use brackets, such as filters[price][min]=10. For arrays you can choose indexes (a[0]=1), empty brackets (a[]=1), repeated keys (a=1&a=2) or comma-separated values (a=1,2), depending on what your server expects.
Can I paste a whole URL?
Yes. Everything before the ? and after the # is ignored, and percent-encoded characters and + signs are decoded.
Why do some values become numbers?
A query string contains only text. With Detect numbers and booleans on, values such as 2 and true become JSON numbers and booleans; turn it off to keep every value as a string.