18 chars · 1 line
34 chars · 3 lines
18 chars · 1 line
34 chars · 3 lines
Query builder shape error
A query string needs named parameter keys. Build mode therefore maps object properties to query keys and rejects arrays, strings, numbers, booleans, and null at the top level. This tool is free to use. No account or payment is required.
Last updated
An object such as {"q":"vetatool"} has an explicit key that can become q=vetatool. A top-level array has values but no stable parameter names.
Arrays are supported one level down as repeated values for a named object property.
Both snippets are valid JSON, but only the object has a parameter name.
[["q","vetatool"]]{"q":"vetatool"}Common questions
Yes, if every array item is a supported primitive. It becomes repeated query parameters.
The converter avoids inventing parameter names or positional conventions.
No. Build Query requires a non-null JSON object.
Debugging a specific Query String issue? Browse Query String troubleshooting.