Generator · Free · Nothing sent anywhere

Password Generator

Short answer

A strong password is long and random. This generator draws every character or word with your browser's cryptographic random generator, never sends or stores the result, and shows its entropy honestly: the default 20 characters from 75, with at least one from each set, give about 124.5 bits. NIST SP 800-63B-4 asks for at least 15 characters when a password is used on its own.

Random characters or a passphrase.

Made in your browser when the page loadsAbout 124.5 bits of entropy: 20 characters, each one of 75, at least one from each set.Meets NIST SP 800-63B-4's minimum of 15 characters for a password used on its own.
How strong these settings are
DetailValue
Entropy124.5 bits
Possible passwordsabout 2.9 × 10³⁷
Characters to choose from75: 26 lowercase, 26 uppercase, 10 digits, 13 symbols
Each character6.2 bits, all equally likely
Average time to guess at a trillion a secondabout 4.6 × 10¹⁷ years, longer than the age of the universe
Length against NIST SP 800-63B-415 or more: fine on its own

Made in this browser with its cryptographic random generator. The password is never sent or stored; only your settings are kept in this browser. Use it in one place only, and keep it in a password manager.

Choose random characters or a passphrase of random words, set the length, and copy the result. The board shows the password's entropy in bits and whether its length meets NIST's minimum, and nothing leaves this page.

A password generator makes a password by random choice rather than human choice, which is what makes it hard to guess: every possible password is as likely as every other.

  • No sign-up
  • Nothing sent
  • Never stored
  • Works offline
  • Honest entropy

Key facts

Password generator at a glance
DetailAnswer
Random sourcecrypto.getRandomValues, the browser's cryptographic generator
BiasNone: values that would skew the choice are redrawn
Default20 characters from 75, one of each set: about 124.5 bits
PassphrasesEFF large list, 7,776 words, 12.9 bits a word
NIST minimum15 characters on its own; 8 with a second factor
Where the password goesNowhere: it is never sent or saved

How to make a strong password

Use the generator, then store the result safely.

  1. Choose the kind

    Random characters, or a passphrase you can type and remember.

  2. Set the length

    15 characters or more, or six words or more.

  3. Pick the characters

    Leave symbols on unless the site rejects them; length matters more.

  4. Generate and check the board

    It shows the entropy and whether NIST's minimum is met.

  5. Copy it into a password manager

    And into the site you are signing up to.

  6. Use it once

    A new password for every site.

Who uses a password generator

Anyone who needs a password nobody, including themselves, could guess.

  • Anyone signing up to a site

    A new password that is not reused anywhere.

  • IT and help-desk staff

    Temporary passwords for new accounts.

  • Developers

    Test credentials and secrets for local set-ups.

  • Families

    A memorable passphrase for the home Wi-Fi.

  • Password manager users

    A long master passphrase to remember.

  • Small businesses

    Strong shared-account passwords without a paid tool.

What the entropy figure means, and what it does not

Entropy is the number of yes-or-no guesses an attacker would need to cover every password these settings could make: log2 of the number of possible passwords. Each extra bit doubles the work. For a password drawn at random it is exact, because every outcome is equally likely: 20 characters from 75 give 7520 passwords, about 124.6 bits. Asking for at least one of each set removes the passwords that miss one, and the converter counts exactly how many are left (about 124.5 bits) rather than pretending nothing changed.

Entropy of random passwords and passphrases
SettingsPossible outcomesEntropy
8 characters from 9494852.4 bits
12 characters from 94941278.7 bits
16 characters from 949416104.9 bits
20 characters from 757520124.6 bits
4 EFF words7,776451.7 bits
6 EFF words7,776677.5 bits
8 EFF words7,7768103.4 bits

What the figure does not measure is a password you made up. P@ssw0rd! has nine characters from all four sets, which a naive formula scores at 59 bits, but it is near the top of every cracking list because people choose it. That is why this page does not offer to rate your own password: a strength meter can only guess at how predictable a human choice is. The NIST guidance says the same, that entropy is easy to compute for random data and hard to estimate for chosen passwords.

What NIST SP 800-63B-4 says about passwords

The US National Institute of Standards and Technology rewrote its password rules in SP 800-63B-4, and they are the clearest public statement of what makes a password policy work. Several of them reverse habits people still follow.

What NIST SP 800-63B-4 says about passwords
RuleWhat it says
Minimum length on its own15 characters for a password used as the only factor
Minimum with another factor8 characters when the password is one part of multi-factor sign-in
Maximum lengthServices should allow at least 64 characters
Character mixServices shall not impose composition rules such as requiring a mix of types
Changing passwordsServices shall not require periodic changes
BlocklistNew passwords are checked against common, expected or compromised ones
Characters acceptedAll printing ASCII characters and the space should be allowed

Read the rules in section 3.1.1.2 of SP 800-63B-4. The message is length over complexity: a long random password or a passphrase beats a short one with forced symbols. This generator follows that: its default is 20 characters, the board tells you when a length is below 15, and the at-least-one-of-each-set option is there for sites that still demand it, not because it makes the password stronger (it makes it very slightly weaker).

How the randomness is made: no modulo bias

Every character and word here comes from crypto.getRandomValues, the cryptographically secure random generator built into every modern browser, not from Math.random, which is fast but not designed to be unpredictable. Getting secure random bytes is only half the job; turning them into a character fairly is the other half, and it is where many generators slip.

