JSON to Query String Converter
Build a URL query string from a JSON object.
JSON
Query string
About the JSON to Query String converter
Building a query string by hand means remembering to encode every value, and getting it wrong produces a URL that mostly works until someone searches for something containing an ampersand.
Paste an object and get a correctly escaped query string.
Arrays and nesting
An array becomes the same key repeated once per value, which every common server framework reads back as a list.
Nested objects have no universal representation in a query string, so they are written as JSON text. If your API expects a particular bracket convention, flatten the object before converting.
Frequently asked questions
Is the leading question mark included?
No, so you can append it to a URL that may already have parameters. Add ? or & yourself as appropriate.
Is my data uploaded?
No. The conversion runs in your browser, which matters here — configuration files and spreadsheets routinely contain credentials and personal data.