Press Ctrl + D to bookmark Bcrypt Generator.
Open your browser menu (⋮ or the share icon) and tap Bookmark or Add to Home Screen.
Feedback on Bcrypt Generator
Bcrypt Hash Generator
Generate secure bcrypt hashes for password storage and verification.
Generate Hash
Cost Factor Info
Hash Output
Cost
Length
Enter a password to generate hash
Verify Password
Related Tools
Industry Standard
Bcrypt is the recommended algorithm for password hashing by security experts.
Built-in Salt
Each hash includes a unique salt automatically to prevent rainbow table attacks.
Adjustable Security
Choose cost factor from 4-14 based on your security needs.
About the Bcrypt Generator
Bcrypt is a slow, salted password hashing function. Its cost factor makes each guess expensive, which protects stored passwords if a database leaks.
How to use it
- 1 Enter a password.
- 2 Pick a cost factor (10–12 is typical).
- 3 Generate the hash, or paste a hash to check a password against it.
Frequently asked questions
Why is the hash different every time?
Bcrypt adds a random salt each time. The salt is stored inside the hash, so any of the different hashes still verifies the same password.
What cost factor should I use?
Choose the highest cost that keeps login fast enough on your server, usually 10 to 12. Each step up doubles the work.
What do $2y$ and $2b$ mean?
They are bcrypt version prefixes. $2y$ (PHP) and $2b$ are compatible with each other in modern libraries.