Example input
https://example.com:443/a/../b?q=a+b&q=%2B#top
DataHub
Tools
URL Parser
Local-first
Parse a URL into protocol, host, path, query parameters, hash, and origin.
This browser tool passes one absolute URL to the web platform URL parser, then displays its normalized components. Repeated query keys become arrays; the result reflects browser normalization rather than the original byte-for-byte input.
https://example.com:443/a/../b?q=a+b&q=%2B#tophostname: example.com
pathname: /b
query.q: ["a b", "+"]
hash: #topRelative URLs have no base URL here. The browser may normalize default ports, paths, Unicode hostnames, and percent-encoded data.
The WHATWG URL Standard defines browser parsing and normalization. RFC 3986 describes generic URI syntax; the two models are related but not byte-for-byte identical.
Sources checked July 24, 2026. Specifications and platform behavior can change; verify the sources before formal use.
No. This page does not provide a base URL, so use a complete absolute URL.
A browser may omit a scheme's default port, such as 443 for HTTPS, when normalizing the URL.
Yes. A repeated key is returned as an array in encounter order.
No. Syntax parsing does not establish ownership, reputation, or destination safety.