Bcrypt Hash Generator
Enter a password and cost factor to get a bcrypt hash ready for database storage.
This tool runs in your browser using a simplified implementation; for security-critical use, run a server-side library.
Summary
Enter a password and cost factor to get a bcrypt hash ready for database storage.
How it works
- Enter the plaintext password
- Set cost factor (10-14 recommended)
- Click Generate
- Copy the $2b$ prefixed hash
Use cases
- Hashing user passwords for database storage
- Generating test password hashes for development
- Understanding bcrypt cost factor impact
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu