Loading…

Strong Password Generator

Create a strong, random password in one click. Choose the length and characters, switch to a passphrase or PIN, and see how long your password would take to crack. Everything is generated on your own device, so nothing is ever sent to us or stored.

  • Free
  • No sign-up
  • Runs in your browser
  • Private: nothing is stored

Last updated

How to use the Password Generator

  1. Pick Password, Passphrase or PIN.
  2. Set the length. For a password, 16 characters or more is a good choice.
  3. Choose which characters to include, or tap a quick preset.
  4. Press Copy, then save the password in a password manager.

Why use this tool

  • Built with your browser’s secure random number generator, not Math.random.
  • Shows the strength in bits and the estimated time to crack.
  • Generate up to 20 passwords at once.
  • Private by design: no sign-up, no storage, no tracking of what you generate.

What makes a password strong?

A strong password is one that an attacker cannot guess, and that no one else uses. Three things decide that: it is long, it is random, and it is unique to one account.

Length matters most. Every extra character multiplies the number of possible passwords, so a 16-character password is not twice as strong as an 8-character one; it is astronomically stronger. Randomness matters because people are predictable. Names, dates, keyboard patterns like “qwerty” and tricks like “P@ssw0rd” are the first things attackers try. A generator has no habits to exploit.

Uniqueness matters because of data breaches. If you reuse one password and any one site leaks it, attackers will try it on your email, bank and social accounts. One password per account keeps a single leak from becoming many.

How long should a password be?

The table below shows how the number of possible passwords grows with length and with the characters you allow. “Bits” measures the size of that search space, and each extra bit doubles it. Crack times assume a very fast offline attack of 100 billion guesses per second against a weak, unsalted hash. Well-built websites use slow hashing and rate limits, so real-world attacks are much slower, but the comparison shows why length wins.

Password typeLengthStrengthTime to crack
Lowercase letters only838 bitsabout 1 second
Lowercase letters only1256 bitsabout 6 days
Letters and numbers848 bitsabout 18 minutes
Letters and numbers1272 bitsabout 500 years
Letters, numbers, symbols852 bitsabout 8 hours
Letters, numbers, symbols1279 bitsabout 75,000 years
Letters, numbers, symbols16105 bitslonger than the age of the universe
Letters, numbers, symbols20131 bitslonger than the age of the universe

For important accounts such as email, banking and your password manager, use at least 16 random characters. For everything else, 12 is a sensible minimum.

Password, passphrase or PIN: which should you use?

  • Random password – the best choice for accounts where a password manager fills it in for you. Long and random, with nothing to remember.
  • Passphrase – several random words joined together, such as “Brim-Coal-Dune”. Easier to type and remember, which makes it a good fit for the master password of a password manager or a device you unlock often. Use nine or more words from this generator for a strong result.
  • PIN – only suitable where the system limits wrong guesses, such as a phone or a bank card. A PIN is short, so never use one to protect an online account.

How this password generator works

Every password is built in your browser using the Web Crypto API (crypto.getRandomValues), the same source of secure randomness that browsers use for encryption. We avoid the common mistake of using a basic random function, which is not designed to be unpredictable. Characters are chosen with rejection sampling, so every character is equally likely and the results are not biased.

When you select several character types, the generator makes sure the password contains at least one of each. It does this by discarding any password that does not, rather than forcing characters into fixed positions, so the result stays random.

Nothing you generate leaves your device. We do not receive, log or store passwords, and the page works the same with your connection switched off once it has loaded.

Password mistakes to avoid

  • Reusing the same password on more than one site.
  • Using personal details such as names, birthdays, phone numbers or pet names.
  • Making small changes to an old password, such as adding a number at the end.
  • Using common words, keyboard patterns or well-known substitutions like “@” for “a”.
  • Saving passwords in a notes app, a spreadsheet or a browser without a master password.
  • Sending a password in an email or chat message.

How to keep your passwords safe

You cannot remember dozens of long random passwords, and you should not try. Use a reputable password manager to store them, and protect it with one strong passphrase. Turn on two-factor authentication or passkeys wherever they are offered, so a stolen password alone is not enough to get in. If a service tells you it has been breached, change that password straight away and anywhere else you may have used it.

Password Generator FAQ

Yes. Passwords are generated in your own browser with the Web Crypto API. They are never sent over the internet, so we cannot see or store them. You can check this by loading the page and then switching off your connection: it still works.
Use at least 16 characters for important accounts such as email, banking and your password manager, and at least 12 for everything else. Length matters more than adding complicated symbols.
A long random passphrase can be just as strong and is much easier to remember and type. With this generator, nine or more words give a strong result. For accounts where a password manager fills in the password for you, a long random password is the simplest choice.
Characters such as 0 and O, or 1, l and I, look alike in many fonts. Excluding them is helpful when you have to read a password aloud or type it from a printed page. It slightly reduces the number of possible passwords, so add a few characters of length to make up for it.
No. Nothing you generate is saved, logged or transmitted. When you close or refresh the page, the passwords are gone, so copy the one you want into your password manager first.
We calculate the number of possible passwords from the length and character set, then divide by an attacker making 100 billion guesses per second. It is an estimate for a fast offline attack on a weak hash. Real attacks on well-protected sites are usually far slower.
Yes. Choose the length and characters the service allows, generate the password, and store it in a password manager. For a Wi-Fi password you type often, try the “Easy to read” preset or a passphrase.
Turn off the symbols or reduce the length the site does not accept, then make the password as long as the site allows. If a site only allows a very short password, consider enabling two-factor authentication.