Break any URL into protocol, host, port, path, query parameters and fragment — and rebuild it.
How to use this tool
Include the scheme, e.g. https://example.com/path?x=1#section.
Protocol, host, port, path, query string and fragment are shown separately.
Every parameter is listed in a table, in order, including duplicates.
The parsed parts are reassembled into a normalised URL.
Formula & worked example
https://user:[email protected]:8080/p?q=1&q=2#frag parses to protocol https:, host example.com:8080, port 8080, path /p, two q parameters (1 and 2), and fragment #frag.
Limitations — read this before you rely on it
Only absolute URLs with a scheme are parsed — relative URLs like /path/page need a base to resolve against. Default ports (443 for HTTPS, 80 for HTTP) are shown as (default) when omitted.
Frequently asked questions
Hostname is just the domain (example.com). Host is hostname plus port when one is present (example.com:8080).
The part after #. It is handled by the browser (usually scrolling to an anchor) and is never sent to the server.
Yes — e.g. ?tag=a&tag=b. This parser lists both, in order, instead of silently dropping one.
user:password before the @. It is rare today and browsers warn about it, because it is often abused in phishing URLs.
No. Parsing is purely textual; nothing is requested over the network.
