URL Query Parameter Parser

Paste a link to break it into protocol, host, path, and a table of query keys and values.

Runs entirely in your browser. Nothing you paste is ever uploaded.

How to use this tool

Paste any web address into the box and select Parse URL. The tool reads the link with your browser's built-in URL engine and breaks it down for you. The first table lists the structural parts, the protocol, host, port, path, hash, and the raw query string. The second table is a clean keys and values list of every query parameter, one row per key/value pair. You can copy the whole parameter list or download it as a plain text file. If you are not sure what to try, hit Load sample to see a worked example.

How it works

parsed = new URL(input) host = parsed.hostname path = parsed.pathname params = parsed.searchParams -> loop over each [key, value]

A URL follows a fixed shape: a scheme such as https, a host such as example.com, an optional port, a path, an optional query string that starts with ?, and an optional fragment that starts with #. The query string holds parameters in key=value form, joined by &. This parser uses the native URL and URLSearchParams APIs to break down address links and read the params, so the result matches exactly how a browser or server would read the same link. A key can appear more than once, and each occurrence becomes its own row in the table.

A real example

Take the link https://shop.example.com/search?q=running+shoes&page=2&sort=price. The parser reports the protocol as https:, the host as shop.example.com, and the path as /search. The query table then shows three rows: q with the value running shoes (the plus sign is decoded back to a space), page with 2, and sort with price. That makes it easy to see exactly what data a marketing or search link is passing along.

Common questions

What is a URL query parameter parser?

It is a tool that takes a full web address and splits it into its pieces, then lists every query parameter as a key and value pair. It helps you read, debug, and understand long links without decoding them by hand.

Does it decode encoded values like %20 or plus signs?

Yes. The native URL API decodes percent-encoded characters and the + used for spaces in query strings, so values are shown in readable form in the keys and values table.

Can a parameter appear more than once?

Yes. Some links repeat a key, for example tag=a&tag=b. When that happens each value gets its own row, so you see every value the link carries.

Why does it say my URL is invalid?

The URL must include a scheme such as http:// or https://. If you paste only example.com/page?x=1 without the scheme, add https:// in front and try again.

Is my link sent anywhere?

No. All parsing happens in your browser using built-in JavaScript. Nothing you paste leaves your device or is stored on a server.