Query String Parser
Query String Parser
Parse query strings into JSON key-value data with repeated-key array support.
InputsManual input51 charsAuto run
File input
Choose a file
Click, drop, or paste from clipboard.
Options
0
No options.
More actions
Manual
Parsed query JSON
0
No output yet.
Live
Manual
Ready
51
Input
0
Output
0
ms
Flow
- Normalize input by removing optional leading question mark.
- Parse key value pairs with URLSearchParams.
- Convert duplicate keys into arrays and basic primitive values when possible.
Example
Worked example: repeated keys
- 1 Input = name=Ada&skills=chemistry&skills=coding
- 2 Parser collects skills as an array.
- 3 Output JSON includes name and skills list.
Repeated keys are preserved as arrays instead of being overwritten.
How
- Paste a raw query string or full URL with search parameters.
- Run parser to transform pairs into JSON output.
- Copy parsed JSON and continue analysis in your workflow.
Cases
- Audit UTM campaign links before launch.
- Inspect repeated filters in search URLs.
- Convert request logs into readable parameter objects.
Avoid
- Assuming all values remain strings when some literal values are converted.
- Forgetting to remove fragment content after hash symbols before parsing.
- Parsing already decoded values with plus signs when plus-as-space expectations differ.
FAQ
Do repeated keys become arrays?
Yes, duplicate keys are returned as arrays to avoid losing values.
Can I paste a full URL instead of only query text?
Yes, the parser extracts the query segment automatically when a full URL is provided.
Are numbers and booleans detected?
Yes, simple number and boolean literals are mapped to their primitive types.
Switch
Switch12
No match.