ToolHub

URL Query Parser

Convert a URL or query string into a JSON object, grouping repeated parameters into arrays. Everything runs in your browser.

Input
Output

FAQ

Is my URL sent to a server?

No. Everything happens entirely in your browser and no data leaves your device.

Can I paste a full URL?

Yes. Paste a full URL and only the part after ? is parsed; the # fragment is ignored.

What if a parameter repeats?

Repeated keys like tag=a&tag=b are grouped into an array ["a", "b"].

Related tools