URL Parser

Break a URL into scheme, host, path, query and fragment.

Parsed live in your browser.

Frequently asked questions

What parts of a URL does this tool break out?

It splits a URL into its scheme, host, port, path, query parameters and fragment. Each component is shown separately so you can inspect the structure at a glance.

How does it parse the URL?

It uses the browser built-in URL API, the same parser browsers use to resolve links, so the results match how a real browser interprets the address. This keeps the parsing accurate and standards-compliant.

What is the difference between the query string and query parameters?

The query string is the whole part after the question mark, while query parameters are the individual key and value pairs inside it. The tool lists each parameter separately for easier reading.

What is a URL fragment?

The fragment is the part after the hash symbol, often used to jump to a section of a page or to hold client-side state. It is never sent to the server as part of the request.

Does this tool fetch or visit the URL?

No. It only parses the text of the URL locally in your browser and does not make any network request to the address. Nothing is loaded or contacted.

Why does my URL show a default port or none at all?

If you do not specify a port, the scheme implies a default, such as 443 for https, and the URL API may leave the port field empty because it is implied. An explicit port appears only when you include one.

Can it handle URLs with encoded characters?

Yes. The URL API understands percent-encoding, so encoded characters in the path or query are parsed correctly and shown in their decoded form where appropriate.