Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Quickly Batch Delete Spam Comments in WordPress

Are you looking for an easy way to batch delete spam comments in WordPress?

Comment spam can damage your brand and stop legitimate visitors from commenting on your website. However, deleting these messages one at a time can be very time-consuming.

In this article, we will show you how to quickly batch delete spam comments on your WordPress blog or website.

How to Quickly Batch Delete Spam Comments in WordPress

Why You Need to Deal With Comment Spam in WordPress

Comment spam is a big problem for many WordPress websites. Akismet, the popular spam filtering service for WordPress, blocks about 7.5 million spam comments every hour.

You can block a lot of spam by following our list of vital tips and tools to combat comment spam in WordPress.

However, even if you do everything right, it’s still difficult to stop all spam. This means you will still need to manually delete unwanted messages by clicking on Comments in the WordPress dashboard.

The Comments section in the WordPress dashboard

Here, you can delete multiple comments at once using the bulk action feature.

Simply check the box next to each unwanted message, and then select ‘Move to Trash’ from the ‘Bulk Actions’ dropdown.

Bulk deleting comments in WordPress

Then, just click on ‘Approve’ to remove these comments.

This is a good option if you just need to remove a few spam comments. However, if you get a lot of unwanted messages, then moderating WordPress comments in this way can be too time-consuming.

With that in mind, let’s look at how to quickly batch delete spam comments in WordPress.

Batch Deleting Spam Comments in WordPress

The easiest way to bulk delete spam comments in WordPress is by using the WP Bulk Delete plugin. The free version of this plugin lets you bulk delete all comments based on status, so you can easily remove all messages that are flagged as Pending, Spam, or Trash.

The first thing you need to do is install and activate the WP Bulk Delete plugin. If you need help, then please see our step-by-step guide on how to install a WordPress plugin.

Just be aware that this plugin deletes comments permanently. If you check the wrong box and remove a comment by accident, then that content is lost forever. With that in mind, it’s smart to back up your WordPress website using a plugin such as Duplicator Pro before continuing.

When you are ready, go to WP Bulk Delete » Delete Comments. You can now check the comment category that you want to delete.

For example, you will usually want to delete all comments that are marked as Spam.

Bulk deleting WordPress comments using the WP Bulk Delete plugin

If you have just reviewed your Pending queue and approved all genuine comments, then you might delete any messages that are still marked as Pending Comments.

After checking the box, scroll to the bottom of the page and click on ‘Delete Comments.’ WP Bulk Delete will now permanently delete all of these comments.

We hope this tutorial helped you learn how to quickly batch delete spam comments in WordPress. You may also want to learn how to move your WordPress site from HTTP to HTTPS or check out our list of the must have plugins to grow your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

8 CommentsLeave a Reply

  1. Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Good advice. My problem is slightly different. The comments I need to delete are located in the “feedback” area and are not marked as spam. There are over 13,000 that contain spam, I have manually deleted 2,000 but would like a way to bulk delete them. The majority are tied to two specific posts.
    My question is: Are they linked to the posts making it possible to delete the post, therefore, deleting the feedback/comments?

  3. This plug-in just saved me from manually deleting 2,000+ comments. Thank you very much — worked like a charm.

  4. Thank you SO much for this help. I’ve been using Akismet, but didn’t have captcha going. I suddenly realized that I had 65,000 spam comments and whenever I tried to empty spam, it crashed everything. I’m running your recommended plugin right now! I had already tried deleting 20 comments at a time. Wow that would have taken forever. Thanks again!

  5. I’ve been using WordPress for the last six months and had no problems running any feature or understanding it closely, but spam comments was really getting on my nerves. Initially I decided to ignore the piling comments, only to discover later that they amounted to a few thousands.
    That is when I searched the internet to find out how I could remove all
    the spam.

    What really scared me was the time it would take to delete so many comments – I then installed the CAPTCHA and was relieved to see the spam folder empty in just one click.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.