Skip to content
OddsockLocal
Local
Source text

The preview shows up here.

ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Paste a query string or a full URL.
  2. A leading ? is optional. A fragment after # is ignored when the text is a query rather than a URL.
  3. Read one row per occurrence. Plus signs become spaces.
  4. An empty parameter list is an empty JSON array.

What is Query string parser?

The parser lists every parameter as its own row, decoded. ?q=a+b&q=a%2Fb becomes two rows: q with value a b, then q with value a/b. The plus is a space. %2F is a slash. Order is preserved, and a repeated key is not collapsed into one row.

Read more

You can paste a bare query, with or without the leading ?, or a full URL. If the text starts with a scheme, the page takes that URL’s search params and ignores the fragment. A string with no parameters comes back as an empty list, which is a valid result, not an error.

This is the inverse of the builder, not a general URL breakdown. Host, port and path stay out of the table. The URL parser is the page that returns those parts alongside the parameter pairs.

Use cases

  • A shared link has q twice and you need both values, decoded, before you decide which one the app kept.
  • A plus in a query looks like a typo until it decodes as a space.
  • You want to confirm %2F was a slash and not the two characters percent, 2, F.
  • An empty search should be an empty list so a test can tell “no parameters” from a failed parse.

One key, two decoded values

?q=a+b&q=a%2Fb

Two rows. key q, value a b. key q, value a/b.

Why use Oddsock

Repeated keys stay as separate rows. Folding them into one array would hide the order the URL actually used.

Related tools

Using this tool

In a query string, + means space. %20 is the other spelling of the same character. Both decode to a space.