Skip to main content

Bcrypt Hash Generator

Generate salted bcrypt hashes or verify a password locally.

Input

UTF-8 bytes: 0

Options

Mode

Output

Enter a password or load the public example, then choose an action. Empty passwords can be hashed explicitly.
Enter a password or load the public example, then choose an action. Empty passwords can be hashed explicitly.

Processing stays in your browser. Input and output are never uploaded or saved in browser storage.

How to use

  1. 1.Choose Hash, enter a password and a cost, then Generate.
  2. 2.Regenerate creates a fresh salted hash.
  3. 3.Choose Verify to enter a password and hash, then Verify password.
  4. 4.The public example uses cost 4 for fast demonstrations.
  5. 5.Cancel stops processing; Clear removes inputs and results and restores Hash mode and cost 12.
  6. 6.Empty passwords are supported.

Bcrypt Hash Generator

Bcrypt hashes passwords with a random salt and an adjustable cost. Hash mode generates a new salt each time; Verify checks a password against an existing hash. Accepted versions are 2a, 2b and 2y with cost 4–16. Bcrypt uses only the first 72 UTF-8 bytes, even when more characters are entered.

Privacy

Processing stays in your browser. Input and output are never uploaded or saved in browser storage.

Frequently asked questions
Does bcrypt use all password bytes?
Bcrypt uses only the first 72 UTF-8 bytes. The tool visibly warns when input exceeds that limit.
Does my password leave the browser?
No. Hashing and verification run in a local Web Worker without persistence or network submission.
Which cost values are supported?
Costs 4 through 16 are supported. Higher-cost hashes are explicitly rejected to keep browser computation bounded.

CodingTool is officially live on