
Clean, optimize, and speed up your WordPress database by securely removing revisions, auto-drafts, orphaned meta, and unused data.
| Author: | Muhammad Abdullah (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 6.9.4 |
| Plugin version: | 1.0.1 |
| Added to WordPress repository: | 15-03-2026 |
| Last updated: | 15-03-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://abdullahwp.com/dejunkdb |
| Total downloads: | 149 |
![]() Click to start download |
|
Over time, your WordPress database accumulates a massive amount of unnecessary data—like post revisions, auto-drafts, orphaned metadata, and expired transients. This bloat slows down your site and increases your backup sizes.
Dejunk DB is a lightweight, intuitive, and highly secure tool designed to clean up this orphaned and duplicated data, optimizing your database for peak performance.
Before making any changes, Dejunk DB provides a built-in Backup Engine so you can safely create a snapshot of your database and download it locally.
???? Key Features
- Built-In Database Backups: Create, download, and manage secure
.sqlbackups of your database directly from the plugin dashboard before you clean. - Preview Before Dejunking: View the exact items (up to 500 records) that are flagged for deletion in a clean, AJAX-powered modal so you know exactly what is being removed.
- Post Data Cleanup: Safely remove Post Revisions, Auto Drafts, Trashed Posts, and Orphaned Post Meta.
- Comment Cleanup: Quickly delete Unapproved Comments.
- User & Term Cleanup: Clear out Orphaned User Meta and Orphaned Term Relationships.
- Options Cleanup: Flush stale and expired Transient Options (
_transient_and_site_transient_) that bloat thewp_optionstable. - Table Optimization: Run standard MySQL
OPTIMIZE TABLEcommands on all your WordPress tables with a single click. - Global “Dejunk Everything” Switch: A master switch to clean up all identified junk sections instantly.
- Clean Uninstall: When you uninstall Dejunk DB, it automatically cleans up its transients and securely deletes all backup files it created, leaving zero footprint.
Note: Any dejunking done to your database is irreversible. Please always utilize the built-in backup tool before running a cleanup.
Screenshots
FAQ
ChangeLog



