Password Generator

Generate cryptographically secure passwords (8–128 chars) or diceware-style passphrases instantly. Choose character sets, check entropy strength, copy with one click. 100% in-browser — no data sent to any server.

8128
Character sets

Did we solve your problem today?

Why Use a Password Generator?

Human-chosen passwords are predictable. Studies of leaked password databases consistently show that people pick names, dates, keyboard patterns, and dictionary words — patterns that attackers exploit first. A cryptographically random password removes all predictability.

How This Tool Works

All generation runs locally in your browser using the Web Crypto API (crypto.getRandomValues()). This API draws from the operating system’s entropy pool — the same source used by TLS, SSH key generation, and professional password managers. No data is sent to any server.

Choosing the Right Settings

GoalRecommended Settings
Email / social media16 chars, all sets (A–Z, a–z, 0–9, symbols)
Banking / finance20+ chars, all sets
Master password6-word passphrase or 24+ chars
API keys / secrets32 chars, all sets
Child-friendlyPassphrase mode, 4 words, space separator

Understanding Password Strength

Strength is measured in entropy bits — the number of bits of information needed to represent your password’s randomness:

StrengthBitsExample
Very Weak< 28pass123
Weak28–358 lowercase letters
Moderate36–5910 mixed chars
Strong60–12716 chars, all sets
Very Strong128+24+ chars, all sets

For accounts that matter, aim for Strong (60+ bits) or better.

Password vs. Passphrase

Passwords — random character strings like Kx9#mQ2vPn!4 — are highly secure but hard to remember. Best stored in a password manager.

Passphrases — sequences of random words like bolt-cool-hawk-firm — are easier to type and remember while still being much stronger than typical human-chosen passwords. A 6-word passphrase from a large word list can exceed 70 bits of entropy.

Best Practices

  1. Use a password manager — generate and store unique passwords for every account. Never reuse.
  2. Enable two-factor authentication (2FA) — a strong password plus 2FA is far harder to compromise than either alone.
  3. Never share passwords — not via email, SMS, or messaging apps. Use a password manager’s sharing feature if needed.
  4. Update after breaches — check services like Have I Been Pwned to see if your credentials appeared in a leak, then rotate those passwords.
  5. Avoid password hints — security questions with answers you actually know reduce security. Use random answers stored in your password manager.

Why crypto.getRandomValues() Is Secure

Standard Math.random() is a pseudo-random number generator (PRNG) seeded with a predictable value — it is not suitable for security purposes. crypto.getRandomValues() uses the OS entropy pool, which collects unpredictable data from hardware events, timing jitter, and other sources. This is the same foundation used by cryptographic libraries worldwide.

Privacy

This tool makes zero network requests. Open your browser’s Developer Tools → Network tab and click Generate — you will see no outgoing connections. Your passwords are generated on your device and are never transmitted, logged, or stored anywhere.

FAQ

How are passwords generated?

Passwords are generated using the Web Crypto API — specifically crypto.getRandomValues() — which provides cryptographically strong random values from the operating system's entropy pool. This is the same source used by password managers and security-critical applications.

Is my generated password stored or sent anywhere?

No. All generation happens locally in your browser. No network requests are made, nothing is logged, and your passwords never leave your device. You can verify this by checking the browser's developer tools Network tab.

What is password entropy and why does it matter?

Entropy measures how unpredictable a password is, expressed in bits. A password with 60 bits of entropy means an attacker would need to try 2^60 (about 1 quintillion) guesses on average to crack it. Higher entropy = harder to brute-force. Use at least 60 bits for important accounts.

What is passphrase mode?

Passphrase mode generates a sequence of random common words (e.g. "bolt-cool-hawk-firm"). A 4-word passphrase from this tool provides ~32 bits of entropy. They are easier to remember than random character strings while still being much stronger than typical human-chosen passwords.

How long should my password be?

For most online accounts: 16 characters from all character sets (letters, digits, symbols) gives around 100 bits of entropy — well above any practical brute-force attack. For local encryption or rarely-changed credentials, 20+ characters is recommended.

What symbols are included?

The symbols set includes: !@#$%^&*()_+-=[]{}|;:,.<>? — all printable ASCII special characters that are widely accepted by websites and applications. If a site rejects certain symbols, simply regenerate without the symbols option checked.