Home › Generators › Password Generator
🔑

Password Generator

Free password generator. Create strong, random passwords with uppercase, lowercase, numbers and symbols using secure crypto randomness. Instant, no signup.

About this tool

Weak and reused passwords are the number one reason accounts get hacked. A password generator creates long, random passwords that no human could guess and no attacker could crack in a reasonable time. It is the simplest upgrade you can make to your online security.

This tool builds every password with your browser's cryptographic random number generator, the same kind of randomness operating systems use for security keys. Nothing is sent to any server, nothing is stored, and each password is generated fresh on your device the moment you click the button.

By Azhar Hussain · Last updated: 7 November 2026

How to use

Pick a mode first. Password makes a random string from the character types you choose; Passphrase joins random words you can actually remember; PIN makes a digits-only code for unlocking a device. Sixteen characters is a great default for a password, and four words for a passphrase.

For passwords, choose the length and the character types, then decide about look-alike characters (I, l, 1, O, 0, o) and whether every selected type must appear at least once. The strength meter updates as you type — it shows the entropy in bits and how long an offline attacker would need. Pick a preset for common cases: Wi-Fi, banking, easy-to-type, maximum, or digits-only.

Click Generate Password and your new password appears instantly, with Copy, Copy all and Download .txt buttons for batches. Use the Copy button to copy it straight into a password manager or a signup form. Generate a fresh one for every important account and never reuse passwords across sites.

The math behind it

Password strength comes from entropy, which is just a measure of how many guesses an attacker would need. Each random character multiplies the possibilities: bits = length × log2(pool size). This tool's full pool is 87 characters — 26 uppercase, 26 lowercase, 10 digits and 25 symbols — so a 16-character password has 103.1 bits of entropy, or 87^16 combinations. Crack times on this page assume an offline attacker guessing 100 billion times a second, and count the average case (half the combinations).

The key word is random. Human-chosen passwords follow patterns, but this tool picks every character with crypto.getRandomValues and unbiased rejection sampling — never Math.random(), and never a plain modulo, which favours some characters over others. That unpredictability is what makes the result genuinely strong. One honest caveat: the bits shown are a pool-size estimate — forcing at least one of each type, or excluding look-alikes, trims the real entropy very slightly.

Reading the strength meter

The meter shows two numbers for your exact settings: the entropy in bits, and how long an offline attacker guessing 100 billion times a second would need on average. Bits come from the formula bits = length × log2(pool size), and the crack time counts half the combinations — the average case, not the worst case.

BitsStrengthWhat it means
Under 40WeakCracked quickly by an offline attacker — only OK for a throwaway password or a device PIN.
40–60FairFine for low-value accounts; add length for anything important.
60–80StrongSolid for everyday accounts.
80–120Very strongThe right range for email, banking and anything important.
120+ExcellentFar beyond what any offline attack can reach in practice.

Worked examples: length, entropy and crack time

Every row below is worked out from the tool's own character pool (87 characters) and the 100-billion-guesses-a-second assumption — check any of them by hand with bits = length × log2(pool size).

PasswordEntropyCrack time (offline, average)Strength
16 characters, all 4 types103.1 bitsabout 1.7 trillion yearsVery strong
16 characters, letters + numbers only95.3 bitsabout 7.6 billion yearsVery strong
15 characters, all 4 types96.6 bitsabout 19.6 billion yearsVery strong
12 characters, letters + numbers71.5 bitsabout 511 yearsStrong
12 characters, all 4 types77.3 bitsabout 29.8 thousand yearsStrong
8 characters, lowercase only37.6 bitsabout 1 secondWeak
4-word passphrase (1,024-word list)40.0 bitsabout 5 secondsFair
4-word passphrase + digit43.3 bitsabout 55 secondsFair
6-digit PIN19.9 bitsless than a secondWeak

The passphrase rows use this tool's 1,024-word list. A 4-word passphrase is only 40.0 bits — fine for something you must memorise, but add a fifth word (50.0 bits, about 2 hours) or a digit and a symbol for anything valuable.

How long should a password be? Length beats complexity

Each extra character multiplies the guesses an attacker needs, so length is the single most powerful lever you have. Here is what length alone does with this tool's 87-character pool:

LengthEntropyCrack time (offline, average)
8 characters51.5 bitsabout 5 hours
12 characters77.3 bitsabout 29.8 thousand years
14 characters90.2 bitsabout 225.5 million years
15 characters96.6 bitsabout 19.6 billion years
16 characters103.1 bitsabout 1.7 trillion years
18 characters116.0 bitsabout 12.9 quadrillion years
20 characters128.9 bitsfar beyond the age of the universe
32 characters206.2 bitsfar beyond the age of the universe

NIST SP 800-63B Revision 4 (2025) — the current US federal guidance — says a password used on its own must be at least 15 characters, and at least 8 when a second factor is also used. Systems should accept at least 64 characters, must not force composition rules such as “one uppercase, one number, one symbol”, must not force scheduled password changes (change only when there is evidence of compromise), and must check new passwords against a list of common and breached ones. Length beats complexity: adding two characters strengthens a password far more than adding a symbol rule.

