Query String Parser

Parse a URL query string into decoded key and value pairs. Handles plus-as-space and percent-encoded characters.

Independently verified for accuracy

Calculator by Toolsloft ↗

Paste a URL or query string and see the parameters broken out into clean, decoded key and value pairs. It handles plus signs as spaces and percent-encoded characters like %20, so you can read exactly what a link is passing. Useful for debugging tracking links, API calls, and redirect URLs.

How this is calculated

A leading question mark is dropped, then the string is split on & into pairs and each pair on the first = into a key and value. Both parts are decoded using the application/x-www-form-urlencoded rules: a plus sign becomes a space and %XX sequences are decoded as UTF-8. A parameter with no value is shown with an empty value.

How to use

  1. Paste a full URL or just the query string into the input box.
  2. Read the decoded parameters, one key and value per line.
  3. Copy the result if you need it elsewhere.

Examples

  • Encoded value: city=New%20York becomes city = New York
  • Plus as space: name=John+Doe becomes name = John Doe

FAQ

How are repeated keys handled?
Each pair is shown on its own line in the order it appears, so a query like q=hello&q=world lists both values. Nothing is merged or dropped.
What is the difference between + and %20?
In a form-encoded query string both mean a space. A plus sign is the older form encoding for a space, and %20 is the percent-encoded space. This tool decodes both to a normal space.
What if a parameter has no value?
A key that appears without an equals sign, such as flag, is shown with an empty value. That preserves the fact that the parameter was present.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.