JSON to Query String

Paste JSON, configure how nested objects and arrays are encoded, and generate a URL query string. Runs entirely in your browser.

Private by architecture: All processing is 100% client-side memory. Your data never leaves this browser tab.
JSON input
0 lines · 0 charsJSON
Query string output
Ctrl/Cmd+Shift+C
0 charsQuery String

Example

Default options applied to a typical API filter payload:

{
  "page": 2,
  "limit": 20,
  "tags": ["api", "json"],
  "filter": {
    "status": "active"
  },
  "enabled": true,
  "empty": null
}

produces:

page=2&limit=20&tags=api&tags=json&filter%5Bstatus%5D=active&enabled=true

FAQ

Can I convert query strings back to JSON?
Yes! Click the ⇌ swap button or toggle the Direction dropdown to parse query strings back into structured JSON.
Does this send my JSON anywhere?
No. Parsing and conversion happen in your browser with plain JavaScript. Nothing is uploaded.
What happens to null and empty values?
By default, null values are excluded and empty strings are included as an empty parameter value. Both are configurable above.
How are nested arrays of objects handled?
Each array item is encoded using the selected array style, recursing into the nested-object style for object items.