Skip to content
ToolsLeb ToolsLeb

Bcrypt Hash Verifier

Check whether a password matches a given Bcrypt hash.

e.g. $2y$10$...

Share on Social Media:

Enter a Bcrypt hash and a candidate password to check whether they match, using PHP's built-in password_verify() function. This is the correct way to check a password against a stored Bcrypt hash, since Bcrypt cannot be decrypted directly.

Frequently Asked Questions

Paste the full Bcrypt hash string as generated by password_hash(), typically starting with $2y$, $2a$, or $2b$.

No, the check is performed on the fly and the values you enter are not stored.

Because Bcrypt embeds a random salt in every hash, hashing the same password twice produces two different-looking strings — password_verify() correctly extracts the salt from the stored hash and reruns the same process before comparing.

It means the password you entered does not match the one originally used to create that hash — there's no other reason a correctly formatted Bcrypt hash would fail to verify.