SwiftTools

Password generator

Create a random password with the length and character types you choose.

Generator settings
18
Estimated strength—

Worked example: how strong is a 16-character password?

A 16-character password drawn from all 94 printable characters has about 105 bits of entropy. Each character multiplies the possibilities by 94, giving 94^16 ≈ 3.7 × 10^31 combinations; entropy is 16 × log₂(94) ≈ 104.9 bits.

At an offline guessing rate of ten billion attempts per second, trying every combination would take roughly 10^14 years — far longer than the age of the universe. That is why length is the single most effective upgrade: each added character multiplies the work by the size of the character set.

Common mistakes that weaken a generated password

  • Reusing the same password on several sites: strength does not matter if one site leaks it and attackers replay it elsewhere. Every account needs its own generated password.
  • Stopping at 8 characters: an 8-character password from the same 94 characters has about 52 bits of entropy — billions of times easier to brute-force than a 16-character one.
  • Saving passwords in an unencrypted note: a password manager stores them encrypted and fills them for you; a plain text file or a note on the device defeats the point of generating strong passwords.
  • Changing one character and calling it new: passwords such as Summer2024! and Summer2025! are predictable variants, not fresh random passwords.

Password generator FAQ

Is the generated password sent anywhere?

No. The password is generated inside your browser and is not uploaded or saved by this page.

What makes a password strong?

Length, randomness, and uniqueness matter most. Using more character types increases the possible combinations.

What does the strength meter mean?

It is a rough estimate based on length and the size of the selected character set. It cannot tell whether a password has been reused or exposed elsewhere.

How long should a password be?

At least 12 characters, and 16 or more is better. Length matters more than any other single factor: every extra character multiplies the number of combinations by the size of the character set, so a 16-character password is enormously harder to brute-force than an 8-character one with the same character types.

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

A passphrase is a password made of several random words, such as “correct-horse-battery-staple”. Four or five truly random words produce a long credential that is easier to remember and type than a short string of symbols, while its length gives it comparable or better entropy. Passphrases are a good choice for the few passwords you must memorise, such as your password manager's master password.

Do symbols make a password stronger than extra length?

Both help, but length wins. Adding symbols grows the character set (from 62 to about 94 characters), which raises entropy per character; adding characters multiplies the total combinations again and again. If a site allows it, prefer a longer password with symbols over a short one with symbols.