URL Parser

Parse a URL into its protocol, host, port, path, query parameters, hash, and other components.

URL → Parsed Components

URL Input
Paste a complete URL to inspect its parts.

How URL parsing works

A URL can contain several distinct components, including a protocol, hostname, optional port, path, query string, and fragment.

This tool uses the browser URL parser to separate those components and lists each query parameter individually.

URL parser example

https://example.com:8080/products?id=42#details
Protocol: https:
Host: example.com:8080
Path: /products
Query: id=42

Frequently Asked Questions

What parts of a URL are shown?

Protocol, origin, host, hostname, port, pathname, search, hash, username, password, and full URL are shown.

Does it list query parameters?

Yes. Each query parameter is displayed as a separate key/value row.

Can I parse URLs with custom ports?

Yes. Explicit ports such as :8080 are shown separately.

What happens with invalid URLs?

The parser shows an error and does not display stale or partial results.

Can I copy individual URL parts?

Yes. Every parsed field and query parameter includes a Copy control.

Does editing the URL keep the old parse result?

No. Changing the input clears the previous parsed output immediately.

Related Tools