Skip to contentSkip to the inputSkip to the result

Password generator

Create a random password, PIN or word passphrase locally, up to 20 at once.

Loading tool

Instructions

Password generator

How to use

  1. Choose the length and the kinds of characters, or words with a separator, capitals and a digit, then generate and copy each line.

Supported input

  • 4–128 digits for a PIN, 12–128 characters otherwise; passphrases have 3–12 words from the EFF short English word list (CC BY), about 10.3 bits each.
  • Uses Web Crypto; passwords are kept out of history and sent to no server.

Input example

Length 20

Result example

20 random characters

Troubleshooting

  • Check required inputs, numeric ranges and the selected conversion direction.

How it works

  • Create a random password, PIN or word passphrase locally, up to 20 at once.

Strong passwords that still pass a site’s rules: length, symbols and what a PIN is really worth

Typical uses

  • Opening a new account with a fresh random password instead of a variation on one you already use
  • Secrets nobody needs to remember, only paste: a Wi-Fi key, a database user, a deployment service account
  • Fitting a fixed rule, such as an old site that accepts only a few symbols or a device lock that takes digits only

What NIST settled on in 2025

Revision 4 of NIST SP 800-63B, published in 2025, tells services that accept passwords what they must and must not do. It is aimed at the verifier rather than the user, but it is the reference most security teams quote when deciding what a good password looks like.

  • A password used as the only factor must be at least 15 characters. Only when it is one part of multi-factor sign-in may the minimum drop to 8.
  • Services should accept passwords of at least 64 characters.
  • They must not impose composition rules such as “one capital, one digit, one symbol”; instead they compare new passwords against a blocklist of common and breached ones.
  • They must not force periodic changes, only a change when there is evidence of compromise, and they must allow password managers and autofill.

How one line is built

  1. 1One character is drawn from each kind you ticked, so sites that still demand a mix will not reject the result.
  2. 2The remaining positions are filled from the combined pool of every ticked kind.
  3. 3A Fisher–Yates shuffle then mixes the order, so the guaranteed characters do not always sit at the front.
  4. 4Every draw takes a 32-bit value from Web Crypto and throws away the top slice that does not divide evenly by the pool size, drawing again instead. That rejection step keeps every character equally likely; a plain remainder would favour some slightly.

What a site’s rules cost you, in bits

Strength is counted as length × log2(pool size). The figures below come from the tool’s own calculation.

  • A site that allows only ! @ and #: narrow the symbols field to those three, the pool becomes 60 characters, and 16 characters give about 94.5 bits. One run produced E8j@v2Qj8vTR!2Go (published here, so do not use it).
  • A site that refuses symbols altogether: letters and digits make a 57-character pool, and 20 characters reach about 116.7 bits. Losing symbols is easily made up with length.
  • Putting the look-alike characters back raises that pool to 62 and 20 characters to about 119.1 bits, a gain of only 2.4 bits. If the password will ever be read aloud or copied by hand, leave them out.
  • The 12-character minimum is about 73.0 bits; the 15 characters NIST requires for single-factor passwords are about 91.3.

A numeric PIN is a different animal

With digits only, all ten digits are used and the length can go down to 4. A 6-digit PIN has a million possibilities, about 19.9 bits. That is acceptable only because a phone or security key checks it locally and locks after a few wrong tries. NIST says such activation secrets need at least 4 characters, should have 6, may be all digits, and should be checked against common choices such as 123456. The same million possibilities would be far too few for an account password that can be attacked online.

Habits that undo a good password

  • Changing the last character or two and reusing it across sites. After a breach, attackers try close variations first, so make a new one per site.
  • Adding a name or birthday to make it memorable. The added part is not random and contributes almost nothing.
  • Emailing or messaging it to yourself. Generation finishes inside this tab, but a sent message lives on in that service’s mailbox.
  • Switching to something short and typeable because a login form blocks pasting. NIST recommends that services permit paste; where one does not, a password manager’s autofill usually still works.

Checked

Frequently asked questions

How long should a password be?

For random passwords, length matters most. With the default 68-character set, 16 characters give about 97 bits and 20 about 122 bits. The result shows an estimated guessing time assuming ten billion guesses a second.

Why are I, O, l, 0 and 1 never used?

They are easy to confuse, so upper-case I and O, lower-case l and the digits 0 and 1 are left out of the default set. Symbols are the 11 characters !@#$%&*+-=?. Digits only uses all of 0–9.

Can it make a passphrase of words?

Choose Words (passphrase) to join random words from the EFF short English word list of 1,295 with hyphens, spaces, dots or underscores. Each word adds about 10.3 bits, so 6 words give about 62 bits and 8 words about 83; one added digit brings 6 words to about 68 bits. Capitalising every word follows a fixed rule, so it adds no strength. There is no Korean word list.

Can I make several at once?

Set How many at once to 1–20 and each line holds one password made with the same settings; the button beside a line copies just that one. Copy all and TXT save include every line, and all of them stay hidden until you choose to show them.

Is the generated password stored anywhere?

It is made in the browser with Web Crypto randomness, not sent to a server and not kept in the previous-results list. Only settings such as length go into the page address. Saving it as TXT creates a plain-text file, so store it with care.