Bcrypt generator
Generate bcrypt password hashes with the cost you want and check whether a password matches a bcrypt hash.
How to useGenerate and check bcrypt.
Check password
Bcrypt generator: what it is for
Type the password, pick the cost and generate a $2b$ bcrypt hash ready to paste into your database. The tool shows how long it took, how many rounds were used and splits the hash into its parts (version, cost, salt and result). Below, check whether a password matches a bcrypt hash you already have.
Everything is calculated in your browser: the text and files never leave your computer.
How to use
- Type the password and choose the cost.
- Generate and copy the hash.
- To check, paste a hash and the password.
When to use it
- Create test users with secure passwords.
- Check passwords stored in a database.
- Choose the right cost for your server.
Frequently asked questions
Why does the hash change every time?
Bcrypt draws a new random salt for each hash and stores it inside the hash. So the same password gives different hashes, and all of them pass verification.
Which cost should I use?
Each extra point doubles the time. Today 10 to 12 is standard for web systems: fast for one person logging in, slow for someone guessing millions of passwords.
Does the password leave my device?
No. Everything is calculated in your browser; nothing is sent to a server.
Is it really free?
Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 are free.