Skip to content

Signs Your Website Has Been Hacked

Reviewed on 4 December 2026

A broken site usually just stops working. A hacked site often keeps working, but it does things you never asked for. That's why the signs can be easy to miss.

Why a hack can stay hidden

A hack means someone else has changed your site's files or database, or added their own. Their reasons vary. Google lists money from spam links or redirects, stealing customer data, passing on a political message, spreading malware, and plain vandalism.1

Most of those aims work best if you don't notice. So the changes are often kept away from you, the owner, and shown only to search engines or to certain visitors.

Signs you can spot yourself

Google lists some common signs of an attack.1

  • Unusual traffic spikes, especially from search terms that have nothing to do with your business.
  • Visitors telling you they've seen malware. Malware is software built to harm a computer or the people who use it.
  • New accounts with administrator privileges that you didn't create.
  • Pages on your site that you didn't add.

The cyber agency of the Australian government adds defacement. That's when someone changes your site's look or content without you knowing, and it can also be a route to infecting visitors.2

Warnings that visitors and Google show

If your site holds malware, visitors will typically see "This site may harm your computer" in search results or on a page their browser shows before your site opens.3

If spam was added instead, search results show "This site may be hacked".3 The page Google hacked site warnings explained covers what each message means.

Any of these warnings is a strong hint. Don't wait for a second one.

When you can't see anything wrong

Hackers can use a trick called cloaking. The site shows one thing to you and another to search engines. You might open a spam page and find it blank, while Google sees a page full of spam words and links.4

Two checks help here.4

  • Type site: followed by your web address into Google. This lists the pages Google knows about, including any a hacker added.4
  • Register the site in Google's Search Console, open its Security Issues section, and look for example addresses where Google found hacked content.4

Search Console is free, and it needs you to prove you own the site. If you can see an example address there, you've got something concrete to work from. If Google flagged you by mistake, Google suggests asking in its Search Central Help Community.4

What a plain fault looks like

Blank pages, error messages or a slow site can come from many things, such as a bad update or a full hosting plan. None of those is on the lists above. The signs of a hack are extra things: new pages, new admins, strange traffic, warnings.

If you're not sure, treat it as a possible hack and move to first steps after finding a hacked website. Checking costs little.

Checking whether a site is really hackedNotice something oddCheck admin accounts and pagesSearch site: in GoogleOpen Search Console Security Issues
Work from what you can see to what Google can see.

Where the facts come from

  1. FAQ for hacked sites, web.dev (Google)
  2. Secure your website, Australian Signals Directorate (cyber.gov.au)
  3. Hacked with malware, web.dev (Google)
  4. How do I know if my site was hacked?, web.dev (Google)