Cleanup and optimize the database of WordPress sites.
As of April 2026, WP Database Cleaner is a WordPress database plugin with 200 active installations and a 4.8/5 rating from 6 reviews. It has been downloaded 24K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 13 years ago — may have compatibility concerns. Top alternative: Search Regex.
WP Database Cleaner is a easy to use WordPress plugin that allow users to quickly cleanup and optimize the WordPress database by removing all spam comments, trash comments, unused tags, post revisions, auto drafts, and much more.
When you have a WordPress site that has a lot of visitors, and presumibly a lot of comments, you may find that a high number of comments will be placed in the spam folder. It is not good to have 10k spam comments saved in the database, because all of these comments can increase consistently the size of the mysql database backups.
If you have a lot of published posts, you may have post revisions and auto-drafts saved in the database, that can slow down the database performances. All this data is considered junk and it should be cleaned frequently.
| WordPress | 3.0+ requiredTested up to 3.4.2 |
| PHP | false+ required |
02/08/2012 =
* Initial release
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.