Important:
The outputs generated here are useful for testing, comparisons and development. For real password storage, use Argon2id or bcrypt on the server through your framework.
Options
Recommended order
- Argon2id - recommended for server-side password storage.
- bcrypt - mature and widely used server-side option.
- PBKDF2-SHA512 - available in the browser for key derivation.
- PBKDF2-SHA256 - compatible and useful for standard workflows.
- HMAC-SHA512 - keyed hash for verification and signatures.
- SHA-512 / SHA-384 - fast digest, not ideal alone for passwords.
- SHA-256 - widely used digest, but insufficient alone for stored passwords.
How this password hash generator works
Enter a password or text, a salt and the PBKDF2 iteration count. The tool computes PBKDF2, HMAC and SHA digests in the browser so you can compare outputs during development.
For real password storage on a server, use Argon2id or bcrypt from the framework, not a plain SHA hash. SHA and HMAC are useful for checksums and signatures, not as the only protection for user passwords.
PBKDF2
Key derivation
Iterates the hash with a salt, useful for compatibility tests.
HMAC
Keyed hash
Helpful for checks and signatures, not for storing user passwords.
SHA
Fast digest
Good for integrity, not enough on its own for stored passwords.
Important:
Do not use these hashes as the main way to store passwords in production. On the server, choose Argon2id or bcrypt.
Generated hashes
0Useful notes
- Use a unique salt for every password; never an empty salt in production.
- PBKDF2 iterations should be high enough for your environment, not the test minimum.
- SHA-256 or SHA-512 alone is not enough for stored passwords.
- Clear the password field after you copy the test hash.