Text & Developer tool

Password Generator: Create Strong Passwords Online

Create a strong random password from 4 to 64 characters and see its strength.

  • Instant results
  • Working shown
  • No sign-up
  • Runs in your browser
ToolUpdates as you type

Very strong: about 103 bits. Made in your browser and never sent anywhere.

How it works

This password generator builds a random password from 4 to 64 characters long using your browser's secure random source. Choose a length and character types, and it shows the strength in bits. Use 15 or more characters when a site allows it.

This password generator makes random passwords that are hard to guess. Move the slider from 4 to 64 characters or choose a preset: 8, 12, 15, 16 or 20.

How to use the password generator

  1. Choose the length.
  2. Choose character types, such as capital letters, small letters, digits and symbols.
  3. Generate the password and check the strength bits.
  4. Copy it into your password manager and the sign-up form.

If the site rejects a symbol, switch symbols off and add two or three characters instead.

Which length should you choose?

A random character from about 94 keyboard characters adds roughly 6.55 bits.

Length Approximate bits When to use it
8 52 Only if the site allows no more
12 79 A fair choice with two-step sign-in
15 98 A strong choice for most accounts
16 105 Strong, and accepted by many sites
20 131 Email, banking and password manager accounts
Bits = length × log2(number of possible characters)
16 × log2(94) = about 105 bits

Your figure changes with the character types you select and the tool's symbol list.

Password generator for 8 characters and 12 characters

Eight characters was a common minimum for years. Computers can test many guesses quickly if a site's password data is stolen, so a longer password is safer.

Use the password generator for 12 characters when an old system has a short limit. If a site stops at 8 characters, never reuse that password anywhere.

Password generator for 15, 16 and 20 characters

NIST, the US standards body, updated its password guidance in 2025 (SP 800-63B-4). It asks sites to require at least 15 characters when the password is the only sign-in step. At least 8 is allowed when a second step is used.

  • 15 characters: meets that guidance.
  • 16 characters: one more character for extra strength, and an easy number to remember as a setting.
  • 20 characters: a good choice when you paste from a manager and never type it.

Pro tip: Length helps more than odd symbols. A random 20-character password from small letters alone has about 94 bits, while a random 8-character one with every type has about 52.

What makes a password weak

Bits describe a random password only. These look complex but are easy to guess:

  • Hyderabad@123
  • Your name with your birth year
  • A keyboard line such as qwerty12345
  • A dictionary word with a changed into @

Common mistake: A common mistake beginners make is using one strong password on many sites. If one site leaks it, attackers try it on the others. Use a new password for every account.

Keep it safe after you create it

  1. Save it in a password manager.
  2. Turn on two-step sign-in, or use a passkey if the site offers it.
  3. Never send a password by chat or email.
  4. Change it when a site reports a leak, or if you think someone knows it.

You do not need to change a strong password every month for no reason. NIST advises sites against forced regular changes without signs of a leak.

For developers

Do not store passwords as plain text. Store a salted hash made by a slow method built for passwords, such as Argon2 or bcrypt. Also do not use Math.random() to create secrets. Browsers provide crypto.getRandomValues() for that.

To see how sign-in and permissions differ, read authentication vs authorization. If you are building a login page, the Node.js tutorial and the Django tutorial are good next steps.

Other small tools can help with testing: check a field's length limit with the character counter, or read API replies with the JSON formatter.

Frequently asked questions

How long should my password be?
Use 15 or more characters where you can. NIST guidance published in 2025 asks for at least 15 when a password is the only sign-in step, and at least 8 when it is used with another factor.
Is an 8 character password safe?
It is weaker. Use it only where a site does not allow more, and turn on two-step sign-in.
What are strength bits?
They measure how many guesses are possible. Each extra bit doubles the number of possible passwords.
Is the random choice really secure?
The tool uses the browser's cryptographic random source, which is made for this job, instead of ordinary random numbers.
How do I remember these passwords?
You should not need to. Save them in a trusted password manager and remember one long main passphrase.

Try another tool

See all free tools
Chat with us