WordPress password hash checker

Paste a hash to identify its format instantly, then optionally test a candidate password against it. Nothing leaves your browser.

Try an example:

Supports $wp$2y$, $P$, bcrypt, and legacy MD5. The examples are all hashes of correct horse battery staple. It's safe to paste a hash here — a hash cannot be reversed into a password, and nothing you enter is transmitted; see the privacy page for what actually leaves the browser.

WordPress hash format reference

The first few characters of a value in user_pass say which algorithm made it, and its length confirms it. Every format below can be checked on this page:

PrefixExampleLengthWritten byChecked here
$wp$2y$$wp$2y$10$AdI22UdZ64ERx5N3G7FYLe…63WordPress 6.8 and later (default)Yes
$P$$P$B/Ox9N7jBeVPvfijv45PZw…34WordPress 2.5 – 6.7 (phpass)Yes
$2y$$2y$10$U4PbpmbD8NQIbnxxpZChEO…60Plugins or password_hash(); accepted by 6.8+Yes
none (hex)9cc2ae8a1ba7a93da39b46fc1019c48132WordPress before 2.5, or a manual MD5 resetYes
$generic$$generic$…varies6.8+ application passwords and reset keysIdentified only

Anatomy of a $wp$2y$ hash

$wp$

WordPress's marker: bcrypt ran over a SHA-384 pre-hash, not the password itself.

2y$

The standard bcrypt version identifier.

10$

Cost factor: 2¹⁰ rounds of bcrypt.

22 chars

The random salt, stored in the hash so the checker can reuse it.

31 chars

The bcrypt output the password must reproduce to match.

The checker reads the cost and salt out of the stored value, recomputes the hash from your candidate password the way wp_check_password() does, and compares the results. The $wp$2y$ guide walks through each step in detail.

Can you decrypt or decode a WordPress password hash?

No — and neither can anyone else, in the sense people usually mean. A password hash is the output of a one-way function: there is no key that turns it back into the password, and nothing in the 63 characters of a $wp$2y$ value contains the password in any recoverable form. Sites that claim to "decrypt" WordPress hashes are guessing: they hash huge lists of common and leaked passwords and look for a match. That works only for weak passwords, and against bcrypt it is slow by design.

What you can do is check a guess, which is what this page does. If the goal is to get back into an account, checking is the wrong tool — set a new password instead. The password reset guide lists every method from safest to last resort, and the reset troubleshooting guide covers what to check when the email never arrives.

Quick answers

Is it safe to paste a production password hash here?

Yes for the hash itself — a hash cannot be reverse-engineered back into a password. This page runs entirely in your browser and makes no request with either the hash or the password; see the privacy page for exactly what does leave the browser.

What does $wp$2y$ mean?

It marks the current WordPress Core password format (6.8 and later): bcrypt applied to an HMAC-SHA-384 pre-hash of the password. Full explanation in the format guide.

My password is correct but the checker says no match — why?

The most common cause after a migration is comparing against the wrong database, or an incompletely imported one. It can also mean the account's password was actually changed. This exact scenario is covered in the login-after-migration guide.

Can I check an application password here?

No. Since WordPress 6.8, application passwords are stored as $generic$ fast hashes in user meta, not in user_pass, and they are random codes rather than passwords anyone needs to recover. The checker identifies the format but does not verify it — revoke and recreate the credential instead. See the application passwords guide.

Why does an uppercase MD5 hash fail?

WordPress compares a legacy MD5 value against PHP's md5() output, which is always lowercase hex, and the comparison is case-sensitive. An uppercase digest that is otherwise correct never logs anyone in. The checker spots this case and shows the lowercase value to store instead.

Do I need to remove the quotes from a value copied out of SQL?

No. If the pasted hash starts and ends with matching single quotes, double quotes or backticks — as values copied from phpMyAdmin or an INSERT statement often do — the checker removes them and says so before identifying the format.