URL Query String Parser

Parse query parameters and keep repeated names in their original order.

Debug repeated query parameters

For ?tag=design&tag=css&q=hello+world, expect three pairs in the same order, two with the key tag. This makes it easier to distinguish a multi-select filter from a duplicated parameter introduced by a redirect.

The parser returns decoded values. If you need to check how a literal plus is encoded on the wire, compare q=a+b with q=a%2Bb. Their decoded values differ.

Try an example

Paste a full HTTP URL or the query portion, with an optional leading question mark.

?tag=design&tag=css&q=hello+world

Expected output

[
  [
    "tag",
    "design"
  ],
  [
    "tag",
    "css"
  ],
  [
    "q",
    "hello world"
  ]
]

Common questions

How are repeated keys represented?
The output is an ordered array of key-value pairs. Repeated names remain separate entries.
How are plus signs and percent escapes decoded?
URLSearchParams applies query form rules: a literal plus becomes a space, while percent-encoded plus becomes a plus character.

The tool processes your input in this browser. It does not upload the input itself.