← All tools

JSON to Query String Converter

Build a URL query string from a flat JSON object, with repeated parameters for arrays.

json-to-query-string-converterLOCAL WORKSPACE

Enabling local controls…

Converts in your browser. Maximum input: 32 KiB.

Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.

?city=%E5%8F%B0%E5%8D%97&tag=a%2Bb&tag=with+spaces&page=2
Expand complete selectable text
?city=%E5%8F%B0%E5%8D%97&tag=a%2Bb&tag=with+spaces&page=2

Query string to JSON →

How to use this tool

Paste JSON or open a UTF-8 file. Choose whether to include the opening question mark, then copy or download the result.

When not to use it

Use unique keys and a flat object. Values become text, single-item arrays become one parameter, and nulls and empty arrays are skipped. Quote numbers whose precision or original spelling matters. Form encoding writes spaces as +.