Break a URL into its protocol, host, path and query parameters.
Parsed locally in your browser.
How do you parse a URL into its parts?
A URL is parsed with the standard browser URL API, which splits it into protocol, hostname, port, path, search (query) and hash. Query parameters follow the "?" separated by "&", and the hash ("#") points to a page section. For example, https://shop.example.com:8443/cart?id=42#reviews has host shop.example.com, port 8443, path /cart, query id=42 and hash reviews.
Understanding your result
Query parameters follow the “?” and are separated by “&”. The hash (“#”) points to a section within the page.
Formula and method
The URL is parsed with the standard browser URL API, which splits it into protocol, hostname, port, path, search (query) and hash.
Worked example
https://shop.example.com:8443/cart?id=42#reviews has host shop.example.com, port 8443, path /cart, query id=42 and hash reviews.
How to use this tool
- Paste a full URL including http:// or https://.
- Read the components and query parameters.
Common mistakes to avoid
- Leaving off the scheme — a URL needs http:// or https:// to parse as absolute.
About the URL Parser
Paste a URL to see all of its parts — protocol, host, port, path, hash and each query parameter — laid out clearly.
Who should use this tool
Developers debugging links, redirects, tracking parameters and APIs.
Explore all Developer Tools tools
Frequently asked questions
Does it decode query values?
Yes. Percent-encoded parameter values are shown decoded.
Is my URL sent anywhere?
No. Parsing happens entirely in your browser.