PASSWORD GENERATOR

Make a random password of any length from 4 to 128 characters. Choose the character sets, avoid look-alike characters if you need to read it aloud, and see the exact strength in bits as you change the settings. Generate up to 50 at once and copy one or all.

Zero retention: your passwords never leave this browser. Verify it yourself in DevTools.
Generating…

Your generated result stays in this tab's memory only: never saved, never sent, never counted. It is not cleared when you leave the tab (so a paste-then-come-back workflow keeps working) - use the Clear button to wipe it yourself.

-- bits of entropy
Characters
Options
About the password generator

How Can You Verify That Your Passwords Never Leave This Browser?

You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2pass work and confirm that your passwords are never sent anywhere. The check takes about a minute.

  1. Open your browser developer tools with F12, or Cmd+Option+I on a Mac, and select the Network tab.
  2. Reload the page and let it finish. You will see the page's own files, its web fonts, the word lists it uses, and one anonymous page-view request. Nothing has been typed or generated yet, so none of them can contain a password.
  3. Click the clear icon in the Network tab so that the log is empty.
  4. Press Generate a few times, change the length, and copy a password.
  5. Look at the Network tab again. It is still empty. Generating, typing, checking, and copying happen in code that is already on the page, so there is nothing to send.

For extra proof, turn on offline mode after the page loads: the generators, the strength checker, and the calculator keep working, because they never needed the network. Only the breach check needs a connection, and only after you ask it to.

The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site, the anonymous analytics endpoint, and the Have I Been Pwned range API, so even a bug could not send a password somewhere else.

How Does the Password Generator Work?

The password generator asks your browser for cryptographically secure random numbers through crypto.getRandomValues, the Web Crypto API that password managers and banking apps rely on. Each random number picks one character from the pool you selected, using rejection sampling: values that would make some characters slightly more likely than others are thrown away and redrawn, so every character is exactly equally likely.

Nothing about the password leaves the page. The generator does not call a server, does not save the result, and does not record which settings you used. A new password is drawn every time you press Generate or change a setting.

How Long Should a Random Password Be?

Length is the setting that matters most. A random password drawn from all 94 printable characters gives about 6.55 bits per character, so 8 characters is about 52 bits, 12 characters about 79 bits, 16 characters about 105 bits, and the default of 20 characters about 131 bits. Every added character multiplies the guessing work by 94.

For an account protected by a password manager, choose 16 to 24 characters; you never type it, so extra length costs nothing. Use the maximum a site allows when it caps length low. NIST SP 800-63B Revision 4 asks services to require at least 15 characters for passwords used on their own and to accept at least 64.

Which Characters Should You Include?

  • Lowercase letters: 26 characters, 4.7 bits each.
  • Uppercase letters: another 26, raising the pool to 52.
  • Digits: 10 more characters.
  • Symbols: the 32 printable punctuation marks on a US keyboard, for 94 characters in total and about 6.55 bits each.

More character sets help, but less than length does. Dropping symbols from a 20-character password costs about 12 bits; dropping two characters of length costs about 13. When a site rejects some symbols, untick symbols and add four or five characters instead.

What Does Avoid Look-Alikes Do?

Avoid look-alikes removes characters that are easy to confuse when a password is read from a screen, printed, or typed by hand: capital I, lowercase l, the digit 1, capital O, the digit 0, lowercase o, the pipe, the backtick, and both quote marks. Use it for a Wi-Fi password, a printed initial password, or anything a person will copy by eye.

Removing characters makes the pool smaller, so each character carries slightly fewer bits. The entropy readout accounts for that exactly; add a character or two of length if you want to win the bits back.

Why Is One of Each Set Slightly Weaker?

Many sign-up forms demand at least one uppercase letter, one digit, and one symbol. With At least one of each turned on, the generator throws away any password that misses a chosen set and draws a completely new one, so the result stays perfectly uniform over all passwords that meet the rule.

Because some passwords are excluded, the number of possible outputs is a little smaller. 2pass counts it exactly with the inclusion-exclusion formula and shows that number as the entropy. For long passwords the loss is a fraction of a bit; for very short passwords it is larger and visible in the readout.

What Does the Entropy Readout Mean?

The entropy readout is the base-2 logarithm of the number of different passwords the generator could have produced with your settings. It is exact, not an estimate, because the generator knows its own pool and length. An attacker who knows your exact settings would still need, on average, half of that many guesses.

The verdict uses the same scale as every 2pass tool: under 20 bits very weak, 20 to 39 weak, 40 to 59 fair, 60 to 79 strong, and 80 or more very strong. A random password of 13 or more characters from all four sets is very strong.

Can You Generate Many Passwords at Once?

Yes. Set the count from 1 to 50 and press Generate to get a list of independent passwords with the same settings. Copy any single one, or Copy all to put the whole list on your clipboard, one per line. Bulk mode suits initial passwords for a team, test accounts, or service credentials.

Remember that a copied password sits on your system clipboard, where other apps and clipboard history tools can read it. Paste it where it belongs, then copy something harmless over it if your system keeps a clipboard history.

What Else Is on 2pass?

  • Passphrase generator: Passphrases of 3 to 12 words from the EFF large wordlist, with separator options and entropy shown.
  • Password strength checker: See how fast a password could be guessed, which patterns weaken it, and whether it contains personal information.
  • Breached password check: Check a password against Have I Been Pwned with k-anonymity: only a 5-character hash prefix leaves the browser.
  • NIST password guidelines: What NIST SP 800-63B Revision 4 says about length, composition rules, expiry, blocklists, and storage.
  • Password entropy explained: What password entropy is, how bits are counted, and how long a guess takes, with a calculator.
  • Privacy and zero retention: Tool by tool, exactly what leaves your browser (almost nothing) and how to check it yourself.

Everything is on the 2pass home page. Part of the 2suite.io privacy-first ecosystem.

Frequently Asked Questions

What is the best length for a random password?

For accounts filled in by a password manager, 16 to 24 random characters from all four sets. That is 105 to 157 bits, far beyond any practical guessing attack.

Is this password generator truly random?

It uses crypto.getRandomValues, the browser cryptographic random number generator, with rejection sampling so there is no modulo bias. Every allowed character is exactly equally likely at every position.

Why does turning on one of each lower the bits?

Passwords missing a required set are discarded, so there are fewer possible outputs. 2pass counts the remaining ones exactly. For a 20-character password the difference is well under one bit.

Which characters does Avoid look-alikes remove?

Capital I, lowercase l, the digit 1, capital O, the digit 0, lowercase o, the pipe, the backtick, and the single and double quote marks.

Are generated passwords saved anywhere?

No. They exist only in this tab until you generate new ones, switch to another tab, or close it. Nothing is stored, logged, or sent, so copy the password into your password manager before you leave.

How many passwords can I generate at once?

Up to 50 per press of Generate, each drawn independently. Copy all puts them on your clipboard one per line.

Was this helpful?