Password Generator

Your data never leaves your browser

Generate cryptographically secure passwords and passphrases using the browser's Web Crypto API. Nothing is sent to a server.

Generated in your browser using Web Crypto API
Length

Click Generate to create a password

Ctrl+EnterGeneratePassphrase mode uses a curated EFF-style wordlist. Nothing is sent to a server.

Share this tool

Found it useful? Help a fellow developer discover it.

https://developertoolkit.dev/tools/password-generator

Password vs Passphrase

Random password

A string of random characters from your chosen sets (upper, lower, digits, symbols). Hard for computers to guess, but hard for humans to remember. Best stored in a password manager.

k#9Xm$vL2qRpN7@s

Passphrase

A sequence of random words separated by a delimiter. Easier to remember and type than a character password, while still providing strong entropy. Based on the EFF wordlist concept.

Marble-Cricket-Sunset-42

Strength guide

RatingApproximate entropySuitable for
Weak< 40 bitsNot recommended for any account
Fair40–60 bitsLow-value accounts with mandatory rotation
Strong60–80 bitsMost accounts, email, social media
Very strong> 80 bitsFinancial accounts, master passwords, API keys

How to create a strong password

Frequently Asked Questions

How long should my password be?

For character passwords, 16 characters is a strong minimum for most accounts. For anything protecting sensitive data such as email, financial accounts, or a password manager master password, use 20 or more characters. For passphrases, five or more random words provide equivalent strength and are far easier to remember.

Is a passphrase more secure than a random character password?

A five-word passphrase from a large wordlist provides roughly 60 bits of entropy, comparable to a 12-character random password using uppercase, lowercase, digits, and symbols. Passphrases are easier to type and remember without sacrificing meaningful security. Use a random character password for accounts where you always copy-paste from a password manager.

Should I use a password manager with this generator?

Yes. This tool generates strong passwords, but storing them safely is equally important. A password manager such as Bitwarden, 1Password, or KeePass lets you use a unique high-entropy password for every account without memorising any of them. The generator produces passwords that are deliberately too complex to memorise, which is exactly what a manager is designed to handle.

Is the password generated securely?

Yes. Passwords are generated using crypto.getRandomValues(), the browser's cryptographically secure pseudo-random number generator (CSPRNG). It is the same entropy source used by TLS and other security-critical browser operations. The generator never uses Math.random(), which is not cryptographically secure.

Are my passwords stored or sent anywhere?

No. The generator runs entirely in your browser. Passwords are created in memory, displayed on screen, and discarded. Nothing is logged, stored, or transmitted. You can disconnect from the internet and the generator will still work.

What is the "Exclude ambiguous" option?

This removes characters that look similar in many fonts: 0 (zero) and O (capital oh), l (lowercase L) and I (capital i), and 1 (one). Enable this when you need to read or type the password manually and want to avoid transcription errors.

How many words should a passphrase have?

Four words from a 512-word list give approximately 36 bits of entropy, while six words give approximately 54 bits. For a master password or anything protecting sensitive data, use at least 5 words plus a digit. For less critical accounts, 4 words with a separator is sufficient and much easier to remember than a character password.

What is the EFF wordlist?

The Electronic Frontier Foundation published curated wordlists specifically designed for generating memorable passphrases. Words are chosen to be common, unambiguous, and clearly distinct from each other. This tool uses a curated subset of common English words following the same principles.

Related Tools