URL Parser

All tools

Paste a full URL or query string and instantly see protocol, host, path, hash, and parsed query parameters.

Paste a full URL, a query string like ?a=1&b=2, or enable query-only mode.

Parsed URL parts

Full URL
Origin
Protocol
Host
Hostname
Port
Pathname
Query string
Hash

Query parameters

0 params

What is a URL parser?

A URL parser breaks a URL into structured parts such as protocol, host, hostname, port, pathname, query string, and hash.

It is useful for debugging links, query parameters, redirects, API requests, and frontend or backend routing behavior.

How to use the URL Parser

  1. Paste a full URL into the input field.
  2. Click Parse to split it into individual parts.
  3. Review the query parameters as a list or JSON.
  4. Enable query-only mode if you want to parse only a query string.

Tips

  • If your URL has no scheme, the tool will try to interpret it as HTTPS.
  • Repeated query parameters are shown separately and marked with their count.
  • Use query-only mode for strings like a=1&b=2.
  • Decoded values are easier to read when parameters contain percent-encoded characters.

Related tools

You may also find these tools useful.

URL Parser FAQ

Is my URL sent to the server?
No. Everything runs locally in your browser.
Can I parse only query parameters?
Yes. Enable query-only mode and paste a string like ?a=1&b=2 or a=1&b=2.
What happens with repeated parameters?
The tool keeps repeated parameters and shows how many times the same key appears.