Query String Parser

Break a query string down into key-value pairs and view it as JSON.

Input data is processed in your browser
Data is never sent to a server

Tool

0 chars

or drag & drop a file

What is Query String Parser?

Query String Parser breaks down the query string portion of a URL (everything after “?”) into key-value pairs and lists them. Values are automatically URL-decoded, and the result can be converted to JSON with one click. Useful for debugging API requests and inspecting complex query parameters.

How to Use

  1. Paste a query string (?key=value&...) or a full URL into the input field.
  2. With auto-parse enabled, parameters are listed instantly as you type.
  3. Each parameter is shown with its key and URL-decoded value.
  4. Click "Copy as JSON" to copy the result as JSON to the clipboard.

FAQ

Can I enter a full URL instead of just a query string?

Yes. If you enter a full URL, only the query portion is automatically extracted and parsed.

What happens with duplicate keys?

The table lists each occurrence as a separate row. In the JSON output, duplicate keys are grouped into an array.

Are values URL-decoded?

Yes. Encoded values such as %20 or plus signs are automatically decoded for display.

Is my data sent to a server?

No. All processing happens in your browser using the built-in URLSearchParams API.