?=Query String Parser
A query string is the part of a URL after the ? character, consisting of key=value pairs separated by &. This tool parses a raw query string into a visual table and JSON output, automatically detecting duplicate keys and array-style parameters (foo[]=1&foo[]=2). The builder tab lets you compose a query string by filling in a table of key-value pairs.
How to Use
- 1Use the Parser tab
Paste a query string into the input field. The leading ? is optional. The parsed key-value table and JSON output appear instantly.
- 2Check array parameters
Duplicate keys and [] notation are automatically grouped as arrays and shown with an 'Array' badge.
- 3Use the Builder tab
In the Builder tab, add key-value rows to compose a query string. Use 'Import to Builder' to bring parser results into the builder for editing.
- 4Copy results
Copy the JSON output or the generated query string using the copy buttons.
Tips
- 💡Repeated keys like foo=1&foo=2, or array notation like tags[]=js&tags[]=ts, are automatically grouped into arrays.
- 💡Click 'Import to Builder' to transfer parsed results to the Builder tab for further editing.
- 💡Use this alongside the URL Parser tool for full URL analysis plus detailed query string editing.
- 💡All processing is done in your browser — sensitive query strings are never sent to a server.
FAQ
- Q. What is a query string?
- A. A query string is the part of a URL after the ? character, consisting of key=value pairs separated by &. Example: ?page=1&sort=desc. It is the standard way to pass data in GET requests.
- Q. Can arrays and objects be represented in a query string?
- A. Yes, using various conventions. Arrays can use ?tags=a&tags=b or ?tags[]=a&tags[]=b. Nested objects use ?user[name]=John. Different libraries and frameworks may parse these differently.
- Q. How are special characters and non-ASCII text handled?
- A. Special characters and Unicode text are percent-encoded (%XX) in query strings. This tool automatically decodes percent-encoded values to show the original text.