WP-Sweep icon
Admin & Maintenance

WP-Sweep

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

Is WP-Sweep safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 3 months ago (version 2.0.1).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 8.2+.
  • Pass: Well rated Rated 4.7/5 by 138 users on WordPress.org.
  • Pass: Widely used Active on 100,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 17, 2026. Always keep plugins updated and test changes on a staging site.

Overview

WP-Sweep describes itself as: “WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.”

It is active on 100,000+ WordPress sites and rated 4.7 out of 5 by 138 users on WordPress.org. Developers can extend it through 6 actions and 14 filters, listed below.

We haven't published a hands-on review of WP-Sweep yet. Want one, or need help with it? Send us a request.

How to install WP-Sweep

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “WP-Sweep” and pick the one by Lester Chan.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install wp-sweep --activate

Requirements: WordPress 6.8+ · PHP 8.2+ · tested up to WordPress 7.1.4

Hooks & customisation

WP-Sweep 2.0.1 fires 6 actions and 14 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

wp-sweep — top hooks
// Fires below the sweep table, where the comment sweeps used to end.
do_action( 'wp_sweep_admin_comment_sweep' );

// Fires below the sweep table, where the database sweeps used to end.
do_action( 'wp_sweep_admin_database_sweep' );

// Fires below the sweep table, where the option sweeps used to end.
do_action( 'wp_sweep_admin_option_sweep' );

// Fires below the sweep table, where the post sweeps used to end.
do_action( 'wp_sweep_admin_post_sweep' );

// Fires below the sweep table, where the term sweeps used to end.
do_action( 'wp_sweep_admin_term_sweep' );

// Fires below the sweep table, where the user sweeps used to end.
do_action( 'wp_sweep_admin_user_sweep' );

Browse all 20 hooks with examples →

WP-Sweep: frequently asked questions

Is WP-Sweep free?

Yes. WP-Sweep is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is WP-Sweep safe to use?

WP-Sweep is actively maintained: the latest version was released 3 months ago. Users rate it 4.7 out of 5 from 138 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does WP-Sweep work with WordPress 7.1?

Yes. WP-Sweep is tested up to WordPress 7.1, the current release. It requires WordPress 6.8 or later and PHP 8.2 or later.

How many websites use WP-Sweep?

WP-Sweep is active on 100,000+ WordPress sites, according to WordPress.org. It is currently at version 2.0.1, last updated on August 24, 2026.

What are the best alternatives to WP-Sweep?

Plugins that do a similar job and are actively maintained include Database Cleaner: Cleanup, Optimization & Repair (10,000+ installs), Advanced Database Cleaner (100,000+ installs).

Can I customise WP-Sweep without editing its code?

Yes. WP-Sweep 2.0.1 fires 6 actions and 14 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 20 hooks with examples.

Done for you

Need WP-Sweep to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need WP-Sweep customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Lester Chan. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

About the developer

Lester Chan

18 plugins · 752,860+ installs in total · 18 of 18 updated in the last year

  • Actively maintained
  • Released this month
  • Keeps up with WordPress
92 maintenance
score
Developer profile →

More plugins by Lester Chan

All 18 →

Adds a more advanced paging navigation interface.

400,000+ installs 13 hooks

Enables you to display how many times a post/page had been viewed.

90,000+ installs 5 hooks

Manages your WordPress database.

50,000+ installs 2 hooks
WP-Polls icon

WP-Polls

136

Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog…

40,000+ installs 37 hooks

Alternatives in Admin & Maintenance

See all →

Great looking maintenance, coming soon & under construction pages. Put your site under maintenance in minutes.

1+ million installs 10 hooks

A simple plugin to update URLs or other text in a database.

1+ million installs 2 hooks
File Manager icon

File Manager

1,493

file manager provides you ability to edit, delete, upload, download, copy and paste files and folders.

1+ million installs 3 hooks

Redux is a simple, truly extensible, and fully responsive options framework for WordPress themes and plugins. It ships with an…

900,000+ installs 178 hooks