Bcrypt Generator
Hash a password with bcrypt and verify a value against a hash.
Hash and verify passwords with bcrypt
Bcrypt is a purpose-built password-hashing function that is intentionally slow and salted, making brute-force attacks expensive. This bcrypt generator lets you turn a plain value into a bcrypt hash and check an existing hash against a candidate value, so you can create test fixtures and confirm login logic without a backend.
How it works
Enter a value and choose a cost factor (work factor), and the tool generates a salted bcrypt hash locally in your browser. Higher cost factors take longer to compute and are harder to attack. To verify, paste a hash and the original value and the tool reports whether they match. All computation happens in JavaScript on your device, so nothing is uploaded.
How to use it
- Generate a bcrypt hash for a seed user in a test database.
- Confirm your application's verify step accepts the right password.
- Experiment with cost factors to balance security and speed.
For file integrity or checksums use the Hash Generator instead, since bcrypt is only for passwords. Need strong sample passwords to hash? Generate them with the Password Generator, or create identifiers with the UUID Generator.
Private and free
Because hashing and verification run entirely client-side, your values never leave the browser, with no upload, no account, and no tracking. It is free and works on every modern browser.
Frequently asked questions
It controls how much work bcrypt does. Higher values are slower to compute and harder to brute-force.
Related tools
Regex Tester
Test regular expressions against text with live match highlighting.
Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from any text.
HTTP Status Codes
A searchable reference of every HTTP status code and what it means.
JSON Path Finder
Explore a JSON tree and copy the exact path to any value.