How modulo bias creeps in, with one random byte and 75 characters
Byte valuesCharacter chosen (byte mod 75)Chances out of 256
0 to 74, 75 to 149, 150 to 224Characters 0 to 74, three times each3 each
225 to 255Characters 0 to 30 a fourth time4 for those 31 characters
ResultCharacters 0 to 30 are a third more likely than the rest4 against 3

That uneven split is modulo bias. This generator avoids it by rejection: it draws a 32-bit number and, if the number falls in the short stretch at the top that would not divide evenly, throws it away and draws again. Every character and every word is then exactly equally likely, which is what the entropy figure assumes. The same method is used by the random word generator.

Passphrases from the EFF word list

A passphrase is a few random words, easier to type and remember than random characters. Its strength comes from the words being chosen at random from a known list, not by you. This page uses the EFF large word list: 7,776 words, one for each roll of five dice, so each word adds log2 7,776, about 12.9 bits. The EFF’s dice page recommends at least six words, which gives about 77.5 bits.

Passphrase length and strength
WordsEntropyTypical length with hyphensNIST 15-character minimum
451.7 bitsAbout 31 charactersMet
564.6 bitsAbout 39 charactersMet
677.5 bitsAbout 47 charactersMet
790.5 bitsAbout 55 charactersMet
8103.4 bitsAbout 63 charactersMet

Capital letters and the separator add nothing, because they are the same for every word and an attacker can assume them; the board says so rather than inflating the figure. Adding a random digit to one word adds a few bits honestly counted. The same list, with its licence and source, powers the random word generator.

Nothing leaves this page

Nothing you do on this page leaves your device. The password is made by code already loaded in the page, shown, and copied only when you press Copy. It is never written to storage: only your settings (the length, the sets, the number of words) are saved in this browser’s local storage, the same way the site’s counters keep their numbers, which the guide to building a counter explains. Once the page has loaded you can disconnect from the internet and it still works.

What happens to your password
StepWhere it happens
Random numbers drawnIn this browser, by crypto.getRandomValues
Password put togetherIn this browser
Sent to a serverNever
SavedNever; only the settings are saved
CopiedOnly when you press Copy

Two habits matter more than the generator: use each password in one place only, so one leak does not open everything, and keep them in a password manager rather than reusing a memorable one. Turn on a second factor where a site offers it.

What this generator does not do

This generator makes new random passwords. It does not check a password you already have, look a password up in breach lists (that check is the job of the site you sign up to, under the NIST rules), or know a particular site’s rules. If a site rejects a symbol, choose the common symbols or none and make a longer password instead.

The symbols in a password are ASCII characters, each one byte; the ASCII table and converter lists their codes.

What this generator does and does not do
It doesIt does not
Random passwords of 4 to 128 characters and passphrases of 3 to 20 wordsRate a password you made up
Exact entropy for the settings chosenCheck breach lists
Everything in this browserSend or store the password

This generator or a typical one

This password generator compared with a typical one
 This pageA typical one
Random source namedcrypto.getRandomValues, no modulo biasUnnamed, or Math.random
Passphrase modeEFF large word listOften none
Entropy shownExact bits for the settingsA strength bar, or nothing
NIST 2025 length ruleChecked on the boardNot mentioned
Password stored or sentNeverVaries

Frequently asked questions

How long should a password be?

At least 15 characters if it is the only thing protecting the account, which is NIST SP 800-63B-4's minimum, and at least 8 where a second factor is also required. Longer is better: 20 random characters or six random words are far beyond any practical guessing attack.

Is a passphrase better than a password?

A random passphrase of six words from a 7,776-word list has about 77.5 bits of entropy, about as strong as 12 random characters from all 94 keyboard symbols (78.7 bits), and much easier to type and remember. It only works if the words are chosen at random, not by you. For a password manager to store, random characters are just as good.

Are online password generators safe?

They are safe when the password is made in your browser by a cryptographic random generator and never sent to a server. This page does exactly that, using crypto.getRandomValues, and works with the network off once loaded. Avoid generators that make the password on their server or do not say how.

What is password entropy?

It is log base 2 of the number of passwords the settings could produce, measured in bits. Each bit doubles the guesses needed. 20 characters from 75 give about 124.6 bits. The figure is exact for random passwords and meaningless for ones people invent, which are far more predictable.

How many bits of entropy is a strong password?

Around 80 bits or more is beyond any realistic guessing attack even against a fast-hashed stolen database, and 128 bits is beyond brute force altogether. Six EFF words give about 77.5 bits, 16 random characters from 94 about 104.9. Below about 50 bits, a password is weak against offline attacks.

Do I need symbols in my password?

No. NIST says services should not force a mix of character types, and length adds far more strength than symbols do. Adding symbols to a 20-character password raises it from about 119 to 131 bits; adding four more letters and digits instead gives about 143. Use symbols when the site allows them, and length either way.

What is modulo bias?

It is the unevenness that comes from turning a random number into a choice with the remainder operation when the range does not divide evenly. With one byte and 75 characters, 31 characters would be a third more likely than the rest. This generator redraws those values, so every choice is equally likely.

Should I change my passwords regularly?

Not on a schedule. NIST SP 800-63B-4 says services shall not require periodic changes, because forced changes lead to predictable patterns such as Summer2026!. Change a password when there is a sign it has leaked, and use a different one for every site so a leak stays contained.

Why does a site reject my generated password?

Some sites still refuse certain symbols, spaces or lengths. Switch the symbols to the common set or to none and raise the length to keep the strength, or use a passphrase with hyphens. If a site caps passwords at a short length, that is the site's weakness, not yours.

Open the password generator

Free, no sign-up, and what you enter stays in your own browser.