URL Parser

Split a URL into scheme, host, port, path, query parameters and fragment per the WHATWG URL Standard. No request is ever made to the URL.

Input

Ctrl + Enter to run

Result

Split an absolute URL into scheme, username, host, port, path, query and fragment using the browser’s standard WHATWG parser, the same one used by fetch and the address bar. Query parameters are shown decoded, including repeated ones.

The tool never visits the URL. If it contains credentials, the password is hidden and a warning is shown; internationalized domains appear in punycode to help spot look-alikes.

How to use it

  1. Paste the full URL including the scheme (https://…).
  2. Press Run.
  3. Review the components, parameters and warnings.

Example

Example input
https://usuario:clave@ejemplo.com:8443/api/v1/buscar?q=caf%C3%A9&tag=a&tag=b#resultados
Result
Scheme: https:
Username: usuario
Password: [5 chars redacted]
Host: ejemplo.com:8443
Hostname: ejemplo.com
Port: 8443
Path: /api/v1/buscar
Query: ?q=caf%C3%A9&tag=a&tag=b
Fragment: #resultados
Origin: https://ejemplo.com:8443
  q = café
  tag = a
  tag = b

Limitations

  • Absolute URLs only.
  • Results follow the WHATWG standard; other parsers (strict RFC 3986, server languages) may normalize differently.

FAQ

Why is the host shown as xn--…?
That is the punycode form of a domain with non-ASCII characters. It helps spot domains that visually imitate others.
Is the URL opened?
No. Only the text is parsed; no request is made.

Related tools

References