URL Parser
Break any URL into its components — protocol, host, path, query, and hash — at a glance.
About URL Parser
URLs pack protocol, host, path, query parameters, and hash into a single string, and when a link misbehaves it is rarely obvious which part is at fault. This tool splits any URL into its components — protocol, host, path, query, and hash — and shows each value clearly.
The parser follows the standard URL rules, decoding query values so you read real text instead of percent-encoding, and displaying the decoded hash too. Components are listed individually with a copy button on each, and relative URLs are handled gracefully by showing the path as-is.
Web developers debugging broken links or redirects, QA engineers verifying tracking parameters in a URL, and support staff extracting order IDs or tokens from customer-shared links all use it. It is also handy for double-checking what a query string actually contains before parsing it in code.
How to Use
- Paste a URL.
- Watch the breakdown update instantly.
- Copy any individual component you need.
Example
https://example.com/path?q=hello#top Protocol: https · Host: example.com · Path: /path · Query: q=hello · Hash: #top
Every URL decomposes into these standard parts, which the parser lists with the values from your input.
FAQ
What is the difference between query and hash?
The query string is sent to the server; the hash is only read client-side and never reaches the server.
Can it parse relative URLs?
It parses absolute URLs with a scheme and host. Relative paths are shown as-is.
Does it decode query values?
Yes, query parameters are decoded so you can read their actual values rather than percent-encoding.
Are international characters handled?
Yes. The parser decodes percent-encoded UTF-8 characters, so non-ASCII characters and emoji in the query or path are shown in their readable form.
Does it validate that the URL is well-formed?
It reports when the input cannot be parsed as a URL, flagging issues like missing a scheme or having invalid characters, which helps catch typos early.