URL parser

Paste a URL and see it split into protocol, host, port, path, fragment and every query parameter, decoded and in a table. Tracking parameters are marked.

  • Free
  • No sign-up
  • Runs in your browser
url-parser

Fill in the values above to see the result.

100% private — the calculation is done in your browser and nothing is sent to any server.

How it works

Paste the address

Any link, with or without https://.

Read the parts

Protocol, host, port, path, fragment and origin.

Check the parameters

Each one decoded, with tracking parameters marked.

What is in this link?

Long web addresses are hard to read: a domain, a path, a string of parameters joined with ampersands and full of percent signs, and sometimes a fragment on the end. When you need to debug a redirect, understand a campaign link, extract one parameter, check where a link really points or copy the parts into code, breaking the address down by eye is slow. Paste it here and every piece is laid out.

The anatomy of a URL

  • Protocol, such as https, http, ftp or mailto: how to reach the resource.
  • Host, the domain name or IP address, and an optional port, when it is not the default one for the protocol.
  • Path, the location of the page or file on the server.
  • Query string, everything after the question mark: name and value pairs separated by ampersands.
  • Fragment, after the hash sign, which points to a place inside the page and is never sent to the server.
  • Origin, the combination of protocol, host and port that browsers use as a security boundary.

Parameters, decoded

The query string is split into its parameters and each name and value is decoded from percent-encoding, so caf%C3%A9 reads as café. The table makes it easy to spot a parameter, copy its value or see that the same name appears more than once. Parameters used for advertising and analytics, such as the utm_ family, gclid and fbclid, are marked, because they say more about how you arrived than about the page you are on.

Warnings that matter

The tool flags two things worth noticing. An address with a user name and password in it, such as https://user:pass@site.com, exposes those credentials to anyone who sees the link, and is also a technique used to disguise a phishing link, since the part before the at sign is not the real host. An address that uses http rather than https is not encrypted.

What it does not do

It reads the address; it does not visit it, check whether it works, follow redirects or judge whether it is safe. For removing tracking parameters, use the link cleaner, and to encode or decode parts of an address, use the URL encoder.

Frequently asked questions

How do I get the parameters from a URL?
Paste the URL. Every query parameter is listed in a table with its decoded name and value.
What is the difference between the path and the query string?
The path locates the page on the server. The query string, after the question mark, passes extra information as name=value pairs.
What is the part after the # sign?
The fragment. It points to a spot inside the page, and browsers do not send it to the server.
What are utm_ parameters?
Tracking parameters added to links by marketing tools to record where a visitor came from. They do not change the content of the page.
Why does it warn about a user name in the address?
Because credentials in a URL are visible to anyone, and the format is often used to disguise fake links.
Is my URL sent anywhere?
No. It is analysed in your browser and never visited.