Parse a URL Into Its Parts
Break a URL into its parts: protocol, host, port, path, query, hash.
protocolhttps:hosttoolbin.devhostnametoolbin.devport—pathname/fr/base64search?q=a&x=1hash#toporiginhttps://toolbin.dev🔒 100% client-side — no data sent
Analyze any URL and break it down into protocol, host, path, query parameters and hash fragment. A handy tool for debugging links or understanding a complex string. Everything is processed in your browser, with no URL uploaded.
What is it for?
- ▸ Inspect the query parameters of a tracking link
- ▸ Check the protocol and host of a URL
- ▸ Extract the path from an address for routing
- ▸ Debug a link with encoded parameters
FAQ
Which parts of the URL are shown?
The protocol, host, port, path, query parameters and hash fragment.
Are query parameters listed separately?
Yes, each key-value pair of the query is shown individually for easy reading.
Is my URL sent anywhere?
No, the parsing is performed locally in your browser.
Related tools
Basic Auth · header generator Generate the HTTP Authorization: Basic header from a username and password. Bearer · Authorization header Generate the HTTP Authorization: Bearer header and extract a token from a header. Code playground (JS/TS/Python/PHP) Run JavaScript, TypeScript, Python or PHP and see the result instantly, 100% in your browser. Color shades Generate the tints and shades of a color for your palette, in your browser. Cookie · parser Break down a Cookie or Set-Cookie header into readable key/value pairs. CORS headers · builder Generate CORS headers (Access-Control-Allow-*) for your server.