Local StudioSECURITY TOOLS

PBKDF2 Key Derivation

Derive one key from exact passphrase, salt, iteration, and length settings.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
PBKDF2 Key Derivation with a masked public test passphrase and sample parameters.
The public test vector fills the inputs without revealing the passphrase in the workbench.

How to Derive a PBKDF2 Key

  1. Open the HTML, review Security Check, then select Continue.
  2. Enter a passphrase and salt, import raw salt bytes, or select Open Sample for a public test vector.
  3. Choose the PRF, iterations, and output length required by your application.
  4. Select Derive Key and check the parameters separately from the hex output. Copy or download the key only if needed.

Control the Exact Derivation Inputs

  • Choose the PRF, salt encoding, iterations, and byte length.
  • Generate random salt or import exact existing salt bytes.
  • Check one derivation against a published test vector.

Formats and Compatibility

InputEnter a UTF-8 passphrase and salt in hex or UTF-8 text. A salt file is read as raw bytes. You can also generate 16 random salt bytes.
OutputCopy or download the derived key as lowercase hex. The result lists PRF, iterations, byte length, salt encoding, and salt bytes separately.
BrowserA modern browser with local file support.
ScopeOne passphrase up to 4,096 UTF-8 bytes, 1โ€“1,024 salt bytes, 1โ€“2,000,000 iterations, and 1โ€“64 output bytes.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

This browser-based tool runs one Web Crypto derivation on your device with no upload. The passphrase is masked and clears when you select Derive Key.

Select Open Sample to see the workflow with the included example.

Password Based Key Derivation

PBKDF2 key derivation uses the exact passphrase bytes and selected settings. HMAC-SHA-256 is the default. HMAC-SHA-512 is also available.

Read and Use the Derived Bytes

The hex text represents the derived bytes. The tool clears its result when you return to the inputs. Copy or download only when you intend to retain the key outside the tool.

Frequently Asked Questions

How do I use the PBKDF2 calculator offline?

Get the PBKDF2 calculator download, extract the ZIP, and open PBKDF2KeyDerivation.html. The free PBKDF2 calculator includes a public test vector.

Can I use a PBKDF2 calculator in browser?

Yes. The local PBKDF2 calculator uses native Web Crypto in a supported secure browser context.

Can I use the PBKDF2 calculator without uploading files?

Yes. The passphrase, salt and output stay on your device.

How is the passphrase encoded?

It uses UTF-8 without trimming or Unicode normalization. The input supports a single line. Passphrases do not appear in result text or downloads.

What settings should I enter?

Use the parameters required by the application you are matching. Open Sample uses low iteration settings from a public test vector for comparison only.

How do I supply the same salt bytes?

Enter pairs of hex digits without separators or choose UTF-8 Text for literal text. A local salt file imports raw bytes and shows their hex representation.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.