Password Generator made on your device

A strong password is long and random. This generator’s default, 18 characters from upper and lower case letters, numbers and symbols, has about 114 bits of entropy. Even at 100 billion guesses a second, cracking it would take over a trillion years, far longer than the age of the universe. Store it in a password manager.

Your result

18-character password from 81 symbols

Press Generate

Strength
Excellent – 114.1 bits of entropy
Online attack (1,000 guesses/s)
over a trillion years, far longer than the age of the universe
Offline fast-hash attack (100 billion guesses/s)
over a trillion years, far longer than the age of the universe

Passwords are generated only in your browser, using its secure random generator. They are never sent to our server.

Understand it

What the Password Generator Does

A password generator creates passwords that a person or a computer cannot guess. Strength comes from two things: length, and how many different characters each position can hold. Together they set the entropy, the number of bits an attacker must guess.

This generator runs entirely in your browser with the Web Crypto API. It uses rejection sampling so every character is equally likely, and makes sure every character type you pick appears at least once. For passwords you have to type or remember, switch to a passphrase of random words, which is easier to remember at the same strength. Each result shows its entropy and how long an online or offline attack would take.

How the Password Formula Works

Entropy (bits) = length × log₂(alphabet size) Passphrase: words × log₂(word-list size) Time to crack (average) = 2^(bits − 1) ÷ guesses per second
alphabet
26 lowercase + 26 uppercase + 10 digits + 25 symbols, minus look-alikes if excluded
word list
341 short common words, so each word adds 8.41 bits

Entropy assumes the password was generated randomly, as here. A password you invent yourself has far less entropy than its length suggests, because people choose predictable patterns.

Worked Examples

Wi-Fi password, letters and numbers only

Type: Random characters · Length: 20 characters · Lowercase a–z: Include · Uppercase A–Z: Include · Numbers 0–9: Include · Symbols !@#$…: Leave out · Look-alike characters (I l 1 O 0): Leave out · How many to generate: 1

20-character password from 56 symbolsPress Generate

Excellent – 116.1 bits of entropy.

8-word passphrase

Type: Passphrase (random words) · Number of words: 8 words · Separator: Hyphen (-) · Capitalise words: Yes · Add a 2-digit number: Yes · How many to generate: 1

8-word passphrasePress Generate

Strong – 74 bits of entropy; offline attack about 2.9 thousand years.

PIN-style 8 digits

Type: Random characters · Length: 8 characters · Lowercase a–z: Leave out · Uppercase A–Z: Leave out · Numbers 0–9: Include · Symbols !@#$…: Leave out · Look-alike characters (I l 1 O 0): Leave out · How many to generate: 1

8-character password from 8 symbolsPress Generate

Very weak – 24 bits of entropy. Fine behind a lockout, never as an account password.

Original analysis

Password Analysis in numbers

Every chart below is generated from the same tested formula that powers the calculator above, so you can see the patterns behind a single result.

  • Lowercase only (26)
  • Letters + digits (62)
  • All four sets (87)
Entropy by length and character set (bits)Lowercase only (26), Letters + digits (62), All four sets (87)0501001502008101214162024LengthAll four set…Letters + di…Lowercase on…
View data table
LengthLowercase only (26)Letters + digits (62)All four sets (87)
8384852
10476064
12567177
14668390
167595103
2094119129
24113143155

Length beats complexity

Adding symbols to an 8-character password raises its entropy from 48 to 52 bits. Adding four more letters and numbers instead (12 characters, no symbols) reaches 71 bits. Each extra character multiplies the work for an attacker, so length is the cheapest way to gain strength.

View data table
PasswordEntropyAverage time to crack
8 lowercase letters38 bitsabout 1 seconds
8 mixed characters52 bitsabout 4.6 hours
12 mixed characters77 bitsabout 30 thousand years
16 mixed characters103 bitsover a trillion years, far longer than the age of the universe
4 random words34 bitsinstantly
8 random words67 bitsabout 29 years

How long would an offline attack take?

These times assume an attacker stole a database of fast, unsalted hashes and can test 100 billion guesses a second on GPUs. Sites that use slow hashes such as bcrypt or Argon2 make every guess thousands of times more expensive.

Common Password Questions

Is this a passphrase generator?

Yes. Choose “Passphrase” to string random words together, such as Maple-Otter-Prism-Radio-Quilt-42. With 341 words, each adds 8.4 bits, so 7 words plus a number give about 66 bits. Use more words for accounts that matter most.

Is it safe to use an online password generator?

Only if the password is created on your own device. This page generates everything in your browser with crypto.getRandomValues. Nothing is sent to a server, and the settings in the page link never include the password.

How strong is my password?

For a randomly generated password, strength is its entropy in bits: 60+ is strong, 80+ very strong. Passwords people invent are weaker than their length suggests, because attackers try common words and patterns first.

Tips and Common Mistakes

  • Use a different password for every account. A password manager makes this painless.
  • Turn on two-factor authentication or a passkey wherever it is offered. It protects you even if a password leaks.
  • NIST guidance favours length over forced complexity rules, and no longer recommends regular forced changes without evidence of compromise.

Frequently asked questions

How long should a password be?

At least 15 characters for important accounts, or a passphrase of 7 or more random words from this generator’s list. NIST requires sites to accept passwords of at least 64 characters.

What is password entropy?

A measure of unpredictability in bits. Each bit doubles the number of guesses needed. A random 16-character password from 87 symbols has about 103 bits.

Are passphrases as secure as random passwords?

Yes, if the words are chosen randomly, not by you, and there are enough of them. Each word from this 341-word list adds 8.4 bits, so 9 words (76 bits) match a random 12-character password and are easier to type. Larger Diceware lists of 7,776 words add 12.9 bits per word.

Why leave out look-alike characters?

Characters such as I, l and 1, or O and 0, are easy to misread when you copy a password by hand. Leaving them out reduces entropy only slightly.

Sources and methodology

Last reviewed

byBhuvanesh S. Runs through our automated test suite on every build.

Results are estimates. Double-check anything important before relying on it.