How This URL Parser Works
This url parser, a url scheme host path parser at its core, takes any URL and breaks it into every structural piece: scheme, username and password (if present), host, port, path, query string, and fragment (hash). It's a fast way to parse url online without manually splitting strings or writing a regular expression, useful whenever you need to extract url components for debugging, documentation, or building request-handling logic.
What Gets Extracted
As a url query parameter parser, every key/value pair in the query string is listed individually, including duplicate keys and empty values. The path is split into segments so you can inspect each part of a route independently. Host, hostname, port, and origin are all reported separately since they answer slightly different questions, host includes the port when one is present, hostname never does, and origin combines scheme and host together the way a browser's same-origin policy would.
Understanding URL Structure
A URL has a fixed structure: scheme (like https), an optional userinfo section (username and password before an @), host and optional port, path, an optional query string starting with ?, and an optional fragment starting with #. This url structure analyzer surfaces each piece by name rather than leaving you to eyeball a long string, and it also flags whether the host is localhost or a raw IPv4/IPv6 address rather than a domain name.
Common Uses
Debugging an API endpoint by checking exactly which query parameters were actually sent, inspecting a redirect or webhook URL to confirm its host and path, and using this as a way to split url into parts before writing route-matching or URL-rewriting logic are the most common uses. It's also a quick way to decode url components online when a URL contains percent-encoded characters you want to see broken out by section.
What This Tool Doesn't Do
This tool doesn't decode percent-encoded characters within the path or query values, they're shown exactly as they appear in the URL, use a dedicated URL decoder if you need the decoded form. It also doesn't validate that the URL is reachable, resolves to a real host, or is safe to visit, it only parses the string's structure. Query parameter order and duplicate keys are preserved from the input, but this tool doesn't merge or deduplicate them for you.