Omnikit
DevFilesMoneyAll tools
Ctrl K
Dev toolsFile toolsMoney calculatorsAll tools
HomeDeveloper toolsBcrypt Hash and VerifyBcrypt Generator

Bcrypt Generator

dev

Generate a bcrypt hash for a test user or a config file

Runs in your browser. Nothing you type is sent anywhere. Updated on 24 Oct 2026.

Need a bcrypt hash to seed an admin user, fill a test fixture or paste into an htpasswd or Docker registry config? Type the password, choose the cost (10 is the common default), and copy a fresh $2b$ hash. Every hash gets its own random salt, so running it twice gives two different strings that both verify. The work runs in a background thread on your device.

Next:
  • htpasswd Generator Make a user:password line for Apache or nginx basic auth, in bcrypt, apr1 or SHA-512
  • Password Strength Checker How long your password would survive an attack, and exactly what makes it weak

How to generate a bcrypt hash

1

The page opens on the Hash tab, ready to make a new salted hash.

2

Type the password for your test user or config file into Password or text.

3

Move the Cost factor slider; the label shows about how long one hash takes.

4

Press Hash, or Ctrl+Enter, and wait while the background thread works.

5

Press Copy next to the hash and paste it into your seed script or config file.

How Bcrypt Generator works

This bcrypt hash generator turns a password into a salted bcrypt hash at a cost from 4 to 14, and checks whether a password matches an existing hash. Each hash is split into its parts, the version, cost, 22-character salt and 31-character hash, so you can see what the string actually stores, along with the time the work took.

Developers use it to create a known admin password for seed data or a test fixture, to confirm that a hash in a database really belongs to the password a user says they set, and to choose a cost factor by seeing how long each step takes on ordinary hardware. It also reads hashes from PHP ($2y$) and older libraries ($2a$).

Hashing runs in a Web Worker, a background thread in your browser, using the bcryptjs library, so the page stays responsive even at cost 14. Nothing is uploaded. Passwords and hashes are never logged or stored; only the cost you picked is remembered. Timings here are close to what a Node.js server using bcryptjs would see, while native bcrypt libraries are two to three times faster.

The rest of the article, and all 6 questions about Bcrypt Hash and Verify, are on the Bcrypt Hash and Verify page.

Frequently asked questions

How do I check a password against a bcrypt hash?

Open the Verify tab, paste the full 60-character hash starting with $2a$, $2b$ or $2y$, type the password and press Verify. The tool hashes the password again with the salt and cost stored in the hash and compares the result. You will see Match or No match, plus the time it took.

Can a bcrypt hash be decrypted?

No. bcrypt is a one-way function, not encryption, so there is no key that turns the hash back into the password. The only way to find the password is to guess candidates and hash each one, which the cost factor makes deliberately slow. This tool can check a guess, not reverse a hash.

Why do I get a different hash each time for the same password?

Every hash gets a new random 16-byte salt, stored as the 22 characters after the cost. Different salts give different hashes, which stops attackers from cracking many users at once with precomputed tables. Every one of those hashes still verifies against the password, because the salt travels inside the hash.

Is my password uploaded?

No. Hashing and verifying run in a background thread in your browser with the bcryptjs library. The password and hash are not sent anywhere, not logged and not saved; only the cost factor you chose is remembered on this device. Closing the tab clears everything you typed.

Still stuck? Ask about Bcrypt Hash and Verify and anybody who knows can answer. No account needed.

More ways to use Bcrypt Hash and Verify

  • Bcrypt Hash and VerifyHash a password with bcrypt at cost 4 to 14, or check a password against a hash

Same job, other tools: Passphrase Generator – Three to ten random words you can actually remember · HMAC-SHA256 Generator – Compute an HMAC-SHA256 signature in hex and Base64 · OTP Generator – Time-based one-time passwords with 6 or 8 digits and a choice of algorithm.

On the related tools: JWT Decoder – Paste a token to read its header, payload and expiry.

Related tools

All developer tools
India ID Number ValidatorCheck a GSTIN, PAN, Aadhaar, IFSC, UPI ID or PIN code for format and check digitWebRTC Leak TestSee which IP addresses WebRTC hands to websites, and whether your VPN is being bypassedBrowser and Device InfoSee what any website can read about your browser and device, and copy it for supportJWT Decoder, Verifier & EncoderDecode any JWT, verify its signature, and sign new tokens, all in your browserPassword GeneratorStrong random passwords and memorable passphrases, generated on your devicePassword Strength CheckerHow long your password would survive an attack, and exactly what makes it weakHMAC GeneratorHMAC-SHA1, SHA-256, SHA-384 and SHA-512 of text or a file, and signature checksTOTP Generator and TesterLive authenticator codes from a secret, a QR code for your app, and a code tester

In the collection Security Tools for Developers.

Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator
GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET Paper 1)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)