← All Tools

Bcrypt Generator & Verifier

Generate bcrypt hashes with adjustable cost factor and verify passwords against existing hashes — all in your browser using bcryptjs.

Generate Hash

10 (1024)
Hash will appear here…

Verify Password

Enter a password and hash to verify

About bcrypt

Bcrypt is an adaptive password hashing function based on the Blowfish cipher. The cost factor controls how many iterations are run (2cost), letting you trade speed for resistance to brute-force attacks. A bcrypt hash always starts with a version prefix ($2a$, $2b$, or $2y$), followed by the cost, then a 22-character base64 salt, then a 31-character base64 digest — for a total of 60 characters.

CostIterationsTypical use
416Tests only
8256Old defaults
101,024Common default
124,096Stronger production
1416,384High-security
Copied!