Skip to content
🔒

Bcrypt Generator

Hash passwords with the bcrypt algorithm in your browser. Adjustable cost factor (rounds). Verify a hash matches a password. Runs locally.

What is bcrypt?

Bcrypt is a password-hashing function designed by Niels Provos and David Mazières in 1999. It is intentionally slow, with an adjustable cost factor (number of rounds), making brute-force attacks expensive. A bcrypt hash includes the algorithm version, cost, salt, and hash, so verification needs only the hash. Recommended cost is 10–12 for most apps.

Note

This tool runs entirely in your browser. For production use, hash passwords on your server with a vetted bcrypt library.

About the cost factor

Higher cost values are slower but more resistant to brute-force attacks. Pick the highest cost your server can afford on a login (typically 10 to 12).

Privacy

All hashing runs 100% in your browser. Passwords never leave your device.