Web & Color

URL Parser

Break an absolute URL into its structural components without exposing embedded password values.

What is this tool?

The native URL API identifies a URL's scheme, hostname, port, path, query and fragment according to browser parsing rules.

How to use it

  1. Paste an absolute URL including its protocol.
  2. Select Parse URL.
  3. Inspect each component.
  4. Copy an individual field when needed.

Example

https://inkonter.id/tools/?q=json#faq has protocol https:, path /tools/, query ?q=json and hash #faq.

FAQ

Why is a protocol required?

Without a base URL, a browser cannot reliably distinguish a hostname from a relative path.

Are passwords displayed?

No. The page only reports whether a password is present.

Does parsing contact the address?

No. Constructing a URL object does not navigate to or request it.

Related Tools