Skip to content

URL parser

Free, no sign-up Runs in your browser

Split a URL into scheme, user info, host, port, path, query parameters and fragment, decode each parameter, and flag signs of phishing and open redirects.

The URL is taken apart here in your browser. It is not opened or requested.

Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.

How to use the URL parser

  1. Paste the URL. It is taken apart in your browser and never requested.
  2. Read the host first: that is where the link goes.
  3. Check the decoded query parameters for addresses and data you did not expect.
  4. Read the findings, worst first.

About this tool

A URL has up to seven parts: a scheme, optional user information, a host, a port, a path, a query and a fragment. Browsers and people read them differently. A person reads left to right and trusts the first familiar name. A browser finds the host between the “//” and the next slash, after any “@”. Phishing lives in that gap.

This parser shows where a link really goes and checks for the tricks that hide it. Text before an “@” is a user name, not the site. An IP address in place of a name, sometimes written as one decimal or hex number, hides the destination. A host with xn-- labels or with letters from two alphabets can imitate another name. A parameter such as next or redirect that holds another site’s address may be an open redirect.

Web URLs are read here the way browsers read them, following the URL Standard, because that is what decides where a click lands. The checks are a fixed set of rules. They catch known shapes and cannot tell you that a site is honest: a clean result on a host you do not know means only that the link is not disguised.

Sources

Questions

What are the parts of a URL?

In https://example.com:8443/path?x=1#top the scheme is https, the host is example.com, the port is 8443, the path is /path, the query is x=1 and the fragment is top. The fragment is never sent to the server.

How can I tell where a link really goes?

Find the host: the part after “://” and after any “@”, up to the next slash, colon or question mark. Read it from the right. In login.example.com.evil.example the registered domain is evil.example, whatever comes before it.

What is an open redirect?

A page that sends the visitor on to an address taken from a URL parameter without checking it. An attacker builds a link to the trusted site that ends on their own, and the victim sees the trusted name. It is also used to steal OAuth codes through the redirect_uri parameter.

What does xn-- mean in a domain name?

It marks a punycode label: the ASCII encoding of a name with non-ASCII characters, such as xn--mnchen-3ya for münchen. Such names are legitimate, and they are also used for homograph attacks where a look-alike letter replaces a Latin one.

Why is a password in a URL a problem?

URLs are recorded in browser history, in web server and proxy logs, and can be passed on in the Referer header. A password or token placed in one should be considered disclosed. Send secrets in a header or in the request body.

Related tools