Query Parser
URL query string parser online. Parse query parameters into a key-value table instantly. Export as JSON or CSV—free URL parameter extractor.
URL or Query String
0 parameters foundFeatures
- Parse URL query strings into key-value pairs
- Paste full URLs or just query strings starting with ?
- Display parameters in a sortable table
- Export as JSON for code or CSV for spreadsheets
- Handles arrays and multiple values
- Automatic URL decoding for readability
Common Use Cases
- Debug API request parameters
- Analyze tracking URLs and UTM parameters
- Extract form submission data
- Inspect OAuth callback parameters
- Convert query strings to JSON for APIs
URL Query String Parsing
Query strings are the portion of a URL after the ? symbol, containing key-value pairs separated by & characters.
Query string format:
https://example.com/api?key1=value1&key2=value2&key3=value3
Common patterns:
- Simple pairs -
?name=John&age=25 - Arrays -
?tags[]=red&tags[]=blueor?tags=red&tags=blue - Nested -
?user[name]=John&user[age]=25 - Empty values -
?flag=&key(key with no value)
Automatic decoding: Query values are URL-encoded. Our parser automatically decodes %20 (space), %21 (!), and other encoded characters for readability.
Use cases: Debug API calls, analyze marketing URLs (UTM parameters), inspect OAuth redirects, extract search filters.
Examples
?name=John&age=25&city=NYC
→ name: John
→ age: 25
→ city: NYC?q=Hello%20World&lang=en
→ q: Hello World (decoded)
→ lang: en?tags[]=javascript&tags[]=typescript
→ tags[]: [javascript, typescript]Frequently Asked Questions
Arrays are represented as repeated keys (?tag=red&tag=blue) or with brackets (?tag[]=red&tag[]=blue). Our parser detects both formats and groups them automatically. Export as JSON to see the array structure.
Parameters with no value (e.g., ?flag&key) are treated as boolean flags. The key exists but the value is empty. Some APIs use this for toggles like ?debug or ?verbose.
Yes! While POST data is in the request body, it often uses application/x-www-form-urlencoded format, which is identical to query strings. Paste the body content (without the URL) to parse it.
Use the Export as JSON button. The output is a JSON object with key-value pairs. Arrays are represented as JSON arrays. This is useful for sending query data to APIs or storing it in databases.
The & (ampersand) is the standard separator (e.g., ?a=1&b=2). The ; (semicolon) is an alternative allowed by old W3C specs but rarely used. Modern URLs use & exclusively.