Network

Query String to JSON

Turn a query string into a JSON object.

How to use Query String to JSON

Query String to JSON — Turn a URL query string into a JSON object. Free to use in D2i DevTools — no account required.

Steps

  1. Fill in Query string. This field is required.
  2. Click Run and copy the result under the form.

Frequently asked questions

What is Query String to JSON used for?

Use it to read a=1&b=2 from a link without parsing it by hand.

How do I use the free online Query String to JSON tool?

Fill in Query string. This field is required. Click Run and copy the result under the form.

What can I paste or upload into Query String to JSON?

Paste a query string, with or without the leading question mark. A full URL is accepted and only the query is used.

What output does Query String to JSON give me?

JSON. A key that appears once is a string. A key that appears twice is an array of strings.

Is Query String to JSON free, and is my input private?

Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.

Does plus mean a space?

Yes. Query decoding treats + as a space, the same way application/x-www-form-urlencoded does.

Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.