PBKDF2 hash generator
Derive a PBKDF2 key from a password with a salt, iteration count and hash algorithm you choose.
PBKDF2 hash generator
Paste a password and this tool derives a key from it using PBKDF2 (Password-Based Key Derivation Function 2), the same algorithm behind countless password-storage schemes, encrypted files and key-stretching setups. It runs the underlying HMAC hash over the password and salt the number of times you specify, which is what makes brute-forcing the result far slower than hashing the password once.
Choose the hash algorithm (SHA-1, SHA-256, SHA-384 or SHA-512), the salt to mix in, the iteration count and the derived key length in bits. Higher iteration counts slow the derivation down and make it more resistant to attack — 100,000 or more is a reasonable starting point for SHA-256, and current OWASP guidance runs higher still. The password format option accepts raw text, or bytes already encoded as hex or Base64, so you can reproduce a derivation from another tool exactly. The output format switches the result between hex and Base64. If you already have a value to check against — a spec, a test vector, another implementation — paste it into the expected-value field and the tally reports whether it matches.
Because PBKDF2 works on raw bytes, the exact input matters: a password containing a Windows-style CRLF line break derives a different key than the same text with a plain LF, and every character — including diacritics and emoji — is hashed as its UTF-8 encoding. The live tally under the output reports the algorithm, iteration count, key length and result length as you type or adjust the options.
Everything runs locally in your browser using the Web Crypto API — the password, salt and derived key are never uploaded anywhere. When you're done, copy the result, download it as a .txt file, or send it to another tool's input to continue working with it.