Skip to content
Tools

Password Generator & Strength Checker

Generate secure passwords instantly and analyze their strength with real-time security insights. Everything runs locally in your browser.

What to generate

0 chars

Try a sample:

Visible pane

Generator

131 bits

Length

Include

Require at least one

Guarantees the password satisfies a policy that demands each type. It costs a fraction of a bit of entropy, which the figure beside the password accounts for.

Exclude

Style

No password yet

Passwords are analyzed entirely in your browser. Nothing is uploaded, transmitted or stored. For maximum security, use unique passwords for every account and enable two-factor authentication whenever available.

What is a Password Generator?

A password generator produces a password by making a series of genuinely random choices, rather than by asking a person to invent one. That distinction is the entire value of the tool, because people are remarkably bad at being random. We favour certain letters, alternate hands across the keyboard, put the capital at the front and the digit at the end, and reach for words we already know. Every one of those habits is a pattern, and every pattern is something an attacker can search first.

The randomness here comes from crypto.getRandomValues, the browser's cryptographically secure random number generator, which draws from the operating system's entropy pool — the same source the UUID generator uses for v4 identifiers. Math.random is not used anywhere in this tool. It is a fast, predictable generator — its future output can be reconstructed from a handful of observed values — and a password built on it would look random while being reproducible by anyone who cared to try.

Everything runs in your browser. Nothing is uploaded, nothing is transmitted and nothing is stored, which is the property worth checking on any password tool: disconnect from the network after the page loads and it keeps working.

What is a Password Strength Checker?

A strength checker estimates how much work an attacker needs to guess a password. Most of them do it badly, and they do it badly in the same way: they count the length, count the character types, multiply, and report a large number.

What the usual formula says about a very common password
Password1! length          10 charactersalphabet        94 (upper + lower + digits + symbols)entropy         10 x log2(94)  =  65.5 bitsverdict         "Strong" — centuries to crack What actually happens:  1. try dictionary words                     ~10,000 guesses  2. apply "capitalise the first letter"       x2  3. append a digit 0-9                        x10  4. append a common symbol                    x10                                              ------------                                              ~2 million guesses                                              under one second on a GPU

The formula is not wrong arithmetically — it is wrong about the attacker. It assumes each of those ten characters was drawn independently at random, and they were not. An attacker does not spell a password out character by character; they try the cheap structure first, and dictionary word + capital + digit + symbol is about as cheap as structure gets.

The checker on this page models the attacker instead. It looks for the structure a cracking rig would exploit — common passwords, dictionary words with leetspeak substitutions, keyboard walks, sequences, repeats, years, dates, emails and phone numbers — and prices each one at what that trick actually costs. Passwords with no recognisable structure are charged at the full brute-force rate, which is the best a password can do.

How Password Strength is Calculated

The governing principle is that a password is only as strong as the cheapest way to describe it. If a password can be described as “the word monkey, capitalised, with 2024 on the end”, then it costs whatever that description costs — a few hundred thousand guesses — no matter how many characters it happens to contain.

So the analyser finds every recognisable stretch, prices each one, and then computes the cheapest way to cover the whole password with them. Anything left uncovered is charged at the full brute-force rate for its length and alphabet. The result is the number of guesses, and its logarithm is the entropy the tool reports.

Length
The single most important factor, and the one people underrate. Every character added multiplies the search space by the size of the alphabet — a 16-character password is not twice as hard as an 8-character one, it is roughly 200 trillion times harder. Length is also the cheapest thing to add: it costs no memorability if you use a passphrase and none at all if a manager types it for you.
Entropy
The measure that ties everything together, in bits. It answers one question — how many guesses does an attacker need — and each bit doubles that number. It is a property of the process that chose the password rather than of how the result looks, which is why a generated 12-character password and a hand-invented one that looks equally messy can differ by 30 bits.
Character variety
Mixing uppercase, lowercase, digits and symbols widens the alphabet from 26 to 94, worth about 1.85 bits per character. Real, but far smaller than people assume: four extra characters beat adding symbols to a short password. Variety matters most because policies demand it, which is why the generator can guarantee it.
Randomness
Whether the choice was actually random or only felt random. Humans are poor sources of randomness — we favour certain letters, alternate hands, put digits at the end and capitals at the start. A password you invented has far less entropy than its length and alphabet suggest, and no amount of complexity fixes a predictable source.
Predictability
What structure an attacker can exploit to skip most of the search. A dictionary word, a keyboard walk, a date, a repeated run, a leetspeak substitution — each collapses a stretch of the password from many guesses to a few. This is what the checker on this page measures, and it is the difference between the theoretical strength of a password and its real one.

