WordPress Password Hash
Generate WordPress compatible password hashes using PHPass (default) or bcrypt. Paste the hash directly into the database to reset passwords.How to use in WordPress
- Access phpMyAdmin or your database manager
- Open the wp_users table (prefix may vary)
- Locate the user you want to change
- Replace the user_pass column value with the generated hash
- 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.