Bcrypt Generator & Verifier
Hash passwords with bcrypt and verify existing hashes. Choose the cost factor (rounds). All processing runs locally — passwords never leave your browser.
Hash a password with bcrypt and verify an existing bcrypt hash against a plaintext candidate — useful for seeding database users in development, debugging an auth flow, or checking that your application's bcrypt implementation produces matching hashes. Adjustable cost factor (rounds) shows how slow each bump makes the hash, which is the entire point of bcrypt's tunable workload. Hashing runs in the browser via the pure-JavaScript bcryptjs library; the password you test is never sent anywhere — exactly what you'd want from a tool you use to hash credentials.
Generate Bcrypt Hash
Verify Password Against Hash
Bcrypt Hash Structure
$2a$Algorithm version
10$Cost factor (2^10 = 1024 iterations)
salt+hash22-char salt + 31-char hash (Base64)
Next steps
Hash Generator
RecommendedGenerate MD5, SHA-1, SHA-256, and SHA-512 hashes from any text — MD5/SHA-1 for checksums, SHA-256/512 for integrity.
Password Generator
RecommendedCreate strong, random passwords that are virtually uncrackable.
JWT Decoder
Decode JWT tokens and inspect header, payload, claims, and expiry instantly.
Base64 Converter
Encode or decode Base64 in one click — works with text and files.
What Is Bcrypt?
Common Use Cases
Seeding test users
Generate ready-to-insert bcrypt hashes for fixture passwords in development databases without running a backend.
Verifying a leaked hash
Paste a hash from a breach disclosure (your own, ideally) and confirm whether a candidate password produced it.
Sizing the cost factor
Time how long different cost values take in your target browser to choose a value that costs ~250 ms on production hardware.
Auth library debugging
Cross-check that hashes produced by your Go, Python, or Ruby bcrypt library match bcryptjs output for the same password.
Frequently Asked Questions
Advertisement