Skip to main content

Bcrypt Hash Generator/Verifier

Generate Hash

Verify Hash

PLAINTEXT1 lines

About the bcrypt

Generate and verify bcrypt password hashes online for free. Choose your cost factor, hash a password, or check a candidate against an existing hash - all computed in your browser, so real passwords never touch a server.

bcrypt is the battle-tested password hashing algorithm. Its configurable cost factor lets you keep hashing slow as hardware gets faster, and its built-in salt defeats rainbow tables. It remains a safe, well-understood choice for authenticating users in Node.js, Python, and Go applications.

Generate bcrypt hashes with your chosen cost factor (4–31) and verify existing hashes against a candidate password. Hashing happens locally in your browser, so real passwords never leave your machine.

Use cases and examples

Produce seed hashes for database fixtures and test users without writing a script.

Verify a login bug: check the candidate password against the stored hash to confirm whether the failure is credentials or logic.

Compare cost factor timings - 10 versus 12 - to pick a value that balances security and login latency.

How to use

  1. Enter the password you want to hash.
  2. Pick a cost factor — 10–12 is the common production range.
  3. Copy the resulting hash into your database or seed script.
  4. Use the verify tab to check a password against an existing hash.

Frequently Asked Questions

What bcrypt cost factor should I use? ▾

A cost factor of 12-14 is recommended for production use as of 2026. Higher values are more secure but slower.