Developer Utilities · Free tool
URL Parser
Paste any URL and see its protocol, host, port, path, query string, and fragment broken out — like window.location, live.
Updated April 2026
| protocol | https: | |
| origin | https://example.com:8080 | |
| host | example.com:8080 | |
| hostname | example.com | |
| port | 8080 | |
| pathname | /path/to/page | |
| search | ?q=search&lang=en | |
| hash | #section | |
| username | user | |
| password | pass |
Query Parameters
| Key | Value | |
|---|---|---|
| q | search | |
| lang | en |
What it does
Break a URL into its pieces — protocol, host, port, path, query, fragment — just like the browser's URL API but laid out as a readable table. Also shows each query parameter decoded in its own row so you can spot encoding issues.
For query-string-only work use query string parser. For UTM tags specifically, UTM parser. To strip tracking, URL cleaner.
How to use it
- Paste any URL.
- Read each part in the table — protocol, host, path, etc.
- Inspect query parameters decoded in the lower table.
- Copy a single piece with its copy button.