Skip to content
All tools
English

Strong password generator

Random passwords made on your device with crypto.getRandomValues. We never see them, and they are not saved anywhere.

Your data never leaves your device
20
Options

How to use it

  1. Set the length

    16 characters or more for accounts; 24+ for things that guard other things, like a password manager.

  2. Choose characters

    Turn off symbols if a site refuses them, or exclude look-alikes if you will type it by hand.

  3. Copy it into your password manager

    Then close this tab. Generate a new one with each click.

What makes a password strong

Strength comes from randomness and length, not from clever substitutions like P@ssw0rd, which cracking tools try first. A randomly generated password's strength is measured in bits of entropy: length × log2(number of possible characters). Each extra bit doubles the guesses an attacker needs. With all four character sets (about 90 characters), every character adds about 6.5 bits, so 16 characters give about 104 bits.

How this generator works

  • Randomness comes from crypto.getRandomValues, the cryptographically secure generator built into your browser, not Math.random.
  • Characters are picked by rejection sampling, so every character is equally likely (no "modulo bias").
  • When you choose several character types, at least one of each is included, then the order is shuffled.
  • The page has no server code and cannot make network requests. The password exists only in this tab until you close it.

Use a password manager

A strong password only helps if it is unique to one site. Nobody can remember dozens of random strings, so store them in a password manager (Bitwarden, 1Password, KeePassXC, or the one built into your browser or phone) and turn on two-factor authentication for important accounts. For the manager's own master password, a long passphrase you can remember is a good choice.

Need random ids rather than secrets? Use the UUID generator.

Frequently asked questions

Is it safe to generate a password on a website?
Only if the site cannot see it. This page is static, runs the generator in your browser and is blocked from making network requests by its security policy. You can also load the page, disconnect, and generate offline.
How long should my password be?
At least 16 random characters for online accounts, which is over 100 bits with all character types. Longer never hurts if the site allows it.
Why exclude similar characters?
l, 1, I, O and 0 look alike in many fonts. Excluding them costs a little strength per character, which you can make up with one or two extra characters, and avoids typing mistakes.