DEV/URL

URL Parser

Break any URL into protocol, host, port, path, query params, and hash.

Protocol
https:
Host
example.com:8443
Hostname
example.com
Port
8443
Pathname
/path/to/page
Hash
#section
Username
user
Password
•••
Query parameters
2 params
KeyValue
qhello
langen

Related tools

All →