Query string to JSON
Parse a URL query string into JSON and build one back. Repeated keys become an array, tag[]= and filter[price]= expand into arrays and objects, + is a space and %C3%A9 is é.
Related tools
All JSON, XML & formats tools →Query string to JSON is free to use as often as you like, directly from this page. It sits under JSON, XML & formats in our catalogue, alongside JSON to query string and Query String Builder / Parser.
How to use it
- Open the tool — no signup or install needed.
- Enter your input or adjust the available options.
- Get your result instantly, then copy or download it.
Frequently asked questions
What does Query string to JSON do?
Parse a URL query string into JSON and build one back. Repeated keys become an array, tag[]= and filter[price]= expand into arrays and objects, + is a space and %C3%A9 is é.
When would I actually use this?
Making a machine-generated blob readable, finding the character where a parse fails, and shrinking a file before it ships.
What is the most common mistake?
Assuming valid means correct. A document can parse cleanly and still have the wrong shape for whatever will read it — validation checks the syntax, not the schema.
How is Query string to JSON different from JSON to query string?
They sit next to each other but answer different questions. JSON to query string: turn a flat JSON object into a URL query string. Pick whichever matches what you're starting from — both are free.
Is there a tool for the next step?
Query String Builder / Parser is the closest one after this: Build a URL query string from key/value rows with correct percent-encoding, array syntax options and a UTM preset — or parse an existing URL back into rows.
What else is worth having open alongside it?
JSON String Escape / Unescape and CSV to JSON converter — they come up in the same task often enough to be worth a second tab.
Where do the figures come from?
Parsing and serialisation follow each format's specification. Key order and whitespace are not semantically meaningful in JSON or YAML, so a reformatted document is equivalent even when the bytes differ.