WordPress Security ServicesMalware Removal
Free Options

Free WordPress Malware Removal: What You Can Do Without Paying Anyone

Yes, you can often remove WordPress malware without paying anyone, if you're comfortable with files and a bit of technical work, and the infection isn't too stubborn. Here are the free tools and steps that actually work, where they fall short, and how to tell when "free" is about to become expensive.

Sergey By Sergey, WordPress security specialist Updated 2 min read
In this guide
  1. The free toolkit
  2. The free cleanup, in short
  3. Where free stops working
  4. When free becomes expensive

The free toolkit

These tools cost nothing and cover most of what a cleanup needs:

Tool What it’s good for
Wordfence (free plugin) Scanning files against known malware, comparing core and plugin files with the originals, repairing modified files
Sucuri SiteCheck A quick outside check: visible malware, spam, blocklist status
Google Search Console What Google found, sample URLs, and review requests to remove warnings
WP-CLI (if your host has SSH) wp core verify-checksums, wp plugin verify-checksums --all, reinstalling core, listing users and cron events
wptriage (open source, if you have SSH) A read-only first pass: core, plugin and theme files compared with the originals, PHP in uploads, .htaccess rules, unknown admins and injected options
phpMyAdmin (in your hosting panel) Searching the database for injected scripts and unknown admins
Your hosting file manager or SFTP Finding and replacing files; checking uploads for PHP files
VirusTotal Checking whether security vendors still flag your site

The free cleanup, in short

  1. Back up the infected site.
  2. Change hosting and SFTP passwords.
  3. Scan with Wordfence and note what it finds.
  4. Reinstall WordPress core and all plugins and themes from clean sources.
  5. Remove PHP files from uploads and other unexpected files.
  6. Check the database for scripts and unknown admins.
  7. Check .htaccess, cron jobs and other sites in the account.
  8. Change all WordPress passwords, revoke application passwords, reset the security keys.
  9. Update everything and find the way in.
  10. Request a Google review if there was a warning.

Every step is explained, with commands, in my step-by-step guide to fixing a hacked WordPress site.

Where free stops working

Free tools handle known malware in files well. They struggle with:

  • malware that keeps coming back, because something reinstalls it;
  • infections in the database and spam shown only to Google;
  • finding the entry point, which no scanner does for you;
  • sites you can’t log into, or that are suspended;
  • online stores, where a missed card skimmer has real consequences.

When free becomes expensive

Free is free until it isn’t. Watch out for:

  • Repeated cleanups. If you’ve cleaned the same infection twice, the third attempt with the same tools rarely goes differently.
  • Lost revenue. Every day with a Google warning, a suspended site or disapproved ads costs money.
  • Accidental damage. Deleting the wrong files, or a database edit that corrupts settings, can break a site badly.

My advice: if the infection is simple and you’re comfortable with the tools above, give it a try. Many owners clean their own sites successfully. Set yourself a limit, though: if it’s not clean after an afternoon, or it comes back, that’s when a professional cleanup ($95 with me) usually costs less than more of your time.

Sergey, WordPress Security Specialist
About the author
Sergey, WordPress Security Specialist

10 years in WordPress security and incident investigation, and more than 200 websites cleaned of malware. Top Rated on Upwork with a 100% Job Success score. More about me

Frequently Asked Questions

Is there a free plugin that removes all malware?

No. Free plugins like Wordfence can repair modified core and plugin files and delete files they recognize as malware. That handles many simple infections. But they don't clean everything in the database, find custom backdoors reliably, or tell you how the attacker got in.

Will my host clean my site for free?

Some hosts include basic malware scanning, and a few managed WordPress hosts include cleanup in certain plans. Most charge for cleanup or offer a paid security add-on. Check your plan, or ask support directly.

Can I get free help on forums?

Yes. The WordPress.org support forums and communities like r/Wordpress are full of helpful people. They're great for advice and second opinions, but nobody can clean your server for you through a forum post.

How do I know if my free cleanup worked?

Scan again, test the site from a phone on mobile data and through a Google search, check Search Console, and watch for the next two weeks. If the same malware returns, something was missed.

Need a hand?

Let me clean your WordPress site for you

Send me your site URL and what you're seeing. I'll reply with what I think is going on and the next step.

$95 per infected site · 1-month guarantee · direct contact with the specialist

Get My Site Cleaned →