Tools / Hacked website checker
Hacked website checker
Many hacks are built to hide from the site owner. Spam is shown only to Google, and only visitors who arrive from a search result get redirected. This check loads your page the way Googlebot, a search visitor, a phone and a direct visitor each see it, then compares the four.
More free checks
Run a full security scan or speed test on your site, or try a related tool.
Related free tools
What it checks
- Cloaking. Spam terms (pharmacy, gambling, loans, counterfeit goods, essays, adult), outside links, page titles and Japanese or Chinese text that appear in the page served to Googlebot but not in the page visitors get. This is how the pharma hack and the Japanese keyword hack usually work.
- Conditional redirects. Whether a visitor arriving from Google, on a desktop or a phone, is sent to another site while a direct visit is not. Owners type the address directly, so they never see these redirects.
- Page source. Links to other sites inside elements hidden with CSS, iframes sized to 0 or 1 pixel,
and obfuscated inline scripts such as
eval(atob(…))or longString.fromCharCodesequences. - Reputation. The domain and its server IPs on Spamhaus, SURBL, URIBL and Barracuda, and the Quad9 threat-blocking resolver.
How it works
- Four requests fetch the page you enter: as a direct desktop visit, as a desktop visit from Google, as an iPhone visit from Google, and as Googlebot.
- Redirects within your site are followed. A redirect to another site is recorded, and that site is never opened.
- The versions are compared and the page source is scanned. Results show what was found and where, never page content.
It is a passive check: plain page requests, nothing submitted, no logins tried. It sees one page from the outside, so a clean result is not proof that the server is clean. Injected code can sit in files, the database or pages this check does not load.
If the check finds signs
- Open Google Search Console and check Security & Manual actions → Security issues.
- Search
site:yourdomain.comon Google and look for pages, titles or languages you did not publish. - Restore the site from a backup taken before the problem began, then update the CMS, plugins and themes.
- Change every password and key: hosting, database, CMS admins, FTP/SSH and API keys.
- Request a review in Search Console once the site is clean.
Read the full guide: signs your website was hacked, and how to fix it. If you would rather have experts handle it, contact us.
Frequently asked questions
Why does my site look fine to me but Google shows spam?
That is cloaking. The injected code checks who is asking and serves spam only to search engine crawlers, so the owner and regular visitors see the normal site. Comparing the Googlebot version with the visitor version, as this check does, is the quickest way to see it.
Why do only some visitors get redirected to a spam site?
Many hacks redirect only visitors who arrive from a search engine, or only phones, and skip anyone who typed the address. Some redirect each visitor once and then set a cookie. This check tests visits from Google on desktop and iPhone separately for that reason.
Does a clean result mean my website is not hacked?
No. It means none of these checks found a sign on the page you entered. Backdoors, malicious admin accounts and injected code on other pages can stay invisible from the outside. Check a few deeper pages too, and review your server files and admin users if you have any doubt.
The check says Googlebot was refused. Is that a problem?
Usually not. Many sites block requests that claim to be Googlebot but do not come from Google's addresses, which is good practice. The Googlebot comparison simply cannot run on those sites; the other checks still do.
My server IP is on a blocklist. Was I hacked?
Not necessarily. On shared hosting many sites share one IP address, and a neighbour can get it listed. A listing of your domain is a stronger signal. Either way it can hurt email delivery, so ask your host or request delisting.
How is this different from a security plugin on my site?
A plugin runs inside your site and can scan its files and database, but a hacked site can also hide from it or switch it off. This check looks from the outside, as Google and your visitors do, so it catches what they are served. The two complement each other.
Related checks
- Blacklist & reputation: full domain and IP blocklist results.
- Exposed files checker: leaked .env, .git and backup files attackers look for first.
- End-of-life software checker: outdated software is the most common way in.
- Free website security scan: TLS, headers, DNS, email security and reputation in one report.