Query String to JSON
URL UtilityConvert URL query strings to JSON objects and vice versa. Free online query string to json converter with support for arrays and nested keys.
URL Parameters and JSON structures
This tool operates as a versatile query string to json and url params to json. Query strings are the default way parameters are sent in HTTP GET requests. However, standard query parameters are flat key-value strings. Developers often need to map these query strings to nested JSON structures for server frameworks or API requests. This two-way utility streamlines this translation.
Types and Array formats with URL PARAMS TO JSON
Because URL parameters are natively treated as strings, this tool provides an optional Parse Types mode to infer booleans (true/false), numbers, and null. When transforming JSON back to a query string, it can write arrays as repeating parameters (tags=admin&tags=user) or standard bracket suffix parameters (tags[]=admin&tags[]=user).
Safe Browser Conversion
All operations are executed strictly client-side inside your browser engine. No database parameters, keys, values, or credentials are sent to external services, ensuring absolute privacy for your dev environment variables.
Frequently Asked Questions
How do I convert a query string to json?
Paste the query parameters (e.g. ?name=test&age=20) into the input pane. The query string to json tool parses values client-side.
Does the tool support nested object brackets like user[name]?
Yes, you can enable bracket notation parsing in the options. This handles nested paths (e.g. user[name]=John&user[age]=30) and arrays (e.g. tags[]=admin&tags[]=user) to build deep, structured JSON objects instead of flat dictionaries.
Can I convert JSON back to a query string?
Yes, typing in the JSON editor will automatically serialize the JSON object back into a URL-encoded query string on the left, based on your configured array serialization settings.