Skip to content

Wordpress Password Generator

This is an easy-to-use tool that enables you to generate the WordPress hash of a string. To use the tool, enter the text you want to convert to the WordPress hash below and click on the ‘Generate’ button.

  • Instant results
  • Secure & private
  • Works on any device

Share on Social Media:

What Is a WordPress Password Hash?

WordPress never stores your password as plain text. It stores a hash — a one-way, salted fingerprint of the password — in the user_pass column of the wp_users table. Classic WordPress hashes use the phpass format and start with $P$.

This tool creates that hash for any password you enter. The main use is resetting a WordPress password through the database (for example in phpMyAdmin) when you are locked out and password-reset emails aren't arriving. The text is hashed on our server and the result is shown with a copy button.

InputThe password you want to set
OutputOriginal text and its WordPress hash
Formatphpass hash starting with $P$
SaltedA new hash is produced every time

How to Generate a WordPress Password Hash

  1. 1Enter the new password — type it into the text box.
  2. 2Click Generate — the WordPress hash appears below your original text.
  3. 3Copy the hash — use the copy button next to the Wordpress Hash value.
  4. 4Update the database — paste it into user_pass for the user in wp_users, then log in with the new password.
Locked-out admins phpMyAdmin resets Site migrations Staging sites Database seeding Developer testing

Why Use This WordPress Password Generator?

WordPress-compatible

Produces phpass hashes that WordPress can check at login.

Recover access

Regain an admin account when you can reach the database but not the reset email.

Salted every time

Each run creates a different hash for the same password, just as WordPress does.

No plugin needed

Generate the hash without installing anything on the site you are trying to fix.

Frequently Asked Questions

Generate a hash for your new password here, open the wp_users table in phpMyAdmin or another database tool, find the user and replace the user_pass value with the hash. Save, then log in with the new password.
phpass adds a random salt every time it hashes, so the same password gives a different hash on each run. Every one of them still matches the original password when WordPress checks it.
No. Hashing is one-way, so the original password can't be read back from the hash. WordPress verifies a login by hashing the entered password and comparing the result.
Yes. Recent WordPress releases use a stronger default for new hashes, but they still accept phpass hashes starting with $P$ and upgrade them automatically after the user logs in.
WordPress accepts an old-style plain MD5 hash once and replaces it with a secure hash at the next login, but a phpass hash from this tool is the safer, more standard option.
The text is sent to our server to be hashed. For a reset, use a new password you haven't used anywhere else, and change it again from your WordPress profile once you are back in.
phpass hashes are also used by some other PHP applications, but check what your platform expects before pasting a hash into its database.