Password Entropy Explained

What a bit actually is

Entropy is measured in bits, and each bit doubles the number of guesses an attacker needs. One bit is a coin flip: two possibilities. Ten bits is 1,024. Forty bits is about a trillion. Eighty bits is about 1024, a number with no useful intuition attached to it beyond “not going to happen”.

The doubling is what makes small changes matter so much. Adding a single random character from a 94-character alphabet adds 6.55 bits — it multiplies the attacker's work by 94. Adding four adds 26 bits, multiplying it by 78 million. This is why length dominates every other factor.

What entropy is worth, against a GPU rig at a trillion guesses a second
  28 bits   ~270 million guesses        instantly  40 bits   ~1 trillion                 about a second  50 bits   ~1 quadrillion              about 20 minutes  60 bits   ~1 quintillion              about two weeks  70 bits                               about 18 years  80 bits                               about 19,000 years 100 bits                               longer than the universe has existed 128 bits                               the modern cryptographic standard

Where entropy comes from

Entropy is a property of the process that chose the password, not of the string that came out. This is the part that trips people up, so it is worth being concrete: if you flip a coin 128 times and it comes up heads every time, that sequence still carries 128 bits of entropy, because the process could have produced any of 2128 outcomes. The result looks unremarkable; the process was not.

The reverse is what makes hand-invented passwords weak. Tr0ub4dor&3looks like eleven random characters — about 72 bits by the naive formula — but the process that produced it was “pick a word, apply obvious substitutions, add a symbol and a digit”, and that process has perhaps 28 bits in it. The string cannot tell you which process made it, which is exactly why a generator you trust is worth more than a password you invented.

Why entropy matters more than complexity rules

Complexity policies — one uppercase, one digit, one symbol — were designed to force entropy indirectly, and they mostly fail, because people satisfy them in the same predictable ways. The capital goes first, the digit and symbol go last, and the middle is a dictionary word. Entropy measures the thing the policy was aiming at, which is why it is the number this tool leads with.

Estimated Password Crack Time

Crack time is entropy divided by the rate an attacker can guess, taken at the median — an attacker expects to find a password half way through the search rather than at the very end. The rate varies enormously depending on how the attack happens, which is why this tool shows four scenarios rather than one number.

Brute force

Trying every combination in order. It is the attack the naive formula assumes and the one attackers use last, because it is the most expensive. Brute force is the right model only for a password with no exploitable structure — which is precisely what a generated password is, and why generated passwords score so well here.

Dictionary attacks

Trying word lists, leaked password lists and the two combined with rules — capitalise, append digits, substitute characters, join two words. This is what actually happens first, it is enormously cheaper than brute force, and it is what breaks the majority of human-chosen passwords. A cracking rig works through billions of rule-generated candidates before it resorts to enumerating character space.

Modern GPUs

The rates are the uncomfortable part. A single high-end consumer GPU computes billions of MD5 or SHA-1 hashes per second — the fast, general-purpose algorithms the hash generator marks as broken — and a rig of eight scales that linearly. Against a database hashed with a fast algorithm, a trillion guesses a second is a reasonable working figure — which is the rate this tool reports as its headline.

Against a database hashed properly the picture changes completely. bcrypt, scrypt and Argon2 are deliberately slow and memory-hard, dropping the same hardware to tens of thousands of guesses a second — a factor of a hundred million. You do not control which one a service used, which is the argument for enough entropy to survive the bad case.

Why online attacks barely matter

Guessing against a live login form is slow and noisy: rate limiting, lockouts and monitoring cap an attacker at a handful of attempts before the account or the IP is blocked. If that is the only threat, almost any password works. The case your password has to survive alone is the offline one, after a service has been breached and the hashes are on someone else's hardware with no rate limit at all.

Password vs Passphrase

Neither is universally better. A passphrase is not stronger than a random password of the same length — it is much weaker per character, because words are drawn from a list of a few thousand rather than characters from an alphabet of 94. What a passphrase buys is entropy you can actually remember, and that turns out to be the constraint that matters for the handful of passwords you have to type from memory.

Random passwords compared with passphrases across security, memorability, length and ease of typing
 Random passwordPassphrase
