>Fafa Dev Tools

Query String Parser

Parse URL query strings into key-value pairs with decoded values. Free online query string parser that handles encoded parameters.

0 chars

What is Query String Parser?

A query string is the part of a URL after the question mark (?) that passes data to a web server as key-value pairs. For example, ?name=John&age=30 sends two parameters. Query strings are used in search queries, API requests, tracking parameters, pagination, and form submissions via GET method.

How to Use

  1. Paste a query string or full URL in the input field
  2. The parsed key-value pairs appear instantly in a table below
  3. Both raw and decoded values are shown for percent-encoded parameters
  4. Supports leading ?, #, or full URLs - the tool extracts the query portion

Examples

Parse query string

Input?name=John%20Doe&age=30&active=true
Outputname = John Doe | age = 30 | active = true

Parse from full URL

Inputhttps://example.com/search?q=hello+world&page=2
Outputq = hello world | page = 2

Frequently Asked Questions

Can I paste a full URL instead of just the query string?

Yes. The tool detects full URLs and automatically extracts the query string portion. You can also paste with or without the leading ? character.

How are percent-encoded values handled?

The tool shows both the raw encoded value and the decoded value side by side. For example, John%20Doe shows as 'John%20Doe' (raw) and 'John Doe' (decoded). Invalid encodings are shown as-is.

What about duplicate keys?

Duplicate keys are listed as separate rows. For example, ?tag=js&tag=css shows two rows both with key 'tag'. This is common in APIs that accept multiple values for the same parameter.