URL Parser

Parse and analyze URLs into protocol, host, path, query params, and hash.

Full
https://example.com:8080/path/to?foo=bar&x=1#section
Protocol
https
Host
example.com:8080
Hostname
example.com
Port
8080
Pathname
/path/to
Hash
#section
Username
Password
Query Parameters
foo=bar
x=1

URL Parser

Paste a URL to instantly see its parts: protocol, host, port, pathname, hash, and query parameters. All parsing happens in your browser.

Frequently Asked Questions