Extract URL query parameters into a JSON object.
🔗 Extracts query parameters from a URL into a clean JSON object. Duplicate keys are collected into arrays.
URL query strings are the part after the "?" — parameters like ?q=hello&page=2. This tool parses them into a clean JSON object for easy inspection or use.
Each parameter name becomes a key in the result. A single value stays a string, while repeated names are collected into an array instead of silently overwriting one another. For example, a URL ending in?q=hello&page=2&tag=seo&tag=tools produces a result shaped like{ "q": "hello", "page": "2", "tag": ["seo", "tools"] }.
This is especially useful when a tracking link contains repeated filters or when you need to confirm which value a backend will receive for each parameter.
URL-encoded values are decoded by the browser's native URLSearchParams parser, so encoded spaces and other escaped characters become readable again. Anything after # is treated as a fragment and is not mixed into the query parameters.
You can paste a complete URL or only the query portion, such as page=2&sort=desc. A complete URL without a question mark has no query string and correctly returns an empty JSON object.
Parsing runs locally in your browser, making the tool convenient for inspecting private development URLs.
More tools you might find useful
Decode user-agent strings into browser, OS, engine, and device.
Base URL plus UTM parameters in, finished tracking link out — with naming hints.
Generate random v4 UUIDs for databases, sessions, and APIs.
Vin, R1, R2 to Vout and power - or solve R2 for a target voltage.