Skip to main content
TOP free online tools Your Workbench
English

Password Hash Generator

Generate secure password hashes using PBKDF2 via Web Crypto in your browser. Free, online, no upload, fully private.

Local browser processing — zero server uploads

How to Use

  1. Paste or type your password text into the Password Hash Generator input area above.
  2. Configure any format or mode options to generate the hash string in real time.
  3. Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.

What is Password Hash Generator?

The Password Hash Generator derives salted cryptographic password digests in your browser using PBKDF2-HMAC-SHA256 via the native Web Crypto API. Developers and security engineers use it to create test password hashes, benchmark iteration counts, and verify salted key derivation without installing native bcrypt bindings.

How It Works

Whenever the password or iteration slider (10,000 to 500,000, default 100,000) changes, crypto.getRandomValues() creates a random 16-byte salt and crypto.subtle.deriveBits() derives 256 bits via PBKDF2 with SHA-256. Both salt and derived key are hex-encoded into a structured "pbkdf2$sha256$<iterations>$<saltHex>$<hashHex>" string locally.

Common Use Cases

  • Auth database seeding — generate salted PBKDF2 password hashes for test fixtures and staging seed scripts
  • Work-factor tuning — slide iteration counts from 10k to 500k to observe browser PBKDF2 computation speed
  • Browser-native security — use Web Crypto's built-in PBKDF2 standard where native bcrypt C++ modules are unavailable
  • Offline secret hashing — convert passphrases into salted verification strings without sending plaintext over HTTP
Technical Details

Algorithm: Web Crypto PBKDF2 (HMAC-SHA-256, 256-bit derived output). Salt: 16 random bytes (128-bit) via crypto.getRandomValues(). Iterations slider: 10,000–500,000 (step 10,000, default 100,000). Output format: pbkdf2$sha256$iters$saltHex$hashHex. Client-side only.

FAQ

Is my password uploaded?

No. Hashing happens locally in your browser using the Web Crypto API. Your password never leaves your device.

Why PBKDF2 instead of bcrypt?

The browser's native Web Crypto API supports PBKDF2, which is a secure key derivation function. It is the recommended browser-side alternative to bcrypt.