PurgeForge cleans the leftovers that slowly bloat a WordPress database. It scans first, shows you exactly what it found, and deletes only when you click Clean.
Every deletion runs in small batches of at most 500 rows (100 for posts) with a short pause in between. Large tables are never locked for long, and a cleanup that is interrupted can simply be run again.
What it cleans
wp_delete_post(), so terms, comments and attachments are cleaned up in the normal way.wp_delete_comment(), so comment meta, replies and comment counts are handled in the normal way.Scheduled cleanups, as many as you like
Create any number of scheduled tasks. Each one picks the safe items to clean and runs daily, weekly, monthly or every N hours with WP-Cron. Every run is recorded in an execution log (time, items, rows purged, duration and status) that keeps the last 20 runs and can be cleared in one click. Posts, revisions and comments are never cleaned automatically.
Options
The Options section shows how much data WordPress loads from the database on every page view (the autoloaded options), with a gauge against the 800 KB guideline, and lists the largest autoloaded options so you can turn autoload off for the ones you do not need. It also lists options that are not part of WordPress and are not named after any installed plugin or theme. PurgeForge cannot tell which plugin an option came from, so this list is only a starting point: nothing is selected for you, WordPress’s own options can never be changed, and the most recent deletion can be undone.
Know your database
PurgeForge records the size of the database and the number of tables once a day and keeps 90 days of history. The Analytics section charts both over the last 7, 30 or 90 days, or over a range you pick, and highlights the days when tables were added or removed. Its Tables Analytics view shows how the size and row count of the largest tables grew or shrank, with a search box. The charts are plain SVG drawn by the plugin; no chart library is loaded. Analytics also lists the ten largest tables, splits the database into WordPress core tables and plugin or theme tables, and shows the autoload gauge. The Database Tables section shows the total size, the reclaimable overhead, the number of tables by storage engine, how the database has grown since an earlier snapshot, and the five heaviest tables.
Support and troubleshooting
The Info & Logs section has three views. System info is a short report of your WordPress, server, database and PurgeForge settings that you can refresh, copy or download as purgeforge-system-info.txt, ready to paste into a support request. Errors log lists the problems PurgeForge ran into while cleaning (the last 50). WP debug shows the newest lines of your debug.log, 100 at a time, when WP_DEBUG_LOG is on. Passwords, keys, salts and tokens are hidden in all three.
Tune it for your server
Choose how many rows each cleanup query handles at a time: 200 for shared hosting, 500 (the default) or 1,000 for a powerful VPS.
Reclaim disk space
After records are deleted, MySQL does not always hand the space back. The Database Tables card shows how much unused space (“overhead”) your tables hold and rebuilds them with OPTIMIZE TABLE when you click Optimize Tables. Only InnoDB and MyISAM tables that start with your site’s table prefix are touched.
How it works
Built for safety
manage_options capability can use it, and every request is protected by a nonce.$wpdb->prepare().Icons are inline SVGs drawn from Lucide, released under the ISC licence.
Back up first. Cleanups delete data permanently. Take a database backup before running one on a site that matters.
PurgeForge does not collect, store or transmit any personal data, and it makes no external requests.