Bcrypt Generator hashes a password with bcrypt and can verify a password against an existing hash. A cost factor from 6 to 14 controls how much work each hash takes: every step up doubles the time, which is what makes bcrypt resistant to brute-force guessing.
A random salt is generated for every hash and stored inside the output, so hashing the same password twice gives different strings and both verify correctly. The work is done in your browser with the bcryptjs library.
Advertisement
How to use Bcrypt Generator
1
Enter a password
Type the text to hash.
2
Choose a cost factor
10 to 12 is typical for web applications.
3
Hash or verify
Copy the hash, or paste a hash and plain text to check them.
Use Cases
- Creating a hash to seed an admin user in a database
- Checking that an application's stored hash matches a password
- Comparing hashing time at different cost factors
Frequently Asked Questions
The highest your server can afford, usually 10 to 12, aiming for roughly a quarter of a second per hash.
A new random salt is used for every hash. Verification reads the salt from the hash itself.
bcrypt only uses the first 72 bytes of the input.
Yes, Bcrypt Generator is 100% free with no usage limits, no watermarks, and no hidden charges. The platform is supported by non-intrusive advertising so all tools stay free for everyone.
Yes. Bcrypt Generator runs entirely in your browser using client-side JavaScript. Your files and data never leave your device and are never transmitted to our servers.