Bcrypt and Argon2 hash generator
Generate password hashes for test users and seed data, or check whether a password matches a stored hash. Choose bcrypt with a cost factor, or Argon2id, Argon2i or Argon2d with memory, iterations, parallelism and output length. Paste any $2b$ or $argon2id$ hash to verify a password against it and see its parameters, with a note when they fall below the OWASP Password Storage Cheat Sheet minimums. Hashing runs in a background worker in WebAssembly (hash-wasm), so the page stays responsive and the password never leaves your browser.
Mode
Algorithm
Each +1 doubles the time. OWASP minimum: 10.
Runs in your browser with hash-wasm (WebAssembly). Nothing is uploaded.
How to use the Bcrypt & Argon2 Hash Generator
- 1
Pick hash or verify
Make a new hash, or check a password against one.
- 2
Set parameters
bcrypt cost, or Argon2 memory and iterations.
- 3
Copy the result
Paste it into your database or config.
When to use it
- Create a hashed password for a database seed or admin user.
- Check whether a password matches a stored hash while debugging login.
- Tune bcrypt cost or Argon2 memory for your server.
Limits
- bcrypt uses only the first 72 bytes of a password.
- Timings in your browser are a rough guide to your server’s speed.
Privacy
Passwords and hashes are processed in your browser and never sent or stored.
Frequently asked questions
bcrypt or Argon2id?
OWASP recommends Argon2id for new systems, with bcrypt as a fine choice where Argon2 isn’t available.
What bcrypt cost should I use?
At least 10 (OWASP). Each step doubles the time; pick the highest your login can afford, often 12.
What Argon2id settings are recommended?
OWASP’s first option is 19 MiB memory, 2 iterations and 1 lane; 47 MiB with 1 iteration is equivalent.
Why is each hash different for the same password?
A new random salt is used every time, which stops precomputed attacks. Verification reads the salt from the stored hash.
Why does bcrypt warn about long passwords?
bcrypt ignores everything after 72 bytes, so longer passwords add no strength. Argon2 has no such limit.
Is my password sent anywhere?
No. Hashing happens in your browser in a Web Worker.
Related tools
People also use
- Phishing URL CheckerCheck a suspicious link for phishing tricks such as look-alike brand names and punycode, without opening it.
- SSH Key GeneratorMake an Ed25519 or RSA SSH key pair in OpenSSH format, with its fingerprint, without installing anything.
- 2FA / TOTP Code GeneratorGet 6-digit 2FA codes from a secret or QR code, create test secrets and check codes, all in your browser.
- Subdomain FinderDiscover a domain’s subdomains from public SSL certificate logs, and check which still resolve.
Last updated November 23, 2026 · How we build and test our tools