Parse URL query parameters online
Break a URL into its parts — protocol, host, path, each query parameter, and the fragment — with decoded values, so you can see exactly what a link carries.
Opens URL Parser with this example preloaded. Everything runs locally in your browser.
The problem
Long URLs hide structure: tracking parameters, encoded values, and a fragment that is not part of the query string at all. Parsing the URL lays out every component and decodes percent-encoded values.
Sample input
https://example.com/products?category=tools&page=2&utm_source=newsletter#details
Expected output
protocol: https
host: example.com
path: /products
query:
category = tools
page = 2
utm_source = newsletter
fragment: details
The fragment #details is not a query parameter — it is never sent to the server.
How to do it
- Paste the full URL.
- Parse it.
- Review host, path, query parameters, and fragment.
- Decode any percent-encoded values you need to read.
- Copy the parsed or cleaned result.
Common mistakes
- Confusing the query string (
?) with the fragment (#). - Forgetting that values may be URL-encoded.
- Missing repeated query parameters with the same name.
- Treating
+and%20as identical in every context. - Not inspecting redirect URLs nested inside a parameter.
Related tools
Related guides
FAQ
What is a URL query parameter?
A key=value pair after the ? in a URL, separated by &, used to pass data to the server or page, such as ?page=2&sort=name.
How do I parse query parameters from a URL?
Paste the URL into the parser; it splits the query string into individual key=value pairs and decodes the values.
What is the difference between query and fragment?
The query string follows ? and is sent to the server. The fragment follows # and stays in the browser — it is not sent in the request.
Can a URL have duplicate query parameters?
Yes. The same key can appear multiple times, e.g. ?id=1&id=2. How they are interpreted depends on the server.
Is URL parsing done locally?
Yes. The URL is parsed in your browser; nothing is uploaded.
URL parsing happens locally in your browser. The URL is not sent anywhere.