Query String Parser

Paste a query string like ?q=hello+world&page=2 or a whole URL. Each name and value is decoded and shown in a table, and also as JSON.

Use the tool

Loading the tool…

About Query String Parser

Paste a query string or a full web address and see its parameters as a table or as JSON. You can choose to read a plus sign as a space, which is how many forms encode spaces. Repeated parameters, such as two tag values, are shown together.

Worked example

Paste `?q=hello+world&page=2&tag=a&tag=b`. The table shows q as "hello world", page as 2, and tag with both values.

Limits

The parser reads the text you paste. It does not visit the address.

How to use Query String Parser

  1. Paste a query string or a full URL.
  2. Choose whether + means a space.
  3. Read the table and the JSON, and copy the one you need.

Good to know

  • The text after the first ? is read. A # and everything after it is ignored.
  • A name with no equals sign gets an empty value.
  • Names that repeat become a list in the JSON. Names that look like whole numbers are listed first in the JSON, which is how JavaScript orders object keys.
  • Pieces that are not valid percent-encoding are shown as typed, and the tool tells you.

Frequently asked questions

Should + be a space?

In normal web forms yes. In other places a + is just a plus sign. The box lets you pick.

What happens to parameters like a[]=1&a[]=2?

The names are kept as typed, so a[] appears with a list of values.

Is anything I type saved or sent?

No. The work happens in your browser on this page, and nothing is stored or sent to us.