URL Parser
Parse any URL into its components: protocol, hostname, port, pathname, query parameters, and hash. Instantly inspect and copy each part.
Tools run in your browser. Shared links may include your input; check the URL before sharing.
How to use
- Paste a full URL including its scheme.
- Inspect host, port, path, query and fragment separately.
This example illustrates one supported operation. Choose the matching mode and settings above; generated values and formatting may vary.
Example input or settings
https://example.com:8443/docs?q=hello#introExample result
protocol: https:
hostname: example.com
port: 8443
pathname: /docs
q: hello
hash: #introIs the text after the hash sent to the server?
Normally no. The browser handles the fragment. The query string is sent with the request.