SecurityHighest per character. 16 characters from 94 is 105 bits — past anything that will be brute-forced.Highest per unit of memory. Six words from 2,048 is 66 bits, which is ample and which you can recall.
MemorabilityEffectively zero beyond one or two. This is fine — a manager remembers them.Genuinely good. Unrelated words form an image, and images stick.
LengthShort for the strength: 16–20 characters covers almost everything.Long by nature: four to six words runs 25–40 characters.
Ease of typingPainful by hand, especially on a phone. Symbols mean switching keyboards.Easy — lowercase letters and a separator, and autocorrect leaves it alone.

The practical rule:use a passphrase for the few passwords you must type from memory — your device login, your password manager's master password, your email — and let the manager generate long random passwords for everything else. You will type the passphrases; you will never type the rest.

How to Create Strong Passwords

  • Let something else choose it. The most important step, and the one that makes every other step unnecessary. A generated password has the entropy its length and alphabet imply; an invented one does not.
  • Go long before you go complex. Sixteen characters minimum for anything that matters. Four extra characters beat adding a symbol, every time.
  • Make every one unique. Uniqueness is what stops one breach becoming ten. It is only practical with a manager, which is the real reason to use one.
  • Use a passphrase where you must remember it. Six unrelated random words beat a scrambled string you will forget and write down.
  • Keep personal details out. Names, dates, pets and teams are public, and a targeted attacker builds a wordlist from your own accounts first.
  • Give the important accounts more. Your email is the reset mechanism for everything else — treat it, and your password manager, as the keys to the building rather than to one room.

What not to bother with

Substituting @ for a and 0 for o adds almost nothing — every cracking tool has applied those rules for thirty years. Adding ! to the end to satisfy a policy adds almost nothing, because it is the first thing tried. Changing a working password every ninety days makes things worse, not better, which is why the guidance was withdrawn.

Common Password Mistakes

Reusing passwords
The most damaging mistake by a wide margin. When a service is breached, attackers take the recovered passwords and try them against email providers, banks and retailers automatically — the technique is called credential stuffing and it is cheap, fast and enormously effective. One reused password turns a breach at a forum you forgot about into a breach of your email.
Using personal information
Names, birthdays, pets, partners, children, sports teams, street names. All of it is on social media, in public records, or in the last breach that leaked your profile. An attacker targeting you specifically builds a wordlist from your own accounts first, and it works far more often than it should.
Dictionary words with substitutions
P@ssw0rd is one dictionary word plus a rule that every cracking tool has applied since the 1990s. The substitutions feel clever because they make the password look unfamiliar to a human, but the attacker is not a human — it is software with a rule engine, and character swaps are the first rules it applies.
Sequential and keyboard patterns
abc123, qwerty, 1qaz2wsx, asdfgh. Keyboard walks are especially tempting because they feel random to type while being trivially enumerable: there are only so many paths across a keyboard, and cracking rule sets cover all of them.
Short passwords
Anything under 12 characters is within reach of a GPU rig on a fast hash, however complicated it looks. An 8-character password using all four character types has about 52 bits, which sounds like a lot and falls in hours. If a password is short because it has to be typed often, the answer is a password manager rather than a shorter password.

Password Security Best Practices

Use a password manager
The only practical way to have a unique long random password for every account. The common objection — everything in one place — is real but backwards: the alternative is reuse, which is a far larger risk. Protect it with a long passphrase you can remember plus two-factor authentication, and let it generate and type everything else.
Enable two-factor authentication
A strong password stops guessing and cracking. It does nothing against phishing, malware on your device, or a breach at the service itself — two-factor authentication is what covers those, because a stolen password alone is no longer enough. Prefer an authenticator app or a hardware security key; SMS codes can be intercepted by SIM swapping.
Use a unique password everywhere
Uniqueness is what contains the damage. It converts a breach at one service from a compromise of your whole identity into a single account you reset. Combined with a manager it costs nothing, because you never type most of them.
Change compromised passwords
Change a password when there is a reason to — a breach notification, a suspicious login, a shared device — and not on a schedule. Forced rotation was withdrawn from NIST guidance because it makes people pick weaker passwords and increment them predictably. Spring2024! becoming Summer2024! is not a new password.
Never share passwords
Not over email, not over chat, not over the phone. Anything sent that way persists in places you do not control — inboxes, backups, screenshots, support tickets. Where sharing is genuinely required, use the sharing feature of a password manager, which can revoke access afterwards.

Frequently Asked Questions

Is this password generator free?

