Convert a JSON object into a URL query string with bracket notation for nested objects and arrays, fully percent-encoded.. JSON to Query String is a free online tool from the ToolsRift Developer Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Loading JSON to Query String…
How to use JSON to Query String
Paste a JSON object and the tool flattens it into an encoded query string, using bracket notation like items[0]=a for arrays and user[name]=x for nested objects.
Frequently asked questions
How are nested objects handled?
Keys are flattened with bracket notation, so { user: { id: 1 } } becomes user[id]=1, a convention many backends parse automatically.
How are arrays serialized?
Arrays use indexed brackets like tags[0]=a&tags[1]=b, preserving order when the query string is parsed back into a structure.
Are values encoded?
Yes — every key and value is percent-encoded so special characters remain valid within the resulting URL query string.
ToolsRift processes your files in your browser. We use cookies only for basic analytics and to support ads that keep every tool free. See our Cookie Policy.