Developer Tools
Free Online URL Parser
Paste a URL to instantly break it down into its protocol, host, port, path, query parameters, and fragment.
How to use the uRL Parser
- Paste a full URL into the input box.
- Click 'Parse URL'.
- See it broken down into protocol, host, port, path and hash.
- Each query parameter is listed separately with its key and value.
Example
Parsing https://example.com:8080/products?id=42&sort=asc#reviews shows protocol https:, host example.com, port 8080, path /products, and query parameters id=42 and sort=asc.
Why parse a URL?
Debugging redirects, checking tracking parameters, or understanding an unfamiliar link is much easier when it's broken into labeled parts instead of read as one long string.
Uses the browser's native URL parser
This tool relies on the standard URL API built into your browser, so it parses URLs exactly the way browsers themselves interpret them.
Frequently asked questions
An error message is shown if the text isn't a valid, well-formed URL.
You'll generally need to include the protocol, like https://, for the parser to interpret it correctly.
Yes, each query string parameter is listed individually with its key and decoded value.
No, parsing happens locally in your browser using the built-in URL API.