Query String Converter
Query String to JSON Converter
Convert a URL query string into a JSON object and back. Accepts a full URL or a bare query string, decodes values, and groups repeated keys into arrays.
About Query Strings
A query string is the part of a URL that comes after the question mark (?). It carries data as a series of key/value pairs separated by ampersands (&), for example ?name=John&age=30. Values are percent-encoded so that spaces and special characters can be transmitted safely.
When the same key appears multiple times, it usually represents a list of values, and this tool groups those into a JSON array. Converting between query strings and JSON makes it easier to read, edit, and rebuild request parameters. Learn more in our URLSearchParams Reference.