Free tool · runs in your browser

SQL Generator: WordPress Database Cleanup

A WordPress database grows quietly: revisions, transients, orphaned metadata and bloated autoloaded options slow every page. The generator first creates count queries so you see where the ballast is, then the matching DELETE statements – with your table prefix.

SQL Generator

Clean up the WordPress database

Pick what to target, then measure or clean up. Everything runs in your browser – nothing is executed automatically.

What should be checked or cleaned up?
Mode

Before you continue: Take a database backup first. Run this SQL via phpMyAdmin or wp db query. DELETE statements cannot be undone.

Your input never leaves the browser. The SQL is generated locally via JavaScript.

Everything is generated locally in your browser. Nothing you enter is transmitted to our server.

More tools