Title: Database Reset
Author: WebFactory
Published: <strong>October 4, 2011</strong>
Last modified: December 3, 2025

---

Search plugins

![](https://ps.w.org/wordpress-database-reset/assets/banner-772x250.jpg?rev=1253825)

![](https://ps.w.org/wordpress-database-reset/assets/icon-256x256.png?rev=2137639)

# Database Reset

 By [WebFactory](https://profiles.wordpress.org/webfactory/)

[Download](https://downloads.wordpress.org/plugin/wordpress-database-reset.3.25.zip)

 * [Details](https://pcd.wordpress.org/plugins/wordpress-database-reset/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/wordpress-database-reset/#reviews)
 * [Development](https://pcd.wordpress.org/plugins/wordpress-database-reset/#developers)

 [Support](https://wordpress.org/support/plugin/wordpress-database-reset/)

## Description

If you need more reset tools install the free, advanced [WP Reset](https://wordpress.org/plugins/wp-reset/)
plugin. It has a lot more reset tools to individually reset plugins, themes, transients
and media. You can also create database snapshots to restore your WP site with one
click if you make a mistake.

The WordPress Database Reset plugin allows you to **reset the database** (all tables
or the ones you choose) back to its default settings without having to go through
the WordPress 5 minute installation or having to modify any files.

**Features**

 * Extremely fast one click process to reset the WordPress database tables
 * Choose to reset the entire database or specific database tables
 * Secure and super simple to use
 * Safe – it’s not possible to accidentally click reset
 * Prefer the command line? Reset the database in one command
 * Excellent for theme and plugin developers who need to clean the database of any
   unnecessary content

**Command Line**

Once activated, you can use the WordPress Database Reset plugin with [WordPress CLI](http://wp-cli.org/).
List of WP-CLI commands:

Reset all tables:

    ```
    wp reset database
    ```

Specify a list of tables to reset:

    ```
    wp reset database --tables='users, posts, comments, options'
    ```

The current theme and plugins will be reactivated by default. You can disable them
like so:

    ```
    wp reset database --no-reactivate
    ```

List table names:

    ```
    wp reset list
    ```

**Support**

Create a new post in the [WordPress Database Reset support forum](https://wordpress.org/support/plugin/wordpress-database-reset).

**Want to help out?**

 * Provide new [language translations](https://translate.wordpress.org/projects/wp-plugins/wordpress-database-reset)
 * Want to help others that might be having issues? [Answer questions on the support forum](https://wordpress.org/support/plugin/wordpress-database-reset).
 * Rate the plugin – [rate it](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/#new-post)

WP Database Reset was originally developed in October 2011 by [Chris Berthe](https://github.com/chrisberthe).
Please do not send him any support questions. If you need assistance the [official forum](https://wordpress.org/support/plugin/wordpress-database-reset/)
is the best and fastest way to get it.

## Screenshots

 * [[
 * The WP Database Reset plugin page

## FAQ

### How to disable this plugin?

Just use standard Plugin overview page in WordPress admin section and deactivate
it or rename plugin folder /wp-content/plugins/wordpress-database-reset/ over FTP
access.

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/wordpress-database-reset)

## Reviews

![](https://secure.gravatar.com/avatar/b78cbc76a28cf17bd3c1ed1aae47467483648cb2af0ba0c24ef806ee2d078ef4?
s=60&d=retro&r=g)

### 󠀁[Simple and Easy!](https://wordpress.org/support/topic/simple-and-easy-529/)󠁿

 [cdgweb](https://profiles.wordpress.org/cdgweb/) June 20, 2025

I had an ancient site on a domain and wanted to re-use it. Being able to nix everything
except the users was outstanding.

![](https://secure.gravatar.com/avatar/ec8b8422bb465ae8bc396e91e6078b8974b35a964447f8c8ecc86edf1ac2b281?
s=60&d=retro&r=g)

### 󠀁[Useful tool for developers](https://wordpress.org/support/topic/useful-tool-for-developers/)󠁿

 [RealMag777](https://profiles.wordpress.org/realmag777/) April 23, 2024

Thank you, its cool and quick for dev tasks

![](https://secure.gravatar.com/avatar/0282991e10df0d5b0dfc61251d2737216bf02458995056c9f73b5fe57da9a43e?
s=60&d=retro&r=g)

### 󠀁[Exellent plugin !](https://wordpress.org/support/topic/exellent-plugin-46/)󠁿

 [lookerdz](https://profiles.wordpress.org/lookerdz/) October 6, 2021 1 reply

Thanks for this great plugin

![](https://secure.gravatar.com/avatar/eaea8f9b0743f5ec77ca2a5a0356aaba38e778cd2eb0dc3828bbf0c676117b99?
s=60&d=retro&r=g)

### 󠀁[I can’t login after reset](https://wordpress.org/support/topic/i-cant-login-after-reset/)󠁿

 [namnh73](https://profiles.wordpress.org/namnh73/) July 13, 2021

I can’t login after reset

![](https://secure.gravatar.com/avatar/add47854d18fd4e983d426df510d6b7f70054fff2917e3363d915cde73ad5f52?
s=60&d=retro&r=g)

### 󠀁[Time Saver](https://wordpress.org/support/topic/time-saver-281/)󠁿

 [davemeyers](https://profiles.wordpress.org/davemeyers/) January 14, 2021 1 reply

Works great!!!

![](https://secure.gravatar.com/avatar/9885822666c47a62841f2b55b700bc31a26e73692d179d65ee9265b412832f7c?
s=60&d=retro&r=g)

### 󠀁[Time saver](https://wordpress.org/support/topic/time-saver-280/)󠁿

 [sinisa_](https://profiles.wordpress.org/sinisa_/) January 13, 2021 1 reply

Time saver, tx mates for make this

 [ Read all 77 reviews ](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/)

## Contributors & Developers

“Database Reset” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ WebFactory ](https://profiles.wordpress.org/webfactory/)

“Database Reset” has been translated into 11 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wordpress-database-reset/contributors)
for their contributions.

[Translate “Database Reset” into your language.](https://translate.wordpress.org/projects/wp-plugins/wordpress-database-reset)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wordpress-database-reset/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wordpress-database-reset/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wordpress-database-reset/)
by [RSS](https://plugins.trac.wordpress.org/log/wordpress-database-reset/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.25

 * 2025/08/04
 * minor code fixes

#### 3.24

 * 2024/06/30
 * minor security fix

#### 3.23

 * 2024/02/19
 * minor security fix

#### 3.22

 * 2022/11/22
 * minor security fixes

#### 3.21

 * 2021/07/29
 * fix for WP 5.8

#### 3.20

 * 2021/04/26
 * still trying to warn people that this plugin will soon be discontinued

#### 3.19

 * 2021/02/25
 * continuing to phase out the plugin in favor of WP Reset

#### 3.18

 * 2021/01/30
 * added flyout menu
 * started to phase out this plugin in favor of WP Reset

#### 3.17

 * 2020/10/06
 * license fix
 * added promo for WP 301 Redirects

#### 3.16

 * 2020/09/01
 * fixed an issue with select tables element

#### 3.15

 * 2020/01/14
 * security fixes – thanks to Chloe from Wordfence
 * 80k installations; 761,300 downloads

#### 3.1

 * 2019/08/13
 * WebFactory took over development
 * minor improvements in GUI and messaging
 * fixed a nasty bug related to admin user ID not being 1
 * 70k installations; 665,500 downloads

#### 3.0.2

 * Fix for plugin page not showing up in tools menu (on some hosting providers)
 * Update how session tokens were being restored
 * Remove unnecessary nonce
 * Bump ‘requires at least’ to version 4.2
 * Change ‘theme_data’ to ‘theme_plugin_data’

#### 3.0.1

 * Fix plugin disabled after update, thanks to Ulrich Pogson
 * Update the pot file

#### 3.0.0

 * Completely re-written from scratch
 * Add extended WP_CLI command class
 * Clean up admin interface
 * Remove unnecessary help tabs
 * Submit button is now deactivated until user inputs security code
 * Add PayPal donation button
 * Remove outdated localization files
 * Update the text domain to match slug for translate.wordpress.org

#### 2.3.2

 * Add option to keep active theme, thanks to Ulrich Pogson
 * Adhere to WordPress PHP coding syntax standards
 * Delete the user session and recreate it
 * Separate the backup_tables method into two new methods
 * Reset only WP tables and not custom tables
 * French language updates, thanks to Fx Benard
 * Fix for undefined variable: backup_tables

#### 2.3.1

 * Fixed bug where reactivate plugins div was not displaying on ‘options’ table 
   select

#### 2.3

 * Removed deprecated function $wpdb->escape(), replaced with esc_sql()
 * Add German translation, thanks to Ulrich Pogson
 * Updated screenshot-1.png
 * Renamed default localization file
 * Fixed broken if conditional during code clean up for version 2.2

#### 2.2

 * Fixed scripts and styles to only load on plugin page
 * Formatted code to meet WordPress syntax standards

#### 2.1

 * Replaced 3.3 deprecated get_userdatabylogin() with get_user_by()
 * Updated deprecated add_contextual_help() with add_help_tab()
 * Small change in condition check for backup tables
 * Removed custom _rand_string() with core wp_generate_password()
 * Added Portuguese translation – thanks to Fernando Lopes

#### 2.0

 * Added functionality to be able to select which tables you want to reset, rather
   than having to reset the entire database.
 * Added bsmSelect for the multiple select.
 * Modified screenshot-1.png.
 * Fixed redirect bug
 * ‘Reactivate current plugins after reset’ only shows if the options table is selected
   from the dropdown.

#### 1.4

 * Made quite a few changes to the translation files
 * Renamed French translation file for plugin format, not theme format
 * Optimized (until potential version 2.0)

#### 1.3

 * Replaced reactivation option for all currently active plugins (not just this 
   plugin)
 * Updated language files

#### 1.2

 * Added capability to manually select whether or not plugin should be reactivated
   upon reset
 * Modified class name to avoid potential conflicts with WordPress core
 * Modified wp_mail override
 * Removed deprecated user level for WordPress 3.0+
 * Fixed small bug where if admin user did not have admin capabilities, it would
   tell the user they did

#### 1.0

 * First version
 * 2011-10-04

## Meta

 *  Version **3.25**
 *  Last updated **4 months ago**
 *  Active installations **10,000+**
 *  WordPress version ** 4.2 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 5.2 or higher **
 *  Languages
 * [Chinese (China)](https://cn.wordpress.org/plugins/wordpress-database-reset/),
   [Dutch](https://nl.wordpress.org/plugins/wordpress-database-reset/), [English (South Africa)](https://en-za.wordpress.org/plugins/wordpress-database-reset/),
   [English (US)](https://wordpress.org/plugins/wordpress-database-reset/), [German](https://de.wordpress.org/plugins/wordpress-database-reset/),
   [Russian](https://ru.wordpress.org/plugins/wordpress-database-reset/), [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/wordpress-database-reset/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wordpress-database-reset/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/wordpress-database-reset/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/wordpress-database-reset/),
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wordpress-database-reset/),
   and [Swedish](https://sv.wordpress.org/plugins/wordpress-database-reset/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wordpress-database-reset)
 * Tags
 * [database reset](https://pcd.wordpress.org/plugins/tags/database-reset/)[reset](https://pcd.wordpress.org/plugins/tags/reset/)
   [reset wp](https://pcd.wordpress.org/plugins/tags/reset-wp/)[wordpress-reset](https://pcd.wordpress.org/plugins/tags/wordpress-reset/)
   [wp reset](https://pcd.wordpress.org/plugins/tags/wp-reset/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/wordpress-database-reset/advanced/)

## Ratings

 4.5 out of 5 stars.

 *  [  67 5-star reviews     ](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/?filter=2)
 *  [  8 1-star reviews     ](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wordpress-database-reset/reviews/)

## Contributors

 *   [ WebFactory ](https://profiles.wordpress.org/webfactory/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wordpress-database-reset/)