Parse a query string into its parameters

Split a web address into scheme, host, port, path, query and fragment, and list every parameter. Nothing leaves your browser.

A query string is the part of a link after the question mark, such as utm_source=newsletter&size=42&size=43. Reading one by eye gets hard fast: values are percent-sequences, spaces are plus signs, the same key can appear twice and a long campaign link can hold twenty parameters. This page opens ready for exactly that. Paste the text with or without the leading question mark and you get a table with one row per parameter, in the order written, showing the key, the decoded value and the raw value. A repeated key keeps every copy, a key with no equals sign is marked, and empty segments are skipped. The plus option decides whether a + counts as a space, which is how forms write it, or stays a plus. If you paste a whole link by mistake, switch the choice above the box to A full URL to see its scheme, host and path as well. Anything after a # in the pasted text is treated as the fragment and ignored.

How it works

  1. Paste a full URL
  2. Read the parts and the parameter table
  3. Copy the part you need

Frequently asked questions

Do I need to include the question mark?

No. A leading ? is removed if it is there and not needed if it is missing. Paste utm_source=a&utm_medium=b or ?utm_source=a&utm_medium=b and the result is the same.

How are two parameters with the same name shown?

As two rows, in the order they were written. Nothing is merged or overwritten, so you can see exactly what a server would receive.

Why is a plus sign shown as a space?

Forms write a space in a value as +, so the default reads + that way. Turn off the plus option to keep it as a plus sign. A + written as %2B is always a plus.