Skip to main content
Back to tools

URL Query Parser

Parse any URL and extract its query parameters into a readable table

About URL Query Parser

Pulls the query string out of a full URL and lists every parameter in a key and value table, in the order they appear. Above the table you get the base URL, meaning origin plus path without the query or fragment, and Copy as JSON exports the parameters as an object. Useful for reading analytics links, OAuth redirects or API requests copied from DevTools.

Category: API.

Frequently asked questions

What is a query string?

▾

The part of a URL after the ? character, containing key=value pairs separated by &. For example, ?page=2&sort=asc has two parameters: page with value 2 and sort with value asc.

Why does it say "Invalid URL"?

▾

The input must be a complete URL that includes its scheme, such as https://example.com/search?q=test. A bare query string like ?page=2 or a domain without https:// can't be parsed, so prefix it with any base, for example https://example.com.

Can a query parameter have multiple values?

▾

Yes. Repeating a key, as in ?color=red&color=blue, is valid, and the table lists every occurrence in order. Copy as JSON keeps only the last value of a repeated key, and bracket keys like color[] are shown literally rather than nested.

Are encoded values decoded?

▾

Yes. Percent-escapes are decoded and + is treated as a space, so name=Jos%C3%A9+Luis shows as José Luis. Anything after # belongs to the fragment and isn't read as parameters.

Related tools