Query String Parser
Convert a URL query string into readable JSON.
Read the guideRun the tool
The calculation runs in your browser. This tool does not send your input to JVR Software.
More information
Back to the toolWhat it is and when to use it
Query Parser helps you read URL query parameters as a set of names and values. It is useful when debugging a filter, working with a link someone supplied, or understanding what a search page passes to the server via its address.
How it works
The browser reads the query as form-style URL parameters. Ampersands divide entries, and an equals sign separates a name from its value. Percent escapes are decoded, and plus can represent a space. Duplicate names are valid and can occur in order, depending on the receiving application.
How to use it
- Paste a full URL with a query or paste a query string.
- Run the parser and review both names and decoded values.
- Compare them with the application’s rules for empty values, repeated names and case before drawing conclusions.
Worked example
The query city=Cape+Town&role=driver contains city with value Cape Town and role with value driver. In q=A%2BB, the value is A+B. An explicit empty value such as note= can carry a different meaning in an application than omitting note entirely.
Reading the result
A single value appears as a string and repeated keys become arrays of values in their original order for that key. Compare these values with what your application actually consumes. A number-looking value arrives as text, and an empty string can have a different meaning from an omitted field.
Common mistakes and limits
Fragments follow # and have separate browser behaviour. Leave them out when copying an isolated query string. Links can carry login tokens, personal data and tracking identifiers, so use synthetic inputs when demonstrating query formats to other people.
