URL Parser
Parse URLs into components: protocol, hostname, path, query parameters.
Result
—
Related tools
How it works
- 1Enter or paste a URL into the input field.
- 2The tool parses it using the URL API.
- 3Components displayed: protocol, hostname, port, pathname, search params, hash.
- 4Useful for debugging or extracting URL parts.
Example
Input: https://example.com/path?foo=bar#section Output: protocol=https, hostname=example.com, path=/path, search=foo=bar, hash=#section