Query String to JSON

Runs in browser

Parse URL query strings into structured JSON instantly.

Parse URL query strings into structured JSON. Paste a full URL or raw query text — arrays and bracket keys are handled.

Query String to JSON tool

JSON
{
  "q": "developer tools",
  "category": "data",
  "sort": "popular",
  "page": "1",
  "tags": [
    "json",
    "api"
  ],
  "filter": {
    "price": "free"
  }
}

🔒 Runs in your browser · No uploads · Your data never leaves your device

How to use

  1. Paste input

    Use a full https URL or a raw query string.

  2. Toggle format

    Switch between pretty-printed and minified JSON.

  3. Copy JSON

    Copy the result for use in code or documentation.

Common use cases

  • Debugging URL parametersParse a query string from a URL to inspect all parameters as a readable JSON object.
  • Extracting form submission dataConvert URL-encoded form POST data to JSON to understand what values a form is submitting.

Examples

  • Search URL

    Nested and array-style params become structured JSON.

    Input
    https://example.com/search?q=tools&tags[]=json
    Output
    { "q": "tools", "tags": ["json"] }

Frequently asked questions

Is my URL sent to a server?
No. Parsing runs entirely in your browser.
Does it support deeply nested bracket keys?
One level of bracket keys and array suffixes ([]) are supported for typical query patterns.

Key concepts

Query string
The portion of a URL after ? containing key=value pairs, used to pass parameters to a web server.
URL encoding
Percent-encoding of special characters in URLs — spaces become %20, & separates parameters.

You might find these useful too.

More json tools