Skip to content
Free developer tool

URL parser

This URL parser splits a web address into its parts so you can see exactly what each piece is. It is useful for debugging links, redirects and API endpoints, or for checking which query values a URL really carries.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

89 characters

Password
Only applies when the URL contains one.

Result

Hostshop.example.com
Scheme
https
Port
8443
Path
/products/green-tea
Query
3 parameters
Fragment
reviews
Origin
https://shop.example.com:8443
Full URL
https://shop.example.com:8443/products/green-tea?size=large&color=jade&color=mint#reviews
ParameterValue
sizelarge
colorjade
colormint

The short answer

A URL splits into a scheme, host, optional port, path, query and fragment, in the shape scheme://host:port/path?query#fragment. Parsing lists each part and decodes the query pairs so you can see what a link really sends. The URL is never opened.

Formulascheme://host:port/path?query#fragment

Worked examplehttps://shop.example.com:8443/products/green-tea?size=large&color=jade&color=mint#reviews has host shop.example.com, port 8443, path /products/green-tea, fragment reviews and 3 query parameters, with color appearing twice (jade and mint).

Example

Input
https://shop.example.com:8443/products/green-tea?size=large&color=jade&color=mint#reviews
Result
Hostshop.example.com
Scheme
https
Port
8443
Path
/products/green-tea
Query
3 parameters
Fragment
reviews
Origin
https://shop.example.com:8443
Full URL
https://shop.example.com:8443/products/green-tea?size=large&color=jade&color=mint#reviews
ParameterValue
sizelarge
colorjade
colormint

How to use the url parser

  1. Paste a full URL, including a scheme such as https://, into the Absolute URL box.
  2. Set Password to Hide or Show.
  3. Read the host, the other parts and the parameter table, which update as you type.
  4. Press Copy result or Download the breakdown.

How it works

The result leads with the host, then lists the scheme, port, path, query parameter count, fragment, origin, any username and password, and the full URL.

A table lists the query pairs in order. Repeated keys stay separate, and percent codes and + signs are decoded.

When a URL leaves out the port, the default for its scheme is shown, such as 443 for https, or none if the scheme has no default.

Relative links like /search?q=tea are rejected because they have no scheme.

The tool uses your browser's built-in URL parser, which may tidy the address, for example by lowercasing the host name. It never opens or visits the URL.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

Why does it ask for an absolute URL?

The parser needs a scheme such as https:// at the start. Add one to a relative link or a bare domain like example.com, then run it again.

Why is the password hidden?

A URL can carry a username and password before the host, like https://user:pass@host. The password shows as hidden unless you set Password to Show.

What is the difference between hostname and origin?

The hostname is just the domain, such as example.com. The origin adds the scheme and any non-default port, such as https://example.com:8443.

Does the tool visit the URL?

No. It only reads the text you paste, and nothing is sent anywhere.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools