Hash passwords with Argon2, bcrypt & more
Generate and verify password hashes with Argon2id, bcrypt, scrypt, PBKDF2 and SHA. Tune every setting, copy standard hash strings, and keep your passwords private: everything runs in your browser.
- Argon2id, bcrypt, scrypt, PBKDF2
- Verify existing hashes
- Runs in your browser
- Free, no sign-up
Settings
More memory makes GPU cracking much more expensive. OWASP minimum: 19 MiB.
Passes over memory (t). OWASP: 2 with 19 MiB.
Lanes (p). Must match the server that will verify the hash.
32 bytes is plenty for password storage.
Uses about 19 MiB of memory per hash.
Supported formats
- Argon2
- $argon2id$v=19$m=…
- bcrypt
- $2a$ / $2b$ / $2y$
- scrypt
- $scrypt$ln=…,r=…,p=…
- PBKDF2
- $pbkdf2-sha256$i=…
- Django
- pbkdf2_sha256$…
- Digests
- Hex MD5, SHA-1, SHA-2, SHA-3
Also reads passlib hashes. Everything is checked in your browser, so it’s safe to paste hashes from your own database.
Why use it
Hashes you can trust, made privately.
Modern algorithms
Argon2id, bcrypt, scrypt and PBKDF2, the algorithms OWASP recommends for storing passwords.
Never uploaded
Hashing runs in your browser with WebAssembly. Your password never reaches our servers.
Full control
Tune memory, iterations, cost and output length, starting from OWASP-recommended defaults.
Verify any hash
Paste a hash from your database and check a password against it. The format is detected automatically.
Standard formats
Outputs PHC and bcrypt strings that PHP, Laravel, Node.js, Python, Django, Go and Java can read.
See the cost
Every hash shows how long it took, so you can pick settings that are slow for attackers but fine for logins.
FAQ
Password hashing questions.
Which algorithm should I use to store passwords?
Argon2id for new systems. If your platform doesn’t support it, use scrypt, then bcrypt, then PBKDF2 (choose PBKDF2 if you need FIPS compliance). All four are slow on purpose and use a salt. Never store passwords with MD5, SHA-1 or plain SHA-256: they are fast, so attackers can test billions of guesses per second.
Is my password sent to your server?
No. Hashing and verification run in your browser using WebAssembly, so your password and hashes never leave your device.
Why do I get a different hash every time for the same password?
Argon2, bcrypt, scrypt and PBKDF2 add a new random salt to every hash. That stops attackers from using precomputed tables and hides which users share a password. The salt is stored inside the hash string, so verification still works. MD5 and SHA digests have no salt and always give the same output.
What settings should I choose?
The defaults follow OWASP’s Password Storage Cheat Sheet: Argon2id with 19 MiB of memory and 2 iterations, bcrypt cost 12, scrypt N = 2^17 with r = 8, and PBKDF2-SHA256 with 600,000 iterations. A good target is a hash that takes around 250 ms to 1 second on your server. The timer on each result helps you compare, though your server may be faster or slower than your browser.
Will these hashes work in my application?
Yes. Argon2 and bcrypt strings are the standard formats used by PHP’s password_hash, Laravel, Node.js (argon2, bcrypt), Python (argon2-cffi, bcrypt, passlib), Go, Java and .NET libraries. scrypt and PBKDF2 use the PHC string format; the raw hex or base64 hash and salt are also shown for systems that store them separately.
What is the difference between $2a$, $2b$ and $2y$ in bcrypt?
They are version labels that mark fixes for old bugs in specific bcrypt implementations. For normal passwords all three produce the same hash. PHP and Laravel write $2y$, while most other languages write $2b$. Pick the one your system expects; the verifier accepts all three.
Why does bcrypt warn about 72 bytes?
bcrypt only looks at the first 72 bytes of a password and ignores the rest. Emoji and non-English letters take 2 to 4 bytes each, so the limit can be reached with fewer than 72 characters. Argon2id has no such limit.
Can I check a password against a hash from my database?
Yes. Switch to Verify, paste the hash and type the password. The tool reads the algorithm and settings from the hash itself and supports Argon2, bcrypt, scrypt, PBKDF2 (PHC, passlib and Django formats) and hex MD5, SHA-1, SHA-2 and SHA-3 digests.
Can a hash be turned back into the password?
No. Hashing is one-way. The only way to recover a password from a hash is to guess passwords and compare, which is why slow algorithms and long, unique passwords matter.
More free tools
Try our other tools.
QR Code Generator
Create custom QR codes for URLs, text, email, WiFi, and vCard. Multiple styles, colors, and logo support.
Image Converter
Convert images to WebP, PNG, JPEG, AVIF, and more. Bulk processing with quality control.
Photo Card Maker
Put your photo in a frame, adjust position and filters, and download a ready-to-share card.
File Locker
Password-protect PDFs, Word documents, images and any other file with AES-256 encryption. Files never leave your browser.
SSL Certificate Checker
Check SSL/TLS certificate details for any website. View issuer, validity dates, expiration countdown, and security grade.
SMTP Test Tool
Test your SMTP server configuration and send test emails instantly. Verify email delivery before going live.
Oxford 3000 Vocabulary
Master essential English words with interactive flashcards, quizzes, and pronunciation. Track your progress from A1 to C1.