Developer Tools

Password Generator: Strong Random Passwords

Create long random passwords that are hard to guess. Choose length and character types and generate several at once. Passwords are built in your browser with cryptographic randomness and are never sent or stored.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use the Password Generator

Enter the length and how many and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

How strong is a generated password?

Strength is measured in bits of entropy: the length multiplied by log₂ of the number of possible characters. A 16-character password drawn from all 94 printable keyboard characters has about 105 bits, and a 20-character password of letters and digits has about 119 bits. Every extra character multiplies the number of possible passwords, which is why length matters more than adding one more symbol.

Passwords and passphrases

For accounts you unlock in a password manager, a long random password is best because you never need to type it. For the few passwords you must remember, such as the manager itself, a passphrase of five or six random words is easier to type and still very strong. NIST’s digital identity guidelines favour long passwords and passphrases over forced complexity rules and routine expiry.

How it works

Characters are chosen with the browser's cryptographically secure random generator.

Examples

  • A 16-character password with symbols (sample result)
    ljTVKIQz?2j:Fh)E
  • Letters and digits only, 20 characters (sample result)
    6kHk3m5mwvCMdN7ti6lo
    Strength: about 119 bits of entropy (62 possible characters)

Limitations and assumptions

Generated locally and never sent anywhere. Use a password manager to store passwords.

Frequently asked questions

How long should a password be?

At least 14 to 16 characters for important accounts. Length matters more than complexity.

Is it safe to generate a password online?

Here the password is made in your browser and never leaves your device.

Should I reuse passwords?

No. Use a different one for each site and keep them in a password manager.

Why exclude ambiguous characters?

It avoids confusion between look-alikes such as O and 0 or l and 1 when you must type the password by hand.

How often should I change my passwords?

Only when there is a reason, such as a breach or suspected misuse. A strong, unique password does not need routine changes, and forced changes tend to produce weaker passwords.

Should I also use two-factor authentication?

Yes. Turn on two-factor authentication wherever it is offered, preferably with an authenticator app or a security key, so a stolen password alone is not enough to get in.