Query String to JSON
Runs in browserParse 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
Paste input
Use a full https URL or a raw query string.
Toggle format
Switch between pretty-printed and minified JSON.
Copy JSON
Copy the result for use in code or documentation.
Common use cases
- Debugging URL parameters — Parse a query string from a URL to inspect all parameters as a readable JSON object.
- Extracting form submission data — Convert 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.
Inputhttps://example.com/search?q=tools&tags[]=jsonOutput{ "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.
Related tools
You might find these useful too.