Query String Parser
Paste a URL or a raw query string and parse every query parameter into a clean, readable key/value table — with URL-decoding, repeated-key grouping, and copy-as-JSON, all in your browser.
ToolsSoup's Query String Parser is a free online tool that turns the query part of a URL into a clean, readable table. Paste a full URL or just a raw query string (with or without the leading question mark) and instantly see every parameter name and value laid out clearly. Values are URL-decoded automatically, repeated parameters are kept in order, and you can copy the result as JSON in one click. Everything runs locally in your browser, so nothing you paste is ever uploaded to a server.
What is a query string parser?
A query string is the part of a URL after the question mark, made up of name=value pairs joined by ampersands — for example ?page=2&sort=price&tag=new. A query string parser reads that text and splits it into its individual parameters so you can see each name and value separately instead of scanning one long line. This tool uses the same URL and URLSearchParams logic browsers use natively, so percent-encoded characters (like %20 for a space) and plus signs are decoded back into readable text. It accepts a complete URL, a string that starts with a question mark, or a bare a=1&b=2 string, and it ignores any fragment on the end.
How to parse a query string
Reading a query string takes just a moment:
- Paste a full URL or a raw query string into the input box.
- Leave URL-decode on to see readable values, or turn it off to inspect the raw, percent-encoded text exactly as transmitted.
- Click Parse to see every parameter in a key/value table, then copy the result as JSON.
Repeated keys and empty values
Query strings can repeat the same name more than once — for example tag=a&tag=b — which is how arrays and multi-select filters are usually encoded. This parser keeps every occurrence as its own table row, in the original order, so nothing is silently dropped. When you copy as JSON, repeated keys are grouped into an array while single keys stay as plain strings. Parameters with no value, like a bare flag or flag=, are shown with an empty value marker so you can tell a present-but-empty parameter apart from a missing one.
Why use this query string parser?
- Accepts a full URL, a string starting with a question mark, or a bare a=1&b=2 query string.
- URL-decodes keys and values automatically, with a toggle to inspect the raw encoded text.
- Keeps repeated parameters as separate rows in order, the way arrays and filters are encoded.
- Copies the parsed result as clean JSON, grouping repeated keys into arrays.
- Runs 100% in your browser, so URLs with tokens or personal data never leave your device.
Frequently asked questions
Can I paste a whole URL or only the query string?
Either works. Paste a complete URL like https://example.com/search?q=hi&page=2 and the parser extracts the query automatically, or paste just the query string — with or without the leading question mark, such as ?a=1&b=2 or a=1&b=2.
How are repeated parameters handled?
Every occurrence of a repeated name is kept as its own row, in the order it appears. When you copy as JSON, repeated names are grouped into an array, while names that appear once stay as plain string values.
What does URL-decode do?
Query values are often percent-encoded — %20 for a space, %26 for an ampersand — and spaces are sometimes written as plus signs. With URL-decode on, the parser converts those back to readable characters. Turn it off to see the exact raw text that was transmitted.
Is my URL uploaded anywhere?
No. All parsing happens locally in your browser with JavaScript. The URL or query string you paste and the parsed result never leave your device, so it is safe to paste URLs that contain tokens or other private data.