Skip to content

Password generator: strong random passwords and passphrases, generated offline

A strong password is long and unpredictable: at least 16 random characters drawn from letters, digits and symbols, or a passphrase of five or more random words. Strength comes from entropy, the number of equally likely possibilities, not from clever substitutions. This generator uses your browser’s cryptographic random number generator, shows the entropy in bits, and never transmits or stores what it creates.

B10Password generator — TabbyTools
Ready0 B sent to server

Your files never leave your device. Processing happens in your browser. How that works.

How it works

  1. Choose a length and which character sets to include, or switch to passphrase mode.
  2. Click Generate; the entropy meter shows how strong the result is.
  3. Copy the password into your password manager.

Runs as JavaScript inside this tab. Turn off your connection after the page loads and it still works.

Password strength reference

Entropy

Entropy measures unpredictability in bits: a password with n bits is one of 2ⁿ equally likely possibilities. For a uniformly random password, entropy = length × log₂(pool size).

Character pool Size Bits per character
Digits 10 3.3
Lowercase 26 4.7
Lower + upper 52 5.7
Lower + upper + digits 62 5.95
All printable (with symbols) 89 6.5
EFF short wordlist (per word) 1,296 10.3
EFF long wordlist (per word) 7,776 12.9

Length vs strength

Password Pool Entropy
8 random lowercase letters 26 37.6 bits
8 random mixed characters 89 51.8 bits
12 random mixed characters 89 77.7 bits
16 random mixed characters 89 103.6 bits
20 random mixed characters 89 129.5 bits
4 EFF short words 1,296 41.4 bits
5 EFF short words 1,296 51.7 bits
6 EFF short words 1,296 62.0 bits
7 EFF short words 1,296 72.4 bits

Guidance: aim for 80 bits or more for anything important; 60 bits is acceptable where the service rate-limits login attempts and the password is unique. The crack-time estimate on this page assumes an offline attack at 10 billion guesses per second, roughly a single high-end GPU against a fast hash. Slow hashes (bcrypt, Argon2) reduce that rate by many thousands of times.

What does not add strength

  • Substituting @ for a or 3 for e: attackers try these first.
  • Appending 1 or !: the most common suffixes in leaked password sets.
  • Using a phrase from a song, book or film.
  • Reusing a strong password on more than one site.

Passphrases

Random words drawn from a fixed list are as strong as their entropy says, regardless of how “guessable” the words feel. The list used here is the EFF Short Wordlist (1,296 words, 3–5 letters each, no prefixes of other words), published under CC BY 3.0. Five words give about 52 bits; add a sixth or a digit for more.

Where randomness comes from

This page uses crypto.getRandomValues, the browser’s cryptographically secure random number generator, with rejection sampling so every character is equally likely. Math.random() is never used.

Worked examples

20 characters, all sets → something like k7$Qw!pL2xZ@9mN#vR4e

Pool of 89 characters, 20 long: 20 × log₂(89) ≈ 129.5 bits. At 10 billion guesses per second the average crack time is on the order of 10²⁰ years.

12 characters, letters and digits only, avoiding look-alikes → Tx7bWq3RfHn2

Pool of 62 minus 6 ambiguous characters = 56; 12 × log₂(56) ≈ 69.7 bits. Fine for an account behind a password manager; a little short for a master password.

5-word passphrase → acorn-tulip-hazy-mocha-wick

5 × log₂(1,296) ≈ 51.7 bits. Easy to type on a phone; use 6 or 7 words for a master password.

6 words, capitalised, with a digit → Ivory-Quilt-Dune7-Salsa-Ruby-Lunch

6 × 10.34 + log₂(60) ≈ 68 bits. Capitalisation is predictable and adds nothing; the digit’s position and value add about 6 bits.

Frequently asked questions

Is it safe to generate a password on a website?

It is safe when generation happens in your browser and nothing is sent to a server, which is the case here. You can verify by loading the page, disconnecting from the internet and generating again.

How long should a password be?

At least 16 random characters for accounts protected by a password manager, or a passphrase of five or more random words. Longer beats more complex.

What is entropy?

A measure in bits of how many guesses an attacker would need on average. Each extra bit doubles the work. 80 bits or more is beyond practical brute force for online and most offline attacks.

Should I exclude ambiguous characters?

If you will ever type the password by hand, excluding look-alikes such as l, 1, I, O and 0 avoids mistakes at a small cost in entropy.

Why passphrases?

Five random words from a 7,776-word list give about 64 bits of entropy and are far easier to remember and type than 12 random symbols.

Password generator · last updated · changelog · part of Canned Tuna