Everyday Tools

Password Generator

Password generator for strong random passwords and easy-to-type passphrases, made on your device with the length and characters you choose.

Password Options
Some sites accept only certain symbols. Edit this list to match.

Generated on your device with the browser's secure random generator. Nothing is sent to our server or stored.

This random password generator makes a new password as soon as the page opens, and another each time you change a setting or press Generate new. Choose a random password of 6 to 64 characters from the character types you tick, or a passphrase of 3 to 10 words. You can make up to 20 at once and copy them one by one or all together.

How to use the password generator

  1. Pick Random password or Passphrase at the top.
  2. For a random password, set Length with the slider (16 to start) and tick Uppercase, Lowercase, Numbers and Symbols as the site allows. Edit Symbols to use if a site only accepts some symbols; the default set is !@#$%^&*-_=+?.
  3. Tick Leave out look-alikes if you will read the password aloud or type it from paper.
  4. Choose How many: 1, 3, 5, 10 or 20.
  5. Press Copy next to a password, or Copy all to get the whole list, one per line.

How the passwords are made

Every character the password generator makes comes from your browser's cryptographic random number generator, the same source it uses for encryption keys, through the Web Crypto API. Random values that would make some characters slightly more likely than others are thrown away and drawn again, so each character in the pool has the same chance. When you tick several character types, the password always contains at least one of each, which keeps sign-up forms that demand a digit or a symbol happy. All of this runs in the page, and no password is sent to our server or stored.

Password generator 16 characters, 12 or 8: which length?

The meter shows strength in bits of entropy. Each extra bit doubles the number of guesses an attacker needs. For a random password, the bits are the length times log2 of the number of possible characters. With all four types ticked and the default symbols, the pool is 75 characters. The table shows what the meter reports for common lengths.

LengthBitsMeterTime shown to guess
8 characters49Fair14 hours
12 characters74Strong50,188 years
16 characters99Very strongmore than a trillion years
20 characters124Very strongmore than a trillion years

Eight letters and digits with the look-alikes left out gives about 46 bits, which a fast offline attack at 10 billion guesses a second gets through in about an hour. The meter rates anything under 40 bits as weak, 40 to 59 as fair, 60 to 79 as strong and 80 or more as very strong. For an account that matters, a strong password generator setting is 16 or more random characters, or a passphrase of five words or more.

The time estimate assumes an attacker who has stolen a database of fast password hashes. Guessing through a website's login page is much slower, because sites limit repeated attempts. You can see what a stored hash looks like with the Hash Generator.

Passphrase generator

The password generator's Passphrase mode picks words from the Electronic Frontier Foundation's long word list of 7,776 words, published under CC BY 3.0 US at eff.org/dice. Each word adds about 12.9 bits, so four words give about 51 bits, five give about 64 and six give about 77. A phrase such as womanhood-skylight-product-basics-tiara is easier to remember and to type on a phone than 16 random symbols.

Choose a Separator: hyphen, space, dot, the _ character or none. Capitalise each word adds no strength, because the pattern is predictable. Add a number puts one digit after a random word and adds a few bits, about 5.6 for a five-word phrase.

Keeping passwords safe

  • Use a different password for every account, so a leak from one site doesn't open the others.
  • A password manager can store them all, which leaves one passphrase for you to remember.
  • Turn on two-factor authentication wherever a site offers it.
  • A copied password stays on your clipboard until you copy something else.

For a home Wi-Fi network, generate a long password here and let guests join by scanning a code from the QR Code Generator. The guide to making a free QR code shows the Wi-Fi format. For random IDs for database rows, which don't need to be secret, use the UUID Generator. More small utilities are in Everyday Tools.

Frequently Asked Questions

Is it safe to generate a password online?
It depends on where the password is made. This page makes passwords in your browser and never sends them anywhere, so we never see them. You can check: after the page has loaded, random-password mode keeps working with your internet connection switched off.
How long should a password be?
Use 16 or more random characters mixing letters, digits and symbols, or a passphrase of five or six words. If a site caps the length or rejects symbols, make the password as long as that site allows.
Is a 12-character password strong enough?
A random 12-character password from all four character types has about 74 bits, which the meter rates as strong. That is fine for most accounts. For email, banking and your password manager, 16 characters or a six-word passphrase gives a much larger margin.
What does Leave out look-alikes do?
It removes characters that are easy to confuse when a password is read aloud or typed from paper: capital I, lower-case l, the digit 1, capital O, lower-case o, zero, and the symbols | ` ' and ". The pool gets a little smaller, and the strength meter allows for that.
Should I use a passphrase or a random password?
Both are strong at the right length. A random password packs more strength into fewer characters, which suits a password manager that fills it in for you. A passphrase is longer but easier to remember and to type on a phone, which suits the few passwords you type yourself.
What does bits of entropy mean?
It measures how many guesses a password could take: n bits means 2 to the power n possibilities. 40 bits is about a trillion, and every extra 10 bits multiplies that by roughly a thousand. The figure only holds for passwords chosen at random, as these are.