Bcrypt Generator & Verifier

Hash passwords with bcrypt or verify passwords against existing hashes.

Generate Hash
Verify Hash
Higher = more secure but slower. 10 is recommended for 2025+ web apps.
About this tool

What is Bcrypt?

Bcrypt is a password-hashing function designed in 1999, based on the Blowfish cipher. Unlike fast hashes (MD5, SHA-1), bcrypt is intentionally slow — and tunable — to resist brute-force attacks. Each hash includes a random salt, so identical passwords produce different hashes.

Cost Factor

The cost factor (4–31) controls iteration count: 2^cost rounds. A cost of 10 is ~100ms per hash on modern hardware. As hardware speeds up, increase cost over time — 12 by 2030 is a common projection.

FAQ

Frequently Asked Questions

What is the "cost factor" / rounds setting?

It controls how many times the hashing algorithm iterates internally — higher rounds mean slower hashing and stronger resistance to brute-force attacks, at the cost of more CPU time per hash.

Is my password sent to a server when I generate a hash?

No — bcrypt hashing and verification both run entirely in your browser using JavaScript; nothing is transmitted.

Can I verify a password against an existing bcrypt hash?

Yes — paste the hash and the plaintext password into the verifier and it confirms whether they match.

Related Tools

More Dev Tools

Base64 EncoderColor PickerCron ParserCSS MinifierCSV ⇄ JSONHash Generator

Want more detail? Read How to Use Bcrypt Generator: Practical Guide and Best Practices.