ToolBark
Developer

Query String Parser

Parse any URL into editable parameters and rebuild it instantly

Paste a full URL, a relative URL, or a bare query string (with or without the leading ?).

URL Parts

Parameters5

KeyValue

Rebuilt Output

About

A query string parser lets you instantly break apart any URL into its individual key-value parameters so you can inspect, edit, and rebuild it without manually decoding percent-encoded characters. Paste a full URL or a bare query string to see every parameter laid out in a clean table, make changes, then copy the rebuilt URL or export the parameters as a JSON object.

FAQ
What is a query string?+

A query string is the part of a URL that comes after the ? character. It contains key=value pairs separated by & signs (e.g. ?page=2&sort=date) and is used to pass data to a web server or front-end application without changing the URL path.

What is percent-encoding and why does it matter?+

Percent-encoding (also called URL encoding) replaces unsafe characters — spaces, &, =, #, and others — with a % followed by two hex digits (e.g. space becomes %20 or +). Without it, those characters would break URL parsing. This tool decodes them for readability and re-encodes them when you rebuild the URL.

Can I paste just the query string without the full URL?+

Yes. You can paste a complete URL like https://example.com/search?q=test, a relative path like /page?id=5, or a bare query string like q=test&page=2 with or without a leading question mark. The tool detects each format automatically.

How does the JSON output work?+

The JSON output converts your parsed parameters into a JavaScript-style object where each key maps to its value as a string. If the same key appears more than once (e.g. tag=a&tag=b), the values are combined into an array, matching how most server frameworks parse repeated parameters.

Related tools