{ }Free
Query string and JSON
Parse duplicate query keys or build a URL query from JSON.
Parse duplicate query keys or build a URL query from JSON. Convert repeated query keys to arrays, or expand JSON array properties into repeated URL fields. URLSearchParams handles percent encoding and the plus-sign representation of spaces.
How to use
- Enter your text, values, or image.
- Adjust the options and run the tool.
- Copy or download your result.
Worked example
Example input
Input: a=1&a=2&b=x+y Direction: parse
Example result
{
"a": [
"1",
"2"
],
"b": "x y"
}Limitations and details
Values are text; nested JSON objects are not recursively encoded, and prototype-related property names are rejected when parsing.
Inputs and options
- Input
- Text
- Direction
- Query to JSON / JSON to query
Frequently asked questions
Is this tool free and private?
Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.