Bcrypt generator
Generate a bcrypt password hash for any input. Bcrypt is a slow, salted hashing algorithm designed specifically for password storage.
What is bcrypt?
Bcrypt is a password hashing algorithm based on the Blowfish cipher, designed by Niels Provos and David Mazières in 1999. It is intentionally slow and uses a salt to protect against precomputed hash tables (rainbow tables). Bcrypt also has a cost factor that controls how computationally expensive the hash is, allowing the algorithm to keep pace with hardware improvements.
What this tool does
This generator takes any text input and produces a bcrypt hash. The output is a string that includes the algorithm version, cost factor and salt, followed by the hash. You can use it to understand the format of bcrypt hashes or to generate test values.
Common use cases
- Password storage: Developers store bcrypt hashes of user passwords instead of plaintext passwords.
- Testing and development: Generate sample bcrypt hashes for authentication tests.
- Learning: Inspect the structure of a bcrypt hash.
- Migration: Verify that a legacy system uses the expected bcrypt format.
How to interpret the result
A bcrypt hash typically begins with $2a$, $2b$ or $2y$, followed by the cost factor and a 22-character salt, then the 31-character hash. The same password with different salts produces different hashes, which is expected and desirable. To verify a password, the application hashes the input with the stored salt and compares the result.
Important limitations
This tool generates a hash for the input you provide; it does not crack hashes, verify passwords or store results. The generated hash is not automatically saved. Bcrypt is designed for password storage, not for general-purpose hashing of large data. The security of the hash depends on the cost factor and the input password strength.
Popular tools
Decode any Base64 string back to readable text. Use this tool to inspect encoded payloads, data URLs, tokens and configuration values.
Extract email addresses from text quickly and see the total count of unique addresses found.
Count characters, words and lines in your text. Useful for social media limits, meta descriptions, essays and form validation.
Get approximate geolocation and network details for an IP address.