PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Clean
  4. WP-Sweep
WP-Sweep icon

WP-Sweep

WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.

By Lester Chan·Clean·Free
4.7(138 reviews)
·100K+ active installs·Updated 11 months ago
DownloadVisit HomepageCompare

As of April 2026, WP-Sweep is a WordPress clean plugin with 100K+ active installations and a 4.7/5 rating from 138 reviews. It has been downloaded 1.8M+ times in total. Requires WordPress 4.6+ and PHP false+. Available on WordPress.org since 2015. Downloads are down 9% this week. Top alternative: Advanced Database Cleaner – Optimize &….

4.7/5138 reviews
100K+active installs
1.8M+total downloads
11 yearssince 2015

Overview

This plugin cleans up:

  • Revisions
  • Auto drafts
  • Deleted comments
  • Unapproved comments
  • Spammed comments
  • Deleted comments
  • Orphaned post meta
  • Orphaned comment meta
  • Orphaned user meta
  • Orphaned term meta
  • Orphan term relationships
  • Unused terms
  • Duplicated post meta
  • Duplicated comment meta
  • Duplicated user meta
  • Duplicated term meta
  • Transient options
  • Optimizes database tables
  • oEmbed caches in post meta

This plugin uses proper WordPress delete functions as much as possible instead of running direct delete MySQL queries.

Following delete functions are used:

  • wp_delete_post_revision()
  • wp_delete_post()
  • wp_delete_comment()
  • delete_post_meta()
  • delete_comment_meta()
  • delete_user_meta()
  • delete_term_meta()
  • wp_remove_object_terms()
  • wp_delete_term()
  • delete_transient()
  • delete_site_transient()

WP-Sweep WP REST API…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.7138 reviews
5 ★
125
4 ★
1
3 ★
1
2 ★
1
1 ★
10

Recent Reviews

removes error 500
by oriander·1 month ago

great plugin. helped to remove error 500! thanks for making it.

Thanks a lot
by Amine·1 month ago

Thanks a lot for this useful plugin.

Très bon travail
by Thierry Laval·5 months ago

Merci beaucoup pour ce travail et le partage. Ce plugins fonctionne très bien.

great plugin
by readysite·10 months ago

great plugin, had a large database it cleaned in 2 clicks

Great plugin to keep your WordPress database clean and optimized
by NDV Comunicazione - Sviluppo·1 year ago

WP-Sweep is a simple yet powerful plugin that helps keep your WordPress site running smoothly. It cleans up unnecessary data like post revisions, trashed posts, spam comments, unused terms, and more — all using native WordPress functions, which makes it safer than many alternatives.

We’ve used WP-Sweep on multiple websites and it’s never caused any issues. It’s lightweight, user-friendly, and does exactly what it promises. The interface is clear and makes it easy to choose what to clean.

Highly recommended for anyone looking to optimize their WordPress database without the risk of breaking anything.

Download Trends

Today: 225Yesterday: 357This week: 2KPeriod total: 133K

Compatibility

WordPress4.6+ requiredTested up to 6.8.5
PHPfalse+ required

Version Adoption

v1.1
99.3%
v1.0
0.7%

Top Alternatives to WP-Sweep

Advanced Database Cleaner – Optimize & Clean Database to Speed Up Site Performance icon
Advanced Database Cleaner – Optimize &…
4.9100K+ installsUpdated 4 weeks ago
ViewCompare
Media Cleaner: Clean your WordPress! icon
Media Cleaner: Clean your WordPress!
4.690K+ installsUpdated 1 week ago
ViewCompare
Advanced WordPress Reset – Debug, Recover & Reset WP icon
Advanced WordPress Reset – Debug…
4.920K+ installsUpdated 2 months ago
ViewCompare
Database Cleaner icon
Database Cleaner
510K+ installsUpdated 1 month ago
ViewCompare
Unbloater icon
Unbloater
55.0K+ installsUpdated 2 months ago
ViewCompare
View all clean plugins →

Frequently Asked Questions

Changelog

1.1.8

  • FIXED: Added current_user_can() Check For AJAX Calls

1.1.7

  • FIXED: Pass in default blank string to fix fatal error

1.1.6

  • NEW: Re-org wp-sweep.php to inc/class-wpsweep.php
  • NEW: Bump to WordPress 6.2

1.1.5

  • NEW: Bump to WordPress 5.8

1.1.4

  • FIXED: Replaced %_transient_% with %\_transient\_%. Escape _ in MySQL if not it is be…
View full changelog on WordPress.org

Contributors

Lester ChanLester Chan
Plugin Info
Version
1.1.8
Last Updated
Apr 16, 2025
WP Requires
4.6+
Tested Up To
6.8.5
PHP Requires
false+
Active Installs
100K+
Downloads
1.8M+
Added
Feb 25, 2015
Business
Free

Tags

cleansweepcleanupclean-upoptimize

Developer

L
Lester Chan
20 plugins0.9M+ total installs
View all plugins →

Quick Compare

WP-Sweep vs Advanced Database Cleaner – Optimize &…→WP-Sweep vs Media Cleaner: Clean your WordPress!→WP-Sweep vs Advanced WordPress Reset – Debug…→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.