PB
Available
link
lock Free · Private · In-Browser

URL Component Parser

Break an absolute URL into normalized structural components and decoded query pairs.

 

Inspect every structural part of a URL

A URL carries more than a host and path. Scheme, user information, explicit port, path segments, repeated query keys, and fragment all have distinct parsing rules. This tool uses the browser URL parser to normalize an absolute address, then reports each component and walks URLSearchParams in order so duplicate query names are preserved.

The default URL reports https as the protocol, user as the decoded username, a present password without revealing it in the summary, example.com as host, port 8443, path /a/b, fragment top, and two q query entries with values one and two. An invalid or relative URL returns a direct parse error.

Decoding without fetching the address

Percent decoding applies to credentials and query values, while the normalized pathname remains URL syntax. A fragment is never sent in an HTTP request, and credentials embedded in URLs are unsafe for routine sharing. Parsing is entirely local in your browser and the host is not contacted. Remove secrets before copying the result and use the parsed structure to debug routing or link construction.

Frequently Asked Questions

Are duplicate query parameters preserved?

Yes. Each query pair is reported in URL order, even when several entries use the same key.

Does parsing the URL make a network request?

No. The browser URL class parses the string locally without contacting the hostname.

Why is the password not printed?

The parser reports only that a password is present to reduce accidental credential exposure in copied output.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward