Strong Password Generator

Create a random password of 8 to 128 characters using your browser's built-in cryptographic random number generator. Choose the character types, copy the result and store it in a password manager.

Create a strong random password

How to generate a strong password

  1. Set the length. For important accounts, 16 characters or more is a good choice; the default is 20.
  2. Tick the character types you want: uppercase, lowercase, numbers and symbols.
  3. Press Generate password, then Copy password.
  4. Save it in a password manager and use a different password for every account.

How long should a password be?

Length matters more than clever substitutions. Every extra character multiplies the number of possibilities. With all four character types ticked, this generator draws from 84 characters, so a 20-character password has well over 100 bits of randomness, far beyond what guessing attacks can cover. Short passwords made only of lowercase letters are much weaker.

How this password generator works

Characters are picked using crypto.getRandomValues, the browser's cryptographically secure random source, rather than Math.random. The generator includes at least one character from every set you tick, fills the rest from the combined pool, then shuffles the result. Nothing is saved, logged or sent anywhere by the page's script.

When a website rejects your password

Some sites restrict which symbols are allowed. If a generated password is refused, untick Symbols and add length instead, or generate a new one. The symbols this tool uses are ! @ # $ % ^ & * ( ) - _ = + [ ] { } : , . ?

Use a password manager

Random passwords are impossible to remember, and that is the point. Store them in a reputable password manager, turn on two-factor authentication where available, and never reuse a password across sites.

Frequently asked questions

Is it safe to use an online password generator?

This one runs in your browser and does not send your password anywhere. As a general habit, you can also use the generator built into your password manager, and never paste a password you generated into a chat or email.

What is the best password length?

Aim for at least 16 characters for important accounts. Longer is better, and there is no downside when a password manager remembers it.

Should I include symbols?

They add variety, but length contributes more. Use symbols when the site allows them, and add length when it does not.

Does Fileswin see or store my passwords?

No. The password is created and shown in your browser only. Reloading the page generates a new one.

How do I remember a random password?

You do not. Let a password manager store it. For the few you must type from memory, such as your manager's master password, consider a long passphrase of several random words.

More free tools