Developer ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Developer Tools

URL Parser and Query Parameter Viewer

Split a URL into scheme, host, port, path segments, query parameters and fragment. Decodes percent-encoding, shows punycode domains and resolves relative links.

View all tools
ResultUpdates as you type
Normalised URL
https://user:pass@shop.example.co.uk:8443/en/products/caf%C3%A9.html?q=tea+cups&tag=new&tag=sale#reviews
Originhttps://shop.example.co.uk:8443
Schemehttps:
Usernameuser
Passwordpass
Hostnameshop.example.co.uk
Port8443
Path/en/products/caf%C3%A9.html
Path segments (decoded)en / products / café.html
Query string?q=tea+cups&tag=new&tag=sale
Fragment (#)#reviews
#NameValue (decoded)
1qtea cups
2tagnew
3tagsale

The URL contains a username or password; remove them before sharing, as browsers may also block such links.

Repeated parameter names: tag

How to use URL Parser and Query Parameter Viewer

Paste a link to see each part on its own card, with decoded path segments and a table of query parameters. Add a base URL to resolve relative links such as ../img/logo.png the way a browser would.

  1. Paste the URLPaste a full link; if the scheme is missing, as in localhost:3000/api, https:// is assumed.
  2. Add a base for relative linksFor links such as ../img/logo.png, enter the page address as the Base URL to get the absolute address.
  3. Read the partsCheck the host, port, decoded path segments, the parameter table and any warnings about credentials or repeated names.

What each part of a URL means

Take https://user:pass@shop.example.co.uk:8443/en/products/café.html?q=tea+cups&tag=new&tag=sale#reviews. The scheme is https:, the origin https://shop.example.co.uk:8443 and the port 8443; without an explicit port the card would show 443 (default). The path is normalised to /en/products/caf%C3%A9.html and its decoded segments are en / products / café.html. Everything after ? is the query string, listed in a table where tea+cups reads tea cups and both tag values appear in order. The #reviews fragment stays in the browser and is never sent to the server.

Relative links, international domains and warnings

With the Base URL set to https://example.com/docs/guide/, the link ../img/logo.png?v=2 resolves to https://example.com/docs/img/logo.png?v=2, which helps when tracking down broken images or scripts. Internationalised domains are shown in both forms, so xn--bcher-kva.example is also displayed as bücher.example. The parser warns when a URL contains a username or password, lists repeated parameter names, and explains when a link cannot be parsed, for example because it contains a space or a port above 65535.

Accuracy and data handling

Validate the result with your project's own tests and runtime rules before using it in production. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

Why does the port say 443 (default)?

The URL has no explicit port, so the browser uses the scheme's default: 443 for https and wss, 80 for http and ws, 21 for ftp. The card marks such values as default.

Why does a domain start with xn--?

DNS only carries ASCII, so domains with accents or non-Latin scripts are converted to punycode beginning xn--. Both forms reach the same site, and the parser shows the Unicode version alongside.

Is a + in a query string a space?

Yes. Query strings follow form encoding, so the parameter table shows tea+cups as tea cups. Write %2B in the URL if you need a literal plus sign.

More Developer Tools

Related tools