Bcrypt Generator

Generate bcrypt password hashes and verify a password against a hash, with adjustable cost factor.

All three are the same algorithm; pick what your framework expects.

πŸ”’ Hashing runs entirely in your browser. Your passwords and hashes are never sent to or stored on our servers.

How to generate and check a bcrypt hash

  1. Type a password, or click the dice to create a strong random one.
  2. Choose the cost factor (12 suits most web apps) and the prefix your framework expects.
  3. Click Generate Bcrypt Hash and copy the result.
  4. To check a password, open Verify Hash, paste the hash and enter the password.

Hashes work with PHP password_hash and password_verify, Laravel, Node.js bcrypt, Python, Go, Java and Spring Security. Everything runs in your browser, so your passwords are never sent to or stored on our servers.

Frequently Asked Questions

12 is a good default for web apps in 2026. Each step up doubles the time needed to compute (and to crack) a hash. Use 10 or lower only for testing.

Bcrypt adds a new random salt to every hash. Different hashes of the same password all verify correctly.

They are the same algorithm. PHP uses $2y$, most other languages use $2b$, and older Java libraries use $2a$. Pick the one your framework expects.

Yes. Bcrypt only uses the first 72 bytes of a password; the tool warns you if your password is longer.

No. Hashing and verification run entirely in your browser.

Related Tools

JSON Formatter

Format and validate JSON data with syntax highlighting.

Open Tool β†’

Password Generator

Generate strong secure passwords with custom options.

Open Tool β†’

QR Code Generator

Generate QR codes for URLs, text, email, and more.

Open Tool β†’

Markdown to HTML

Convert Markdown to clean, sanitized HTML with a live preview. Supports tables and task lists.

Open Tool β†’