Download on the App Store

Published · By SIA Inc. (developer of LinkSentinel)

Key points

  • A link in an email has two separate parts: the text you see and the place it takes you. The visible URL can be official while the destination is a fake site.
  • The destination is decided by the right end of the host name — the part right after "https://". A brand name on the left, after a "/" or before an "@" is just decoration.
  • Before you click, hold the pointer over the link or copy it, and check the real destination.

Why the look and the destination differ

Most email today is written in HTML, the same format as web pages. An HTML link specifies the destination and the text to display separately. A link written like this shows an Amazon URL on screen but takes you to a different site:

<a href="https://account-check.example/login">https://www.amazon.com/account</a>
  • Inside href="…" is the real destination (account-check.example)
  • Between > and </a> is the text you see (an Amazon URL)

The displayed text can be a URL, "Click here", "Sign in" or a button image. You only see the text; the destination usually stays hidden until you click. Even an undecorated message that looks like plain text is often HTML underneath.

An HTML email that looks like plain text. The URL in the body appears to be northwind-bank.example, but the real destination is a different domain (account-check.example), and LinkSentinel marks it Dangerous
The body shows the bank's URL, but the real destination is account-check.example (LinkSentinel's banner shows the "displayed → actual" pair)

Seven tricks that disguise a link

TrickWhat you seeReal destination
1. URL text differs from the destinationhttps://www.amazon.com/accountaccount-check.example
2. Hidden behind a button or "Click here"An "Update payment method" buttonUnknown until you hover over it
3. Brand name on the lefthttps://amazon.com.account-check.example/account-check.example
4. Brand name after a "/"https://account-check.example/amazon.com/account-check.example
5. Brand name before an "@"https://amazon.com@account-check.example/account-check.example (the part before "@" is ignored)
6. A short URLhttps://bit.ly/3xYz123 and similarUnknown until you open it
7. A well-known site's redirecthttps://well-known-site/redirect?url=https://account-check.example/Starts at the well-known site, then jumps to account-check.example

Domains in the table are made up for illustration (.example is reserved for examples).

The destination domain itself may also be a look-alike spelling of the brand, such as arnazon (rn looks like m). See How to Spot Look-Alike Domains for details.

Which part of a URL tells you where it goes

  1. Find the host name. Take the part after "https://" up to the first "/", "?" or "#". If it contains an "@", look only at what comes after the last "@" (anything before the "@" has nothing to do with the destination). If it ends with ":" and a number, that is a port number — drop it. What remains is the host name.
  2. Read the host name from the right. The right end decides the owner. Usually that is the last two parts, as in amazon.com, or three when it ends in something like .co.uk (as in amazon.co.uk) — but there are exceptions. Compare it from the right with the official domain you have confirmed on the company's website.
  3. Check that it matches the company's official domain exactly, letter for letter.
URLOwner's domain
https://www.amazon.com/gp/your-accountamazon.com
https://amazon.com.account-check.example/loginaccount-check.example
https://login.amazon-support.example/amazon-support.example

How to check before you click

  • On a computer: hold the pointer over a link or button without clicking; most mail apps and browsers then show the destination URL.
  • Mail (Apple Mail) on the Mac: besides hovering, you can Control-click the link, choose Copy Link and paste it into another app to read it, or look at the destination in the message source. The steps are in How to Check Where an Email Link Goes Before You Click.
  • On a phone: some apps show the destination on a long press, but some open a preview that actually loads the page. With a suspicious message, do not touch the link; check through the official app instead.

If the destination is not the official domain, do not open the link; delete the message or mark it as junk. Even if the destination is official, the safest way to handle a request to sign in, pay or enter personal details is through the official app or a bookmark.

How LinkSentinel checks links

  • A link whose visible text looks like a URL or domain but whose real destination is a different domain is marked Dangerous. The banner shows the "displayed → actual" pair so you can see what differs (genuine email delivery services and sender–link pairs you have allowed are excluded).
  • If a URL contains another URL, LinkSentinel extracts it and checks that destination too. For redirect links like trick 7, the destination is found as long as it is written in the URL itself.
  • Domains are read from the right, taking suffixes such as .co.uk into account. Links to destinations unrelated to the sender are counted as "unrelated links" in the verdict.

LinkSentinel never visits the links, and it never sends the content of your mail anywhere. That means it does not open short URLs to see where they lead, or follow redirects that happen on a server. If you cannot tell where a link goes, do not open it.

Frequently asked questions

If the URL written in an email is the official website, is it safe to click?
Not necessarily. In an HTML email, the text you see as a link and the place it actually takes you are written separately. The visible URL can be the official one while the real destination is a different site. Check where the link really goes before you click.
How do I check where a "Click here" or "Sign in" button goes?
On a computer, hold the pointer over the button; most mail apps and browsers then show the destination URL. On a phone, a long press may show the destination, but it may also open a preview that actually loads the page, so with a suspicious message it is safer not to touch the link at all.
If the destination URL contains the company name, is it genuine?
Not necessarily. What decides the destination is the right end of the host name — the part right after "https://". The owner of "https://amazon.com.account-check.example/" is account-check.example; the amazon.com on the left is decoration. A company name after a "/" does not change the destination either.
Can a plain-text-looking email still hide a fake link?
Yes. Many emails that look like plain text are actually HTML. Even an undecorated message can have a URL whose real destination is different from what you see.
What should I do if I already opened the link?
If you did not enter anything on the page, close it. If you entered a password or a card number, change the password right away through the service's official website or app, and contact your card issuer or the service through their official channels.
Download on the App Store