← All Tools

URL Parse🔒 100% local

Parse URLs into components. Privacy-first, no server uploads.

Related Tools

URL ParserURL JoinURL Encoder

Splits one URL into its ten components using the browser's built-in URL parser and prints them as labelled lines: protocol, host, hostname, port, pathname, search, hash, username, password and origin. The string is handed to the same URL class your browser uses for navigation, so unusual inputs are normalised the way a browser would normalise them, and everything runs in the page. Unlike the URL Parser tool on this site, it stops at the raw search string and does not break the query into individual parameters.

How to use it

  1. Paste an absolute URL into the Input box - a scheme such as https:// is required.
  2. Press Process.
  3. Read the labelled field list, or Copy Output to keep the breakdown.

Worked example

https://example.com:8080/p?q=1#hbecomesProtocol: https: Host: example.com:8080 Hostname: example.com Port: 8080 Pathname: /p Search: ?q=1 Hash: #h Username: Password: Origin: https://example.com:8080
https://user:[email protected]:8080/path?query=value#fragmentbecomesHost: example.com:8080 Port: 8080 Username: user Password: pass Origin: https://example.com:8080

an explicit port keeps the origin non-default; the page's default input is this URL

When to use it

What it does not do