Skip to content

Password generator

Make strong random passwords of 12, 16, 20 or any number of characters, or passphrases of random words. Made on your device; nothing is sent or saved.

  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up
Make

Your passwords

  1. …
  2. …
  3. …
  4. …
  5. …

Very strong: 103.6 bits of entropy. Good for a password manager's main password or for encrypting files.

At 100 billion guesses a second, guessing one of these passwords would take far longer than the universe has existed on average.

Settings

Use

These settings can go in the page address so a bookmark keeps them. The passwords never do, and nothing is saved.

How it works

Choose random characters or words, and the page makes several passwords at once, each with a Copy button. For characters, pick a length, with one tap for 8, 12, 15, 16, 20 or 32 characters or any length from 4 to 128, and which kinds to use: capital letters, small letters, numbers and the symbols !#$%&()*+,-./:;<=>?@[]^_{|}~. That makes it a random password generator for a 16 character password, a 12 character one, or a long strong password for a password manager. Ticking “Avoid look-alike characters” leaves out I l 1 | O 0 o, which are easy to misread when you type a password by hand.

For a passphrase, choose 3 to 12 words, what goes between them, and whether to add capital letters and a number, which many sites ask for. The words come from the EFF large word list by the Electronic Frontier Foundation (CC BY 4.0): 7,776 common words picked to be easy to spell and tell apart.

Every choice uses your browser's secure random number generator, never the ordinary random function. Its numbers are turned into a choice by rejection sampling: a number that would make some characters slightly more likely than others is thrown away and drawn again, so every character, word and position is equally likely. When every kind of character must appear, a password missing one is thrown away and made again, rather than forcing one of each into place, which would make some positions easier to guess.

The strength shown is the number of bits of entropy, worked out from the settings: under 40 bits is weak, 40 to 60 fair, 60 to 80 strong and 80 or more very strong. The time shown assumes an attacker who has stolen a site's password list and tries 100 billion guesses a second, which only fast computers against weakly protected lists reach; most attacks are far slower.

Questions

Is it safe to use an online password generator?

Only if the password is made on your own device and never sent anywhere, which is how this one works. The page draws its randomness from your browser's secure random number generator (crypto.getRandomValues, the one browsers provide for encryption), makes the passwords in the page itself, and sends nothing to kitkeeps or anyone else. Nothing is saved, and the passwords never go into the page address. Once the page has loaded you can turn Wi-Fi off and it keeps working.

How long should a password be?

For most accounts, at least 12 random characters; 16 is a good default. A 12-character password using capital letters, small letters, numbers and symbols has about 77 bits of entropy, a 16-character one about 104 and a 20-character one about 130. If a site limits which characters you can use, make the password longer instead: 16 letters and numbers alone still give about 95 bits.

What is a passphrase, and is it as strong as a password?

A passphrase is a few words picked at random from a long list, like a password made of words. This page picks from the EFF's list of 7,776 words, so each word adds about 12.9 bits: 5 words give about 65 bits and 6 words about 78, as strong as 12 random characters and much easier to type and remember. The words must be chosen at random; a phrase you think up yourself is far easier to guess.

What do bits of entropy mean?

They count how many different passwords the settings could have produced: 40 bits means 2 to the power of 40, about a trillion, all equally likely. Each extra bit doubles the guesses an attacker needs. The page works this out exactly from your settings, assuming the attacker knows how the password was made, which is the safe assumption. It doesn't apply to a password you change by hand afterwards.

Limits

Passwords are made from 4 to 128 characters and passphrases from 3 to 12 words, up to 20 at a time. Some sites refuse certain symbols; if a site does, untick symbols and add a few characters instead. The quotes, backtick, backslash and space are never used, because they cause the most trouble.

The page doesn't keep passwords for you. Save the one you use in a password manager or your browser. A copied password stays on your clipboard until you copy something else, and a clipboard history tool may keep it longer.

The strength is about how the password was made. A password you edit or type in from memory may be weaker than the number shown, and no password protects an account on a site that stores it badly, so use a different one for each site.

Privacy

This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.

Related tools