Personal security

Password Generator

Runs locally

Use Password Generator

What it does

Generate random passwords in your browser with crypto.getRandomValues, choosing the length, the number of passwords and the character sets. A simple meter rates any password you paste.

It runs entirely in your browser: nothing you enter is uploaded.

How to use Password Generator

  1. Set the length. Enter a length from 4 to 256 characters. Values outside that range are clamped, and an empty field falls back to 24.
  2. Set the count. Choose how many passwords to make, from 1 to 50.
  3. Pick character sets. Tick A–Z, a–z, 0–9 and Symbols. If a site rejects some symbols, untick Symbols and add a few characters of length instead.
  4. Generate. Press Generate; every press draws new passwords. A first set is made when the page opens.
  5. Copy and store. Copy all copies every line. Keep only the password you use, in your password manager.
  6. Rate an existing password. Paste a password into Strength analyzer to see a score from 0 to 100. It looks only at length and character types, so treat it as a rough guide.

Example

Default settings

Input
Length 24, count 5, all four character sets (A-Z, a-z, 0-9, symbols)
What the output looks like
Five 24-character passwords from A–Z, a–z, 0–9 and symbols, for example of the form  T9#rW2!mQx…  (the rest hidden).
A password printed on a public page is not secret, so this page never shows a real one: yours are generated in your browser with crypto.getRandomValues.

Gives five 24-character passwords of about 155 bits each; every press of Generate draws new ones.

What it checks

SignalWhat it means
LengthWith all four sets, each character adds about 6.46 bits: 16 characters give about 103 bits, 24 about 155.
Character setsA–Z and a–z have 26 characters each, 0–9 has 10, and Symbols has 26: !@#$%^&*()-_=+[]{}|;:,.<>? Together that is 88 characters.
No set tickedIf you untick all four boxes, the tool quietly uses a–z only, at the length you set. Tick at least one set to control what you get.
No guaranteed mixEvery character is drawn from the combined set, so a password can lack a digit or a symbol. If a site requires one of each, generate again.
Strength scorePoints for reaching 8, 12, 16 and 24 characters and for upper case, lower case, digits and other characters, capped at 100. Under 40 is Weak, under 70 Fair, under 90 Strong, otherwise Very Strong.
What the meter ignoresDictionary words, keyboard patterns and breach lists. correcthorsebatterystaple, four common words from a famous comic, scores 65 (Fair) from its length and lowercase letters alone.
CountFrom 1 to 50 passwords per press. Larger numbers are cut to 50, and an empty field gives 5.
Copy allCopies every generated line, not a single password. Delete the ones you do not use from wherever you pasted them.

More examples

Letters and digits only

Input
Length 20, Count 3, A–Z, a–z and 0–9 ticked, Symbols unticked
Result

Three 20-character passwords drawn from 62 characters, about 119 bits each.

Every box unticked

Input
Length 12, Count 1, no character set ticked
Result

One 12-character password of lowercase letters only, about 56 bits, because the tool falls back to a–z.

Scoring a famous example

Input
Tr0ub4dor&3 in Strength analyzer
Result

Fair, 60/100: 15 for at least 8 characters, 10 each for upper case, lower case and digits, 15 for the symbol.

FAQ

How random are the passwords?

Each character comes from crypto.getRandomValues, the browser's cryptographic random generator. Bytes are mapped to characters with a modulo, which makes some characters slightly more likely and costs less than 0.02 bits per character, so a 24-character password from all four sets still has about 155 bits.

Can I trust the strength meter?

Only as a rough guide: it scores length and character classes and knows nothing about words, patterns or breaches, so P@ssw0rd2024 is rated Strong. Check a password you already use with Pwned Password Check.

Are the passwords sent or stored anywhere?

No. They are generated on this page, never uploaded and not saved, so copy them into your password manager before you close the tab.

Can I use one generated password on two sites?

No. If one site is phished or breached, attackers try the same password on other sites. Give every account its own password and keep them in a password manager.

Which accounts need new passwords first?

Your e-mail account, because it can reset almost every other password, then banking, crypto exchanges and any account where you reused a password.

Should I use a password or a passphrase?

Use a random password where a password manager fills it in for you. Use Passphrase Generator for the few secrets you must type or remember, such as the password manager's own master password.

What if a site rejects the password?

Some sites cap the length or allow only certain symbols. Untick Symbols or lower the length to the site's limit, and use the longest length the site allows.

Terms explained

PhishDestroy research