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)

#KeyValueCopy
1nameJohn
2age30
3cityNYC