100% Client-Side · Zero Server Uploads

Bcrypt

Hash and compare text string using bcrypt. Bcrypt is a password-hashing function based on the Blowfish cipher.

Initializing interactive Bcrypt workspace…

About Bcrypt

Generate and verify salted Bcrypt password hashes directly inside your browser on XMOOO Tools. Adjust the salt rounds (cost factor) and compare candidate passwords against `$2a$`/`$2b$` hashes with zero server transmission.

How to Use Bcrypt

  1. Type your string and choose a Salt Count (10–12 is the modern production default).
  2. Copy the generated salted Bcrypt hash starting with $2a$ or $2b$.
  3. Use the Compare panel below to verify whether a plaintext string matches any Bcrypt hash.

Recommended Bcrypt Cost Factor (Salt Rounds)

Salt RoundsRelative WorkTypical Use Case
8–9FastAutomated unit tests only
10Standard (~70–100ms)General web application login
12Strong (~250–400ms)High-security production accounts

Frequently Asked Questions

Why does hashing the same password twice produce different Bcrypt strings?

Bcrypt automatically embeds a unique random 128-bit salt into every hash, preventing rainbow-table attacks even when two users share the same password.

Is there a password length limit in Bcrypt?

Yes. Standard Bcrypt truncates inputs at 72 UTF-8 bytes.

Are passwords tested here kept strictly private?

Yes. Bcrypt runs 100% locally via client-side JavaScript and never sends passwords to any server.