Break any URL down into its protocol, host, path and query parameters.
| Key | Value |
|---|---|
| search | term |
| page | 2 |
Hostname is just the domain (example.com), while host includes the port if one is specified (example.com:8080). For URLs without a custom port, they're the same.
It's useful for debugging redirects, understanding tracking parameters, checking what a query string actually contains, or building URLs programmatically piece by piece.