[![Sign up for the web.dev newsletter.](https://web.dev/static/images/newsletter/opt2_square.png)](https://web.dev/newsletter?nl_cta=true)

Every day, cybercriminals compromise thousands of websites. Hacks are often
invisible to users, yet remain harmful to anyone viewing the page, including the
site owner. For example, a hacker may have infected your site with harmful code,
which in turn can record keystrokes on visitors' computers, stealing login
credentials for online banking or financial transactions. If you're not sure
whether your site was hacked, start by reading [how do I know if my site was
hacked](https://web.dev/articles/how-do-i-know-if-my-site-was-hacked)?
![Different errors that might indicate a hacked site.](https://web.dev/static/articles/hacked/image/different-errors-might-i-735533d78f615.gif) If you're a site owner and you see one of these, you might have been hacked.

## Learn more about hacking

The following video covers:

- How and why sites are hacked.
- The process for recovering a site and removing any user-facing warnings.
- Approximate time to fix the site.
- Fixing it yourself or hiring a professional.

[Video](https://www.youtube.com/watch?v=mbJvL61DOZg)