URL parser

Parse a URL into its separate constituent parts (protocol, origin, params, port, username-password, ...)

About URL parser

Splits a URL into its parts, protocol, username and password, hostname, port, path, query string and hash, and lists every query parameter separately, using the same URL parser as your browser.

When you would use it

How to use it

  1. Paste the full URL, including the scheme such as https://.
  2. Read each component in its own field; the copy button next to each one copies just that part.
  3. Scroll down to the parameter table for the decoded value of every query key.

Things worth knowing

Frequently asked questions

Why does the hostname lose its uppercase letters?
Host names are case-insensitive, so the parser lowercases them. Internationalised domain names are also converted to their punycode (xn--) form.
Where are the username and password used?
They are the credentials embedded as user:password@ before the host, an old HTTP feature. Browsers mostly ignore them today, and you should never share URLs that contain real credentials.

All the tools