URL Parser
Break any URL into protocol, host, path, query, and hash.
| href | https://example.com/path/page?utm_source=newsletter&utm_medium=email#section |
| protocol | https: |
| host | example.com |
| hostname | example.com |
| port | — |
| pathname | /path/page |
| search | ?utm_source=newsletter&utm_medium=email |
| hash | #section |
| origin | https://example.com |
Query parameters (2)
| utm_source | newsletter |
| utm_medium |
About URL Parser
URL Parser splits any URL into its parts — protocol, host, port, path, query string, and hash — and lists every query parameter on its own row. Useful for debugging redirects, deep links, and tracking parameters.
Frequently asked questions
Yes. URL Parser uses the browser's built-in URL API, which handles internationalized domain names.