๐Ÿ”— URL Parser

URL
Protocolhttps
Hostnameexample.com
Port8080
Credentialsuser:pass
Path/path/to/page
Hashsection
Query parameters
KeyValue
foo1
bartwo

Enter a URL and this tool automatically breaks it down into its protocol, hostname, port, path, query parameters, and hash (fragment). Query parameters are shown as an easy-to-read table. Useful for understanding a complex URL's structure or checking a URL while debugging.

How to use

  1. Paste the URL you want to break down into the input field.
  2. Each part of the URL is broken down and shown automatically.
  3. If there are query parameters, they're also shown as a table of keys and values.

FAQ

What happens if I enter an invalid URL?

An error message appears if the string can't be parsed as a valid URL.

Does this handle URLs with credentials (username/password)?

Yes, URLs in the form "user:pass@example.com" are parsed correctly and shown in the credentials field.

Does this handle relative URLs?

No, the current version only supports absolute URLs that start with a protocol.