🔧

URL Parser

Parse any URL into protocol, host, path, query params, and hash.

Protocolhttps:
Hostexample.com:8080
Hostnameexample.com
Port8080
Pathname/path/page
Search?foo=bar&baz=qux
Hash#section
Originhttps://example.com:8080
Query Paramsfoo = bar baz = qux

How to Use

  1. Paste a complete URL into the input field (e.g. https://example.com:8080/path?foo=bar#section).
  2. View the parsed breakdown instantly — protocol, hostname, port, pathname, query params, hash, and origin are all shown separately.
  3. Copy any individual field value directly from the results.

Frequently Asked Questions

How are duplicate query parameters handled?
Each key-value pair is listed separately. If the same key appears multiple times, all occurrences are shown in the Query Params row.
Does it support relative paths?
No — the browser URL API requires a fully qualified URL with a protocol (e.g. https://). Relative paths like /foo/bar are not valid input.
How are percent-encoded characters displayed?
Encoded sequences such as %20 or %2F are shown decoded in their readable form for the query params and path fields.