Private browser utility / Developer

Free PBKDF2 Generator

Runs entirely in your browser - no upload, no sign-up.

Live workspaceLocal processing
Web Crypto API

A fresh 16-byte salt is generated locally. Keep the salt with the derived-key parameters so the result can be reproduced.

Your password and derived key stay in this browser tab. Nothing is uploaded.

Derived output

Derived key

Ready to derive

Enter a password, confirm the salt and parameters, then derive a reproducible key.

Share this tool
pbkdf2 derive / browser utility
01 / Overview

What is a PBKDF2 generator?

A PBKDF2 generator turns a password or passphrase into fixed-length key material by repeatedly applying an HMAC hash with a salt. Set the salt, hash, iteration count and output length to reproduce the same bytes in another compatible system. This page performs the derivation locally with Web Crypto.

02

How to use

  1. 01
    Enter the password

    Type the password or passphrase that will provide the input key material.

  2. 02
    Set the salt

    Use the generated 16-byte hexadecimal salt or paste the exact salt required by your protocol.

  3. 03
    Choose the parameters

    Select the HMAC hash, iteration count, output length and output encoding.

  4. 04
    Derive and copy

    Click Derive key, then copy the resulting hex or Base64 bytes.

03

Who it's for

  • Protocol compatibility - reproduce key material for systems that specify PBKDF2 parameters.
  • Test-vector checks - compare browser output with Python, OpenSSL, Java or .NET implementations.
  • Password-storage experiments - see how salts and work factors change a derived value.
  • Encryption prototypes - derive fixed-length bytes for a local proof of concept before implementing key management.

PBKDF2 is useful when an existing protocol or compliance requirement specifies it. A random salt prevents identical passwords from producing identical stored values, while the iteration count raises the cost of each password guess. Save the salt, hash, iterations and key length beside the result because all four parameters are needed for later verification.

FAQ

Is my password uploaded?

No. The browser uses its local Web Crypto implementation, and the password, salt and result remain in this tab. The page does not send them to a derivation service.

Is this PBKDF2 generator free?

Yes. You can derive keys without an account, payment or usage limit. Very large iteration counts can take longer because the work happens on your device.

What limits does the tool enforce?

The iteration count can range from 1 to 10,000,000 and the output can range from 1 to 1,024 bytes. Salts must be valid hexadecimal and at least 8 bytes long.

Which PBKDF2 settings should I use?

Match the protocol you are implementing. For FIPS-oriented password storage, current OWASP guidance lists PBKDF2-HMAC-SHA-256 with 600,000 or more iterations, but production work factors should be benchmarked and reviewed as guidance changes.

Why does PBKDF2 need a salt?

A unique random salt makes the same password derive a different value for each record. That blocks useful precomputed tables and forces an attacker to test guesses separately against each salt.

Can I reproduce the output in Python or OpenSSL?

Yes. Use UTF-8 password bytes, decode the displayed salt from hex, and supply the same HMAC hash, iteration count and key length. Encoding the final bytes as hex or Base64 does not change the bytes themselves.

Is PBKDF2 the best choice for a new password database?

Not always. OWASP generally prefers Argon2id, with scrypt as another memory-hard option. PBKDF2 remains useful when a standard, existing system or FIPS requirement calls for it.