URL parser
Parse the parts and query parameters of any URL.
About this tool
The URL parser breaks a web address into its parts: protocol, host, port, path, query string, fragment and origin, plus every query parameter on its own line. Long tracking links and API URLs become easy to read.
How to use the URL parser
- Paste a URL. If you leave off https://, it’s added for you.
- Read the parts, which update as you type.
The parts of a URL
Take https://shop.example.com:8443/products/shoes?color=red&size=9#reviews:
| Part | Value |
|---|---|
| Protocol | https |
| Host | shop.example.com |
| Port | 8443 (443 is the default for https) |
| Path | /products/shoes |
| Query | ?color=red&size=9 |
| Parameters | color = red, size = 9 |
| Fragment | reviews |
| Origin | https://shop.example.com:8443 |
When it’s useful
- Reading the UTM tags and tracking IDs in an ad or email link.
- Checking where a redirect link will really take you.
- Debugging the parameters your website or API receives.
- Spotting a username or password written into a URL, which the parser shows separately.
The URL is read by your browser’s own URL parser, the same one it uses to open links, so the result matches how browsers see it.
Similar tools
HTML minifier
Minify your HTML by removing all the unnecessary characters.
CSS minifier
Minify your CSS by removing all the unnecessary characters.
JS minifier
Minify your JavaScript by removing all the unnecessary characters.
JSON validator & beautifier
Validate JSON content and make it look good.
SQL formatter/beautifier
Format & beautify your SQL code with ease.
HTML entity converter
Encode or decode HTML entities for any given input.