Yes. Generating, analysing, bulk generation, passphrases, downloads and every option are free, with no account, no sign-up and no cap on how many passwords you create.

Are my passwords sent anywhere?

No. Passwords are generated and analysed by JavaScript running in your browser. Nothing is sent to a server, nothing is stored, nothing is logged, and there is no analytics call carrying what you typed. You can disconnect from the network after the page loads and the tool keeps working — which is the test worth applying to any password tool, because a generator that talks to a server is a generator that could be keeping what it made.

How random are the generated passwords?

They come from crypto.getRandomValues, the platform's cryptographically secure random number generator, which draws from the operating system's entropy pool. Math.random is not used anywhere in this tool and must not be: it is a fast non-cryptographic generator whose future output can be predicted from a handful of observed values, so passwords built on it look random while being reproducible by an attacker.

What is password entropy?

Entropy measures how many guesses an attacker needs, expressed in bits. Each extra bit doubles the work. A password with 40 bits takes about a trillion guesses to exhaust and falls to a GPU in seconds; one with 80 bits takes about 10^24 and does not. Entropy comes from the process that chose the password, not from how complicated the result looks — which is why a password you invented to look random usually has far less than it appears to.

How is password strength calculated here?

By finding the cheapest way to describe the password. The analyser looks for dictionary words, common passwords, keyboard walks, sequences, repeats, dates and personal patterns, then computes the least-cost route that covers the whole string — recognised stretches are charged at what that trick costs an attacker, and anything left over is charged at the full brute-force rate. That is why Password1! scores badly here and well on meters that simply multiply length by alphabet size.

Why does my password score lower here than on other sites?

Most strength meters compute length × log2(alphabet), which assumes every character was chosen at random. A password a human invented was not. That formula rates Password1! at about 65 bits — centuries of cracking — when a real attacker reaches it in under a second by trying a dictionary word with a capital, a digit and a symbol. This tool models the attacker rather than the keyboard, so it gives lower and more useful numbers.

How is the crack time estimated?

By dividing the guesses needed by the rate an attacker can make them, at the median — an attacker expects to find a password half way through the search rather than at the end. Four scenarios are shown, from a rate-limited login form at 100 attempts an hour to a GPU rig at a trillion guesses a second against a stolen database. The headline figure is the GPU one, because that is the case a password actually has to survive.

Why is the offline GPU scenario the headline number?

Because it is the realistic threat. Online guessing against a live login is slow and usually stopped by rate limiting and lockouts — the service is doing the defending, not your password. The case where your password alone stands between an attacker and your account is when a company is breached and the password database is stolen. If it was hashed with MD5 or unsalted SHA-1, an attacker makes billions of guesses a second offline, and only entropy helps.

How long should a password be?

Sixteen characters or more for anything that matters, and longer for accounts that protect other accounts — your email and your password manager. Length beats complexity: adding one random character to a mixed-case alphanumeric password multiplies the search space by about 62, while adding a symbol to a short password multiplies it by a much smaller factor and makes it harder to type. The generator defaults to 20 for that reason.

What is a passphrase, and is it better than a password?

A passphrase is several unrelated random words — forest-river-coffee-laptop. It is not automatically stronger; it is stronger per unit of memorability. Four words from this tool's 2,048-word list is 44 bits, about the same as a 7-character random password, but you can actually remember it. Six words is 66 bits and still memorable, where a 12-character random string is not. Use a passphrase for the handful you have to type from memory and random passwords, stored in a manager, for everything else.

How many words should a passphrase have?

Four is the minimum worth using and six is a good target. Each word from a 2,048-word list is exactly 11 bits, so four words is 44 bits, five is 55 and six is 66. Below four the phrase is short enough that a dedicated attacker who knows you used a passphrase can exhaust it. The security comes from the number of words and the size of the list — never from the list being secret, since every wordlist worth using is public and an attacker is assumed to have it.

Does capitalizing my passphrase make it stronger?

No, and the tool says so where the option sits. Capitalisation here is applied to every word or to none, so there is nothing for an attacker to guess — it adds zero bits. It exists because some password policies demand an uppercase letter. Appending random digits or a random symbol does add entropy, because those are actually chosen at random: two digits is 6.6 bits and one symbol from eight is exactly 3.

Should I use symbols in my passwords?

They help, but less than people think, and less than length. Adding symbols takes the alphabet from 62 characters to 94, which is about 0.6 extra bits per character. Adding four more characters to a 62-character alphabet adds about 24 bits. If a policy demands a symbol, use the require option; if it does not, spend your effort on length. Symbols also make a password harder to type on a phone, which is a real cost.

