URL Parser
Split a URL into protocol, host, port, path, query parameters and fragment.
How to use the URL Parser
A URL carries a lot of information in a compact string \u2014 protocol, host, port, path, query parameters and fragment. This tool splits any URL into those components and decodes every query value, so you can inspect or debug a link without parsing it by hand.
- 01Paste the URL into the url field at the top.
- 02Read the parsed components below: protocol, host, port, path and fragment.
- 03Check the query parameters table for every key and its decoded value, including duplicates.
tips
- —If your URL has no scheme (like
example.com), the tool assumes https:// so it can still parse. - —Password fields are masked in the output for safety, but the real value is used for parsing.
- —The fragment (the part after
#) is never sent to the server by browsers \u2014 it is a client-side anchor only.
frequently asked
What is a URL made of?+
A URL has several parts: the scheme (a protocol like https), the authority (optional userinfo, a host, an optional port), the path, the query string after ? and the fragment after #. This tool splits a URL into all of them.
Why does my URL show as invalid?+
URLs need a scheme. If you type “example.com” the browser treats it as a path. This tool prepends https:// automatically when no scheme is present, so “example.com” is read as “https://example.com”.
What is a query string?+
The query string is the part after the ? in a URL. It carries key=value pairs separated by &. This tool lists every parameter with its percent-decoded value.
Does the parser keep duplicate query parameters?+
Yes. URLs can repeat a key (for example ?tag=a&tag=b). Every occurrence is listed separately so you can see all values.