URL Parser
Break a URL down into its protocol, host, path, query parameters, and more.
About this tool
Break any URL down into its individual parts — protocol, host, port, path, query parameters, and fragment — using the browser's own built-in URL parser.
Key Features
- Uses the native URL API for accurate, spec-compliant parsing
- Lists every query parameter separately
- Shows protocol, hostname, port, path, and fragment
- Handles encoded characters correctly
How to Use
- Paste a full URL.
- Click Parse.
- See each component broken out individually.
Benefits
- Debug a redirect or tracking link
- Understand what query parameters a link is passing
- Check a URL is formatted correctly before sharing it
Frequently Asked Questions
The host is the hostname plus port, like www.example.com:8080. The origin additionally includes the protocol, giving the full scheme-plus-authority combination, like https://www.example.com:8080. Two URLs share an origin only if their protocol, hostname, and port all match exactly.
URLs can only contain a limited set of characters directly; anything else (spaces, accented letters, symbols) must be percent-encoded, like %20 for a space. Query parameter values are shown decoded for readability, since that is how you would actually read the data being passed.
No — it requires a complete, absolute URL including the protocol (like https://). A relative path such as /tools/page.html has no host or protocol of its own to parse; it only makes sense in the context of a specific page it was linked from.