- Paste a query string.
- Click Convert.
- Copy the JSON output.
Query String to JSON
Convert URL query strings into JSON objects.
How to Use This Tool
Learn More About Query String to JSON
Why convert query strings to JSON?
JSON is easier to inspect and manipulate than raw URL parameters, especially for debugging and testing.
About Query String to JSON
Query strings are a common way to pass parameters in URLs. This tool parses them into JSON for easier inspection, debugging, and testing.
Parse URL parameters into JSON objects.
- Runs in browser
- Yes
- Array support
- Repeated keys
- Output
- JSON
Examples
Convert UTM params
Turn URL parameters into JSON.
Input
?utm_source=google&utm_campaign=spring
Output
{
"utm_source": "google",
"utm_campaign": "spring"
}Features
Repeated key support
Turns repeated parameters into arrays.
Auto decoding
URL-encoded values are decoded automatically.
Fast output
Instant JSON preview with copy support.
Use Cases
- Inspect UTM parameters.
- Debug API request URLs.
- Convert form data to JSON quickly.
Frequently Asked Questions
Related Tools
Convert back to query strings using the JSON to Query String tool.