Query String to JSON

Parse URL parameters into nested JSON, with repeated keys becoming arrays.

Parse a query string

Parsed: —
A leading question mark is ignored, plus signs become spaces and every value is decoded before it is placed.

How to use the Query String to JSON

  1. Paste a query string, with or without the leading question mark.
  2. Choose a nested or flat output shape.
  3. Press Parse to JSON and copy the result.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online query string to json.

Paste the parameters, pick nested or flat output and press Parse to JSON to get a readable object you can copy.
No. A leading question mark is ignored, so you can paste either the full URL tail or just the parameter list.
Repeated names, and keys written with empty brackets, are collected into a JSON array in the order they appear.
Bracketed and dotted keys are split into path segments, so filter[roast] becomes an object with a roast property.
Percent escapes are decoded and plus signs become spaces, matching how browsers encode form submissions.
With coercion on, values that look like whole numbers, decimals, true, false or null become those JSON types.
No. Parsing happens entirely in your browser, so the parameters you paste are never uploaded or logged.
Yes, as long as you keep only the query part. Anything from the first question mark onwards is what gets parsed.
Yes. The parser is completely free with no account, no limits and no tracking.

Last updated: October 10, 2026