Tool Hub

Bcrypt Hash

Generate and verify bcrypt password hashes (browser-safe pure JS)

Generate bcrypt password hashes or verify a password against an existing hash. Higher salt rounds increase brute-force resistance at the cost of generation time (each round doubles the work). 10-12 is the modern recommendation.

Arbitrary string to hash — not a real password.

How to use

  1. Select "Generate hash" mode, enter a test string, and choose a salt rounds value between 4 and 15.
  2. Click "Generate" and wait — higher rounds values take exponentially longer (rounds 12 ≈ 300ms).
  3. Copy the resulting hash string for use in tests or documentation.
  4. Switch to "Verify hash" mode, enter the original string and the stored hash, and click "Verify" to confirm they match.
  5. All computation runs locally in your browser and nothing is stored or sent anywhere.

Examples

  • Hashing "hunter2" with 10 rounds produces a string like $2b$10$... in about 100ms; the format line confirms version 2b and 10 rounds.
  • In verify mode, pasting that hash back and entering "hunter2" returns a match, while entering "hunter3" returns a mismatch.

Verify outputs before using in production. No warranty — see Terms.