Bcrypt Hash Generator & Checker

Create a bcrypt hash for a password, or check whether a password matches an existing hash, without sending anything to a server.

FreeNo sign-upPrivate — runs in your browser

Generate a hash

—

Check a password

How to use the Bcrypt Generator

  1. Enter a passwordType the password to hash and choose the cost. Each step up doubles the work: 10–12 is typical for websites today.
  2. Generate the hashA new random salt is used every time, so the same password gives a different hash each time. That is expected.
  3. Check a passwordPaste a hash (for example from your database) and a password to see whether they match.

Example

Hashing MySecret#2026 at cost 10 gives a 60-character hash like $2a$10$…: version, cost, a 22-character salt and the 31-character hash.

The checker starts with a real hash of MySecret#2026, so Check shows Match. Change one letter of the password and it shows No match.

Frequently asked questions

Which cost should I use?

Pick the highest cost that keeps login fast on your server, usually around 250 ms per hash. Cost 10–12 is common today. The time shown here is for this device, which may be faster or slower than your server.

Are $2a$, $2b$ and $2y$ hashes compatible?

Yes, for normal passwords they are the same algorithm with different version tags: $2y$ comes from PHP and $2b$ from OpenBSD. This tool reads all of them.

Is it safe to use here?

Hashing runs in your browser with the open-source bcrypt.js library; the password is never sent anywhere. For real accounts, hashing should still happen on your server.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester