Generate secure random passwords and PINs with strength analysis.

How Password Generator Works
What is a Password Generator?

A password generator builds a secret at random instead of letting a person invent one. People reuse, pattern and predict; a generator does not, so the result resists both guessing and the dictionary and rule based attacks that defeat human-chosen passwords.

Its strength comes from two things only: how many characters are drawn, and how large the set they are drawn from is. Everything below follows from those two numbers.

Cryptographic Randomness

Passwords are generated using the Web Crypto API (crypto.getRandomValues), which provides cryptographically secure random numbers from the operating system's entropy source.

This is fundamentally different from Math.random(), which uses a predictable pseudo-random algorithm unsuitable for security purposes.

How to Use
  • Choose Password or PIN mode using the toggle.
  • Adjust length and character set options.
  • Click Generate or press Ctrl+Enter to create a new password.
  • To check an existing password, type or paste it directly into the password field. The password is automatically masked. Length, character sets, and strength analysis adjust automatically.
  • Click the eye icon to reveal or hide the password.
Strength Analysis
EntropyMeasures randomness in bits. Higher is better. 128+ bits is considered very strong.
Brute ForceEstimated time to crack based on the selected attack scenario. Default assumes SHA-256 hashing on an Nvidia RTX 5090 (~28 billion guesses/second).
CharsetThe number of possible characters per position. More character types = larger charset = stronger password.
Attack ScenarioThe assumed hash algorithm and attacker hardware. GPU benchmarks based on Nvidia RTX 5090 (Hashcat). Online attacks are rate-limited to ~100 attempts/second.

The strength analysis goes beyond charset-based entropy: it detects common patterns like repeated characters, sequential runs, keyboard patterns, and low character diversity. These patterns reduce effective entropy because attackers try them first. Switch the attack scenario to compare crack times across different hash algorithms.

Security Tips
  • Use at least 12 characters for important accounts.
  • Never reuse passwords across services.
  • Use a password manager to store generated passwords.
  • For maximum security, enable all character types including symbols.
Privacy & Security: All passwords are generated entirely in your browser using cryptographically secure randomness. No data is sent to any server.
Mode
Type or paste to check an existing password
16
4 128
Attack Scenarios

Benchmarks: Nvidia RTX 5090 (Hashcat)

Hash Hashrate Crack Time
MD5 221 GH/s -
SHA-256 28 GH/s -
bcrypt 10 kH/s -
Online 100 H/s -