TextArray
100% local

URL query parser

Extract query-string parameters from a URL and view them as readable JSON.

Input
Output

URL query parser

Paste a URL and this tool takes its query string apart into clean, readable JSON. Instead of squinting at a wall of ampersands and percent escapes you see every parameter as a key–value pair, fully decoded: %20 and + become spaces and %C3%A1 becomes á. It accepts complete addresses, protocol-less ones like example.com/path?a=1 and bare query strings such as a=1&b=2, with or without the leading question mark.

It earns its keep whenever a long URL stops being readable: checking the UTM tags on a campaign link before it goes out, debugging Google Analytics or ad-platform URLs, inspecting the callback of an OAuth flow, or verifying the exact parameters an API call or webhook carries. Repeated keys are collected into a JSON array at the position the key first appears; switch the option off and the last value wins instead. Turn on "Include URL parts" to also see the protocol, host, path and hash, and choose two-space, four-space or compact single-line JSON.

URLs routinely carry things that should not leave your machine — session tokens, OAuth codes, API keys, e-mail addresses baked into tracking links. This parser runs entirely in your browser: nothing is uploaded or logged anywhere, so pasting a link with a live token in it is safe.

The tally under the output counts the parameters found, so a link that silently dropped one is caught at a glance. Copy the JSON, download it as a file, or feed it to the JSON formatter for further work.

FAQ

Is the URL I paste uploaded anywhere?
No. Parsing happens entirely in your browser and the URL never leaves your device — safe even for links carrying session tokens or API keys.
How are repeated parameters handled?
By default repeated keys are collected into a JSON array in the position the key first appears. Turn the option off and the last occurrence wins instead.
Are encoded values decoded?
Yes. Percent escapes and + signs are decoded, so %20 becomes a space and UTF-8 sequences turn back into the original characters, including accents and emoji.
Can I paste just the query string without the address?
Yes. Bare query strings like a=1&b=2 work with or without the leading question mark, and addresses without a protocol are read as https.