How to Delete All Your WordPress Posts

If you have the need to delete all your posts from your WordPress site, then there are basically three ways you could go about it. You could  manually delete your posts. You could use a plugin. Or you could go into your database and delete your posts from there.

We’ll go over each method below.

No matter which method you choose, of course you should first back up your database in case something goes wrong and you end up deleting things you don’t want to delete.

Manual Deletion

If you’d like to manually delete a LOT of posts, there is a little trick you can use to help cut down on the time it will take to run through the deletion process.

1. First go to your Post section in the Admin area of your backend.

2. Once there, go to the “Screen Options” panel in your Admin section. (You should see an option for it in the upper right-hand corner of your screen.)

Featured Plugin - WordPress Appointments Plugin

Take, set and manage appointments and client bookings without having to leave WordPress. Appointments+ makes it easy.
Find out more

3.In the Screen Options panel, you can change the number of posts you can view on one page. Change that number from the default 20 to something higher. (Note: if you have LOTS of posts and you change this number to something VERY high, your browser might lock up on you. You can test it to see how high you can go without problems.)

4. Select all your posts; then use the “Bulk Actions” pull-down menu, and select “Move to Trash.” After that, click the “Apply” button.


5. You can then go to your “Trash” section and click “Empty Trash” if you like.

*Repeat the above process until all your posts have been moved deleted.


Featured Plugin - WordPress Pop-Up Chat Plugin

No javascript required, no third part chat engine, just fully featured chat right in your own database on your own WP sites - couldn't be easier.
Find out more


Delete with a Plugin

If you’d like to use a plugin to do this work, then the Bulk Delete plugin should do the trick for you.

The Bulk Delete plugin lets you choose to delete posts based on a number of different options. For example, you can delete posts based on …

  • Status (Draft, Revision, Pending, Scheduled, Private)
  • Category
  • Age of Post
  • Tags
  • And more

Here’s a partial look at the settings page.

Featured Plugin - WordPress Facebook Plugin

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Go into the Database

If you have thousands of posts delete, and you feel the options above may be too slow or too clunky, then your best bet may be to dive into your database. And so for this I’ll refer you to a post at TripWireMagazine where they run through at least one way of doing that.

Reset Your Database Completely

If you’re looking to get your database to the way it was when you first installed WordPress (in other words, deleting pretty much everything), then check out Sarah’s recommendation on resetting your database.

Featured Plugin - WordPress Q&A Site Plugin

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more


Photo: Delete sticker icon from BigStock

Comments (4)

  1. Hey Dude..You really saved my work with that first option..Imagine I was deleting thousands of spam post by deleting one by one..even bulk post delete plugin was not working.