Skip to main content
Preparing workspace

Query String Parser

Paste a URL or query string and see every parameter as a readable key and value, percent-decoding done for you. Free URL parameter parser.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Query String Parser

Turn a URL query string into a readable list of key/value pairs.

The Query String Parser splits a URL query string into one readable "key = value" line per parameter, using the browser's own URLSearchParams so percent-encoding is decoded and "+" becomes a space exactly as a real server would read it. The address part of a pasted URL, its "?" and any #fragment are ignored, so you can paste straight from the address bar, and the output updates as you type. It is for developers and marketers picking apart a long tracking or callback URL without writing a throwaway script.

How to use Query String Parser

  1. Paste a query string into the Input box, which loads with the sample ?name=Ada&role=dev&tags=a,b,c; a leading ? or a whole URL is fine and Load sample brings the example back.

  2. Read the Result box, which lists every parameter on its own line as key = value, with percent-encoding and + signs decoded and repeated keys kept as separate lines.

  3. Press Copy to copy the key = value list, or Clear to empty the Input box before pasting the next URL's query string.

Why use Query String Parser

  • Decodes the way a server does

    Parsing goes through URLSearchParams, so %20, %2F and + are resolved to real characters rather than shown raw.

  • Repeated keys stay visible

    A string like tags=a&tags=b produces two separate lines instead of silently collapsing into one value, which is how array-style parameters are usually sent.

  • Paste from the address bar directly

    A leading question mark is removed automatically, and the result list refreshes on every keystroke with a one-click copy of the whole output.

Common use cases

  • A campaign link arrives with a dozen utm_ and gclid parameters mashed together and you need to read which source, medium and campaign it actually carries.
  • An OAuth callback fails and you want to see the decoded state, code and redirect_uri values instead of squinting at %2F and %3D in the address bar.
  • You are reproducing a bug from a support ticket and need to confirm which filter parameters the customer's URL really set before you rebuild the request.

Frequently asked questions

Can I paste a whole URL, or just the query string?

Either works. If the text before the first "?" has no "=" or "&" it is treated as the URL (https://…, x.com/path, mailto:…) and ignored, along with any "#fragment" at the end; a leading "?" also drops a trailing fragment. A bare query string is parsed as-is, so values that contain "?" or "#", such as redirect_uri=https://a.com/cb?x=1, survive. A URL with no "?" has no parameters and gives an empty result.

Link to answer
Does it decode percent-encoded characters?

Yes. It uses the standard URLSearchParams parser, so %20 becomes a space, %2F becomes a slash, and a literal "+" is decoded as a space per the application/x-www-form-urlencoded rules.

Link to answer
What happens to duplicate parameter names?

Each occurrence gets its own line in the output. Parsing tags=a&tags=b returns two lines both keyed tags, preserving the order they appeared in the string.

Link to answer
Is the URL I paste sent anywhere?

No. Parsing happens in your own browser tab with a built-in JavaScript API and nothing is uploaded, which matters when the string contains a session token or an auth code.

Link to answer