BcryptGenerator.org

Free Bcrypt Hash Generator

Generate and verify bcrypt password hashes instantly — free, no signup, entirely in your browser. Adjustable salt rounds (4–14), code examples in 7 languages.

Hash Generator

Processed in your browser — no data sent to servers
12

Round 12 — Recommended default (~300ms)

Quick Hash Check

Test a hash you just generated. To inspect a hash or debug a check that fails, use the full bcrypt checker.

Processed in your browser — no data sent to servers

Frequently Asked Questions

What is bcrypt?+

Bcrypt is a password-hashing function designed by Niels Provos and David Mazières in 1999. It uses the Blowfish cipher and incorporates a salt to protect against rainbow table attacks. Its key feature is an adjustable cost factor (rounds) that makes it deliberately slow, protecting against brute-force attacks as hardware improves.

How many bcrypt rounds should I use in 2026?+

OWASP sets a minimum bcrypt work factor (cost) of 10. For new systems in 2026 we recommend 12 as the default: it takes approximately 300ms on a modern server, which is slow enough to resist brute-force attacks but fast enough for production use. For higher security, use 13 or 14 rounds.

Is bcrypt still secure in 2026?+

Yes, with caveats. Bcrypt with a cost factor of 12 or more is still widely considered secure. OWASP now lists Argon2id as the first choice for new systems and recommends bcrypt for systems where Argon2id is not available, with a work factor of at least 10 and passwords limited to 72 bytes.

What is the difference between bcrypt and MD5?+

MD5 is a fast cryptographic hash function never designed for passwords — it can be brute-forced in seconds with modern GPUs. Bcrypt is a slow, salted password-hashing function designed specifically to resist brute-force attacks. Never use MD5 for password storage.

Can I use a hash generated here in my application?+

Yes. Hashes use the standard $2b$ format, which mainstream bcrypt libraries accept; we have tested Node.js (bcrypt and bcryptjs), PHP’s password_verify() and Python’s bcrypt. That makes the generator handy for seeding a database, creating a first admin account or writing test fixtures. For Laravel, change the first four characters from $2b$ to $2y$ before saving: Laravel checks the hash type by default and only recognises $2y$, otherwise Hash::check() throws “This password does not use the Bcrypt algorithm.” For real users, generate hashes in your own backend when they sign up.

Why does the generator warn about passwords over 72 bytes?+

Bcrypt only reads the first 72 bytes of a password and ignores the rest, so a longer password adds no extra security. Non-ASCII characters such as accented letters or emoji take 2–4 bytes each in UTF-8, so the limit can be reached with fewer than 72 characters.

Is it safe to use this tool? Do you store my passwords?+

Yes, completely safe. All hashing and verification happens in your browser using JavaScript. No password or hash is ever sent to our servers. You can verify this by disconnecting from the internet — the tool still works. We have no server-side logging of any inputs.

What is Bcrypt?

Bcrypt is the industry standard for password hashing, designed to be computationally expensive by intent. Unlike MD5 or SHA-1, bcrypt uses a salt to prevent rainbow table attacks and an adjustable cost factor that scales with hardware improvements.

Every bcrypt hash begins with a version identifier ($2b$), followed by the cost factor and a 128-bit salt embedded directly in the hash. This means you only need to store the hash — the salt is included.

Read the full guide →