What do the exclude options do?

“Similar characters” drops O, 0, I, l, 1 and | — the pairs people transcribe wrongly when reading a password off a screen or a printout. “Ambiguous symbols” drops the characters that need escaping somewhere they are likely to be pasted: quotes and backslashes break shell commands and CSV files, angle brackets break HTML, and a backtick starts a command substitution. Both shrink the pool and cost entropy, which the figure beside the password accounts for — compensate with a little more length.

What does “require at least one” actually guarantee?

That the generated password contains at least one character from each type you tick, so it satisfies a policy that demands them. It works by placing one character of each required type and then shuffling everything, so the required characters are not sitting in predictable positions. It costs a fraction of a bit of entropy, because a constraint is information an attacker can use — the tool computes the exact reduced figure rather than reporting the unconstrained one.

Why does “no repeated characters” limit the length?

Because a password with no repeats cannot be longer than the number of distinct characters available. With every character type on that is 94; with the exclusions on it can drop below 60. When you ask for more than that, the tool generates the longest password those settings allow and says so. The option also slightly reduces entropy for the same reason “require at least one” does: knowing no character repeats is knowledge an attacker can use.

Can I generate passwords in bulk?

Yes — 10, 25, 50 or 100 at a time, each generated independently rather than permuted from a common seed. Every row shows its own strength rating and entropy, since an unlucky combination of settings can produce a weak one and finding that out after the file has been distributed is too late. Click any row to load it into the analyser, and export the whole set as TXT, CSV or JSON.

Is it safe to download a file full of passwords?

It is a real risk and the tool warns about it after each download. The file lands in your downloads folder in plain text, often gets synced to a cloud drive, and is usually still there months later. If you export a batch, move the passwords into a password manager and delete the file. Bulk export exists because provisioning accounts genuinely needs it, not because it is harmless.

Does the tool check whether my password has been breached?

Not against the full breach corpus, and it is important to be precise about that. It checks against a sample of the few hundred most common passwords, which catches the worst cases instantly. It cannot tell you a password is absent from every breach, because doing so would mean sending something derived from your password to a third-party service — and this tool sends nothing anywhere. To check a specific password against real breach data, use Have I Been Pwned's password service directly.

Is the password history stored anywhere?

No. The history lives in the page's memory and nowhere else — no localStorage, no sessionStorage, no cookie, no server. Refreshing the page, closing the tab or navigating away erases it. It is capped at the 50 most recent so a long session does not accumulate a growing pile of live credentials in memory, and you can delete individual entries at any time.

What are the most common password mistakes?

Reusing one password across accounts is the worst by a distance — one breach anywhere becomes a breach everywhere, and attackers automate exactly that. After that: using personal information that is public anyway, using a dictionary word with predictable substitutions, adding a year or an exclamation mark to satisfy a policy, and choosing something short because it has to be typed often. The last one is solved by a password manager rather than by a shorter password.

Should I change my passwords regularly?

No — that guidance was withdrawn. NIST's current recommendation, and the UK NCSC's, is to change a password when there is reason to believe it has been compromised and not on a schedule. Forced rotation makes people pick weaker passwords and increment them predictably: Spring2024! becomes Summer2024!. Use a long unique password per account, change it if the service is breached, and leave it alone otherwise.

Do I still need two-factor authentication with a strong password?

Yes. A strong password protects against guessing and cracking; it does nothing against phishing, malware on your machine, or a breach at the service. Two-factor authentication is what covers those, because an attacker with your password still cannot get in. Prefer an authenticator app or a hardware key over SMS, which can be intercepted by SIM swapping.

Should I use a password manager?

Yes. It is the only practical way to have a genuinely unique long random password for every account, which is the single most valuable thing you can do. The common objection — putting everything in one place — is real but backwards: the alternative is reusing passwords, which is a much larger risk. Protect the manager with a long passphrase you can remember and two-factor authentication, and let it generate everything else.

Are there keyboard shortcuts?

Ctrl/Cmd+G generates, Ctrl/Cmd+Shift+C copies, Ctrl/Cmd+Shift+D downloads, Ctrl/Cmd+Shift+Delete clears everything including the history, and Ctrl/Cmd+F opens the search over the generated list and history. Ctrl/Cmd+Enter also generates, matching the other tools here. Escape closes the search.

Popular tools

↑ ↓NavigateOpenEscClose