Bcrypt Hash Generator
Generate secure Bcrypt hashes for passwords and sensitive credentials. Customize salt rounds for enhanced security and verify hashes instantly.
Higher rounds = More secure but slower to compute
Generate a hash to see it here...
About the Bcrypt Generator
Type a password, choose the number of salt rounds, and get a bcrypt hash – or paste an existing hash and check whether a password matches it.
Everything you enter is processed in your browser; nothing is uploaded or stored.
How to use it
- Enter the password or string to hash.
- Choose the salt rounds (cost factor); 10–12 is typical.
- Copy the hash, or use Test Verification to compare a password with a hash.
How bcrypt hashing works
bcrypt combines the password with a random salt and runs a deliberately slow key-derivation function 2^cost times. The result, such as $2a$10$…, contains the algorithm version, the cost and the salt, so it can be verified later without storing the salt separately.
Each extra round doubles the work, which keeps brute-force attacks slow even as computers get faster. The same password gives a different hash every time because the salt changes; verification still works because the salt is inside the hash.
Example
Hashing “hunter2” at cost 10 might give $2a$10$N9qo8uLOickgx2ZMRZoMye…; hashing it again gives a different string, and both verify against “hunter2”.
Tips
- Never store passwords in plain text or with fast hashes such as MD5 or SHA-256 alone.
- bcrypt only uses the first 72 bytes of a password.
Frequently asked questions
What salt rounds should I use?
10 to 12 is common for web apps; pick the highest value that keeps login time acceptable on your server.
Can a bcrypt hash be decrypted?
No. Hashing is one-way; you can only check whether a password matches.
Is the password sent anywhere?
No. Hashing and verification run in your browser with the bcryptjs library.