Password Generator
Generate cryptographically secure passwords and memorable passphrases in your browser. Nothing is transmitted, nothing is logged, and the randomness comes from your operating system.
- Files never leave your device
- Free, no signup
- No watermarks
- Works offline once loaded
How to password generator
- 1
Choose a style
Pick a random character password or a memorable multi-word passphrase.
- 2
Set the length and character sets
The strength meter shows the real entropy in bits as you adjust.
- 3
Copy it
Copy the password straight into your password manager.
Why length beats complexity almost every time
The strength of a random password is a function of how many possible passwords exist given its length and character set, and that number grows exponentially with length but only linearly with the size of the character set — adding one more character position multiplies the total possibility space, while adding one more allowed symbol type barely moves it. A 20-character password using only lowercase letters draws from 26 possibilities per position across 20 positions, which works out to vastly more total combinations than an 8-character password drawing from a much richer set of 94 possible characters (uppercase, lowercase, digits and symbols combined) but with only 8 positions to place them in. This is the mathematical reason length is the dominant factor in password strength, and why the long-standing advice to add symbols and mixed case matters far less than simply making the password longer.
What "cryptographically secure" actually means here
Not all random number generators are equally unpredictable. `Math.random()`, the general-purpose random function built into JavaScript, is designed for speed and statistical distribution in things like animations or shuffling a game board — it is not designed to resist an attacker who is specifically trying to predict its output, and in some implementations its internal state can be partially reconstructed from a handful of observed outputs. `crypto.getRandomValues()`, the API this tool uses instead, draws from the operating system's cryptographic random number source — the same underlying source used to generate encryption keys — which is built and audited specifically to resist exactly that kind of prediction attack. Using anything other than a CSPRNG (cryptographically secure pseudorandom number generator) for password generation is a genuine, exploitable weakness, not a theoretical one — several published password generator bugs have come from exactly this substitution.
Reading the entropy number, and where the common thresholds come from
Entropy, measured in bits, describes how many attempts an attacker would need to exhaustively try every possibility before finding the right one — each additional bit doubles that number, so the relationship is exponential rather than linear, and a jump from 60 to 70 bits represents a thousand-fold increase in the attacker's workload, not a modest ten-unit improvement. Below roughly 50 bits, sustained brute-force attacks using modern hardware become genuinely feasible within a practical timeframe. The 70–80 bit range is considered comfortable for an ordinary password protecting a typical online account. Above 100 bits is comfortably beyond what any currently conceivable computing effort could exhaust, which is why this tool's guidance and its strength meter both anchor around these specific thresholds rather than a vague "make it stronger" recommendation.
Frequently asked questions
Is it safe to generate a password on a website?
For this one, yes — passwords are generated by `crypto.getRandomValues`, your operating system's cryptographic random source, and never leave the page. There is no network request to intercept and nothing stored. You can disconnect from the internet and it still works, which you can verify yourself.
How long should a password be?
At least 16 characters from a mixed set, which gives about 100 bits of entropy — far beyond any feasible brute-force attack. Length matters far more than special characters: a 20-character lowercase password is stronger than an 8-character one with symbols.
What does the entropy figure mean?
Bits of entropy measure how many guesses an attacker needs. Each extra bit doubles that number. Below 50 bits is weak, 70–80 is reasonable, and above 100 is beyond the reach of any current attack.
Are passphrases as secure as random passwords?
Yes, when the words are chosen randomly. Four random words from a large list give roughly 52 bits; six give about 78. The advantage is that you can actually remember and type them — which matters for the handful of passwords you cannot store in a manager.
Why avoid similar-looking characters?
Because 0/O and 1/l/I are indistinguishable in many fonts. Excluding them costs a couple of bits of entropy and saves real frustration when a password has to be read aloud or typed from a printout.
Common password generator tasks
You might also need
UUID Generator
Generate v4 and v7 UUIDs in bulk
QR Code Generator
Create QR codes for links, text, WiFi and more
JWT Decoder
Decode and inspect JSON Web Tokens
Barcode Generator
Code 128 barcodes as scalable SVG
Color Picker & Converter
HEX, RGB, HSL, CMYK and contrast checking
Invoice Generator
Create and download a professional invoice as a PDF
Resume Builder
Build a clean, ATS-friendly resume and download it as a PDF