Parse Query String

Paste a query string or build one from key-value pairs

Add key-value pairs to build a query string

Paste and parse a query string first to see JSON output here.

How It Works

  1. Paste a query string in the Parse tab
  2. Click Parse to extract key-value pairs
  3. View results as a table or JSON
  4. Use the Build tab to create query strings

Supported Formats

  • Simple - key=value
  • Multiple - key1=a&key2=b
  • Arrays - colors=red&colors=blue
  • Indexed - colors[0]=red
  • Nested - user[name]=John
  • Encoded - key=hello%20world
  • Empty - key=&key2

Related Tools

URL Encoder / Decoder

Encode and decode URLs instantly. Convert special characters to URL-safe format.

URL Parser

Break down any URL into its individual components with color-coded output.

JSON Formatter

Format, validate, and beautify JSON data with syntax highlighting.

Frequently Asked Questions

What is a query string?

A query string is the part of a URL that follows the question mark (?) and contains key-value pairs separated by ampersands (&). For example, in example.com?name=John&age=30, the query string is name=John&age=30.

How do I parse URL parameters?

Paste your query string (with or without the leading ?) into the input field and click Parse. The tool will extract all key-value pairs and display them in a table, handling arrays and nested objects.

Can this tool handle array parameters?

Yes. Parameters like colors=red&colors=blue are detected as arrays. Indexed parameters like colors[0]=red&colors[1]=blue are also supported and grouped together.

Is my data uploaded to a server?

No. All processing happens entirely in your browser. Your query string data never leaves your device.

Read Guide: Query String Parser Guide