URL Parser
Parse a URL into its components: protocol, hostname, port, pathname, query parameters, and hash.
Processed locally in your browser
URL Components
Protocol
https:
Origin
https://example.com:8080
Hostname
example.com
Host (with port)
example.com:8080
Port
8080
Pathname
/path/page
Search
?name=John&age=30&city=NYC
Hash
#section1
Query Parameters (3)
| # | Key | Value | Copy |
|---|---|---|---|
| 1 | name | John | |
| 2 | age | 30 | |
| 3 | city | NYC |