DevTools

WordPress Password Hash

Generate WordPress compatible password hashes using PHPass (default) or bcrypt. Paste the hash directly into the database to reset passwords.
PHPass is compatible with all WordPress versions.
How to use in WordPress
  1. Access phpMyAdmin or your database manager
  2. Open the wp_users table (prefix may vary)
  3. Locate the user you want to change
  4. Replace the user_pass column value with the generated hash
  5. Save the changes
SQL Queries

By username:

UPDATE `wp_users` SET `user_pass` = '[HASH]' WHERE `user_login` = 'admin';

By user ID:

UPDATE `wp_users` SET `user_pass` = '[HASH]' WHERE `ID` = 1;
Note about PHPass

WordPress uses the PHPass algorithm by default. Each time you generate a hash, the result will be different due to the random salt, but all generated hashes will work with the same password.