Boneyard Tools

URL Parser

Paste a full URL to split it into its protocol, host, port, path, query string and hash, with each query parameter listed separately.

How to parse a URL

  1. Paste a full, absolute URL such as https://example.com/path?a=1 into the box.
  2. Read the components and the query parameter table that appear below.
  3. Copy any single part you need.

Examples

A URL with auth, port, path, query and hash

https://user:pass@example.com:8080/a/b?x=1&y=2#top
host: example.com:8080, pathname: /a/b, params: x=1, y=2

Frequently asked questions

What counts as a valid URL here?

An absolute URL with a scheme, such as https://example.com. Relative paths like /about have no host, so they cannot be parsed on their own.

What is the difference between host and hostname?

Hostname is just the domain, like example.com. Host includes the port when one is present, like example.com:8080.

How are repeated query parameters handled?

Each key is listed as its own row, so a=1&a=2 shows two entries. This keeps the original order and every value intact.

Does it decode percent-encoded values?

Yes. Parameter keys and values are shown decoded, so %20 appears as a space and other escapes are resolved.

Is my URL sent anywhere?

No. Parsing happens entirely in your browser using the standard URL engine, and nothing is uploaded.

Related tools