PBKDF2 Hash Generator
Derive PBKDF2 password hashes with custom salt, iteration counts, and SHA-256/384/512 via the native Web Crypto API. Includes verify mode - free and fully client-side.
Loading tool...
What is PBKDF2 Hash Generator?
The PBKDF2 Hash Generator derives password hashes with the Password-Based Key Derivation Function 2 using your browser-native Web Crypto API. Choose a salt, iteration count, and SHA-256/384/512 variant, generate a stored pbkdf2$-style string, and verify candidate passwords against it - all locally.
Key Benefits
- Standards-based password hashing without any server
- Configurable salt, iterations, and three SHA-2 variants
- Verify mode with constant-time comparison
- Offline-capable - credentials never leave the device
Common Use Cases
- •Hashing passwords for custom apps and internal tools
- •Generating test vectors for authentication unit tests
- •Verifying legacy PBKDF2 hashes during migrations
- •Learning how key derivation functions behave
- •Auditing password-storage parameters against OWASP guidance
Generate a PBKDF2 Hash
- Enter the password: Type the password you want to hash. It stays in your browser - derivation happens with the native Web Crypto API.
- Set salt, iterations, and hash: Leave the salt empty for a random one, then choose the iteration count and the SHA-256/384/512 variant. Higher iterations are slower to brute-force.
- Generate the hash: Click Generate hash to derive the hex digest and a pbkdf2$-style stored string that bundles all parameters for storage.
- Verify a password later: Paste the stored string and the candidate password into the verify section - the tool re-derives and compares in constant time.
Key Features
- PBKDF2 via the native Web Crypto API - no JavaScript crypto libraries
- SHA-256, SHA-384, and SHA-512 output variants
- Custom salt (UTF-8) with a random salt generated when left empty
- Iteration presets from 1,000 up to 600,000 rounds
- Verify mode with constant-time comparison against a stored hash
- Passwords and hashes never leave the browser