JSON to Query String Converter

Turn a JSON object into a URL query string, with encoded values and bracket notation for nested data and lists.

Processed on your device. Files are not uploaded

How to turn JSON into a query string

  1. Paste your JSON

    Paste or type it into the box, or press Try an example.

  2. Read the result

    Keys and values are percent-encoded. Nested data uses brackets.

  3. Copy or download

    Append the string to a URL after a question mark.

Worked example

This is what JSON to Query String Converter gives for its own sample values. Open the tool above and change anything to try your own.

JSON

{ "q": "red shoes", "page": 2, "tags": ["new", "sale"], "filter": { "size": 42 } }

Query string

q=red%20shoes&page=2&tags%5B0%5D=new&tags%5B1%5D=sale&filter%5Bsize%5D=42

About JSON to Query String Converter

Turn a JSON object into a URL query string such as q=red%20shoes&page=2. Lists and nested objects use bracket notation, which most back ends can read.

FAQs

How are lists written?

As tags[0]=new&tags[1]=sale.

Is it encoded?

Yes. Keys and values are percent-encoded.

Can I go the other way?

Use Query String to JSON Converter.

Related tools