To check if a link is safe, read the real domain in its address, expand it if it is shortened, and look it up in a URL scanner such as VirusTotal or urlscan.io. A clean scan lowers the risk but does not prove the link is safe, so if the message itself was unexpected, skip the link and go to the site yourself.
The six steps, in order
- Read the address without clicking (hover on a computer, press and hold on a phone).
- Find the real domain and compare it with the one you expect.
- If the link is shortened, expand it without opening it in a browser.
- Run it through a URL scanner.
- Ask whether you expected this message at all.
- If you are still unsure, go to the site by typing its address or using its app.
Step 1 and 2: read the real domain
The text of a link can differ from its destination. Hover over it and read the address shown in the corner of the browser window, or press and hold on a phone to preview it. Then find the domain: the name just before the first single / after https://, read from right to left.
| Link | Domain that counts |
|---|---|
https://www.example.com/account | example.com |
https://example.com.verify-login.test/account | verify-login.test (the brand is only a subdomain label) |
https://www.exampel.com/account | exampel.com, a lookalike with swapped letters |
CISA lists "incorrect email addresses or links, like amazan.com" and "untrusted shortened URLs" among the common signs of phishing. The domains in the table are made-up examples. For the full set of message checks, see how to spot phishing.
Step 3: expand a shortened link without opening it
A short link hides its destination, so you can't read the domain. You can ask the server where it points without loading the page in a browser. With curl, -I fetches only the headers and -L follows redirects:
curl -sIL "https://short.example/abc123"
Example output, trimmed. The location lines show each hop:
HTTP/2 301
location: https://tracker.example/r?id=8841
HTTP/2 302
location: https://login.verify-login.test/account
HTTP/2 200
content-type: text/html
The last location is where a browser would end up. Here it is verify-login.test, so you would stop. A few details:
-sturns off curl's progress meter, so only the headers print.- curl follows up to 50 redirects by default (
--max-redirs). - This still contacts the link's server, so that server sees your IP address. It does not render the page or run any scripts.
- Some servers answer a header-only request differently from a normal one, so the result is a strong hint, not a guarantee.
The URL scanners below also follow redirects and report where the page ended up, which is easier if you don't use a terminal.
Step 4: run the link through a URL scanner
Three kinds of checkers are worth knowing. They answer slightly different questions.
| Checker | What it does | Good for |
|---|---|---|
| VirusTotal | Submits the URL to many security vendors and blocklists and shows each verdict. Accepts URLs through its web page, browser extensions or API. | A quick second opinion from many sources |
| urlscan.io | Browses to the URL "like a regular user" and records the activity, including domains and IPs contacted, with screenshots and a DOM snapshot. | Seeing what the page looks like and where it connects, without visiting it yourself |
| Google Safe Browsing | Google's lists of unsafe URLs, covering "social engineering sites (phishing and deceptive sites)" and "sites that host malware or unwanted software". Chrome uses it to show warnings. | What your browser already checks for you |
To use VirusTotal or urlscan.io, open the site, choose the URL option, paste the full link and read the result. On VirusTotal, one vendor flagging a link while dozens say clean can be a false positive, which VirusTotal defines as a "harmless item detected as malicious by one or more scanners". On urlscan.io, open the screenshot: a page that imitates a bank or mail login on an unrelated domain is a clear answer.
What a clean result does not tell you
These tools report what their sources already know. Google's Chrome help says Standard protection warns about sites "already identified as dangerous", while Enhanced protection also warns about ones Google doesn't yet know about. A phishing page set up an hour ago may not be on any list. A result of no detections is one piece of evidence, not a verdict.
Also think about what you are sending. The link goes to a third party, so don't paste links that contain a private token: password resets, private document shares, one-time sign-in links.
Step 5 and 6: judge the message, then go direct
The scan checks the link. You still have to check the story around it. CISA says that if you think a message could be real, "don't click on any link or call any number in the message", and to look up the company's contact details yourself. The UK NCSC gives the same advice: "If you have any doubts about a message, contact the organisation directly", using details from their official website and not the ones in the message.
In practice, that means typing the company's address into the browser or opening its app, then looking for the same notice in your account. If the payment problem, delivery or security alert is real, it will be there.
The NCSC also warns about QR codes in emails: "you should be wary of scanning QR codes within emails." A QR code is a link you can't read, so apply the same steps to the address it opens, and check it before you tap through.
Turn on your browser's own protection
In Chrome on a computer, open More, then Settings, then Privacy and security, then Security. Standard protection is the default. Enhanced protection also warns about dangerous sites Google doesn't yet know about, but Chrome sends the site address, a small sample of page content, extension activity and system information to Google to do it. Choose based on how much you want to share. "No protection" turns warnings off entirely.
If a browser warning page appears, treat it as a reason to leave, not an obstacle to click through.
If you already clicked
Close the page and don't enter anything. If you typed a password, change it on the real site and anywhere you reused it. If a file downloaded, don't open it. The phishing guide covers reporting and recovery in detail. If you need new passwords, the larely password generator makes random ones locally in your browser.
Frequently asked questions
- Can a link be dangerous even if a scanner says it is clean?
- Yes. Scanners and Safe Browsing check a URL against what their sources already know. Google says Standard protection in Chrome warns about sites already identified as dangerous, and that Enhanced protection also covers ones Google doesn't yet know about. A brand-new phishing page may not be on any list yet, so combine a scan with the domain check and with asking whether you expected the message.
- Is it safe to paste a suspicious link into VirusTotal or urlscan.io?
- Submitting is generally safe for you, because the scan runs on their servers, not your device. urlscan.io describes its scan as an automated process that browses to the URL like a regular user. The risk is the other way round: the link is sent to a third party. Don't submit links that carry a private token, such as a password reset link or a private document share link.
- Does hovering over a link tell me if it is safe?
- It shows you the real destination, which lets you read the domain. It does not tell you whether that domain is malicious. Treat hovering as the first step of the check, not the whole check.
- What should I do if I already clicked a suspicious link?
- Close the page without entering anything. If you typed a password, change it on the real site and anywhere you reused it. If a file downloaded, don't open it. The phishing article linked above has the full list of steps.