Generating a password for a site with strict rules

Some sites still enforce old-fashioned rules. Here is how to satisfy them without weakening your password more than you have to:

Passphrases and PINs: when to use each

Passphrase — for the few passwords you must type from memory: your password-manager master password, or disk encryption. Four random words from this tool's 1,024-word list give 40.0 bits (about 5 seconds against a 100-billion-guesses-a-second offline attack), so use five words (50.0 bits, about 2 hours) or six (60.0 bits, about 67 days) for anything valuable, or add a digit and a symbol. Capitalising the words adds no entropy — it is fixed, not random. Never use a famous quote or song lyric: those are in every cracking dictionary.

PIN — digits only, for unlocking a device. A 6-digit PIN has 19.9 bits and is cracked in less than a second by an offline attacker, so never use one for an account an attacker could try offline. It is only safe as a device lock, where the device itself limits guesses.

Common use cases

Good password habits: do and don't

Do:

Don't:

How it works — and our sources

Strength figures on this page are computed from the tool's own character pool (87 characters: 26 uppercase, 26 lowercase, 10 digits, 25 symbols) and the stated assumption of an offline attacker guessing 100 billion times a second — they are not copied from another site. Randomness comes from crypto.getRandomValues with unbiased rejection sampling, never Math.random() and never a plain modulo, which would favour some characters over others. The bits shown are a pool-size estimate, not an exact entropy guarantee for a constrained generator: forcing at least one of each type, or excluding look-alikes, trims the real entropy very slightly.

Length guidance follows NIST SP 800-63B Revision 4, Digital Identity Guidelines (US National Institute of Standards and Technology, 2025): 15 characters minimum for a password used alone, 8 with a second factor, at least 64 allowed, no forced composition rules, no scheduled rotation.

Frequently asked questions

Is it safe to use an online password generator?
Yes — when the password is created on your own device and never sent anywhere, which is how this tool works. It uses your browser's cryptographically secure random generator, the same source used for encryption keys.
How long should my password be?
At least 15 characters for any account protected by a password alone — that is the current NIST SP 800-63B (Revision 4, 2025) minimum. Eight characters is the floor only when a second factor is also used. Sixteen or more is a comfortable default for email, banking and anything important. Length matters more than clever substitutions.
What makes a password strong?
Three things: length, randomness and uniqueness. A long random password that you don't reuse anywhere beats a short ‘clever’ one every time.
Are my generated passwords stored or sent to a server?
No. Every password is generated entirely in your browser — nothing is transmitted, logged or stored. Closing the page erases them.
Can I use the same password for multiple accounts?
You shouldn't. If one site leaks, every account sharing that password is exposed. Use this generator to make a unique password for each account and store them in a password manager.
What is entropy, and how many bits do I need?
Entropy, measured in bits, is the number of guesses an attacker needs: bits = length × log2(pool size). Under 40 bits is Weak, 40–60 Fair, 60–80 Strong, 80–120 Very strong, 120+ Excellent. Aim for 80+ bits — a 16-character password from all 87 characters has 103.1 bits — for email, banking and anything important. The meter on this page shows the bits for your exact settings.
Passphrase or random password — which should I use?
A random password for anything stored in a password manager — it is stronger per character and you never type it. A passphrase for the few passwords you must memorise, like your password-manager master password or disk encryption: 4 random words from a 1,024-word list give 40.0 bits, so use 5 or 6 words (50–60 bits) or add a digit and a symbol for anything valuable. Never use a famous quote or song lyric — those are in every cracking dictionary.
Can I use a generated password for my bank account?
Yes — a long random password is the safest choice for a bank account, and 16 or more characters from all four types is a good default. Also turn on two-factor authentication for the account if the bank offers it: a strong password stops guessing, not phishing.
What does “exclude look-alikes” do?
It removes characters that are easy to confuse — capital I, lowercase l, digit 1, capital O, digit 0 and lowercase o — so a password read aloud or typed from a printout is less likely to be mistyped. It shrinks the pool slightly (87 to 81 characters), so add a character or two of length to make up for it.
Should I turn on symbols?
Yes when the site allows them — symbols widen the pool from 62 to 87 characters. But length matters more: an 18-character password with letters and numbers only (107.2 bits) beats a 16-character one with symbols (103.1 bits). If a site rejects symbols, untick them and add length instead.
How many passwords can I generate at once — and can I get exactly 15 characters?
Up to 50 at a time: set the quantity, generate, then use Copy all or Download .txt. And yes — set the length to exactly 15 (or 12, or 14) and the generator makes passwords of exactly that length; the meter shows the bits for that length.
How often should I change my passwords — and what if I can't remember them?
Only when there is a reason: a breach, a shared password, or evidence the account was compromised. Scheduled changes (every 90 days) are no longer recommended — NIST SP 800-63B Revision 4 says so. And don't try to remember them: store them in a password manager and remember one strong master passphrase instead.

Related tools

💬 Comments

Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.