Wordpress Password Hash Generator
This is an easy to use tool that enables you to generate the WordPress hash of a string. In order to use the tool, enter the text you want to convert to WP hash below and click on ‘Generate’ button.
Share on Social Media:
WordPress Password Reset Generator (Hash)
Locked out of WordPress or need to reset a user password through the database? This tool helps you create a WordPress-compatible password hash that you can paste into your database to set a new password quickly and safely.
WordPress does not store passwords as plain text. It saves a hashed version instead. When you update the database, you must use a valid WordPress hash—this tool generates one for you.
How to use the WordPress Password Generator
Use this tool when you want to reset a WordPress password directly from the database (for example, if you can’t access the admin panel).
You can:
- Enter your own password and generate its hash
- Or click Random to create a strong password, then generate the hash for it
Copy the generated hash and use it in your database update.
Steps to update a WordPress password in the database
- Open phpMyAdmin (or any database tool you use).
- Connect to the database used by your WordPress website.
- Open the users table (usually wp_users — your table prefix may be different).
- Use this tool to generate a hashed password:
- Type your password, or click Random
- Copy the generated hash
- Update the user’s password field (user_pass) with the hash.
Example
Replace the table name if your prefix is not wp_.
UPDATE `wp_users`
SET `user_pass` = '$P$BXdJzbcCjLnLoXzHS645odEe/BMaBA1'
WHERE `user_login` = 'john';
After updating, log in using the password you generated (the plain password), and WordPress will handle the rest.