Skip to content

Security

Password Generator

Strong random passwords, memorable passphrases and PINs, generated with the browser’s cryptographic RNG. A live entropy meter tells you how strong the result actually is, and nothing ever touches the network.

CSPRNGNothing uploadedLive entropy meterWorks offline
Loading generator…

Four steps

How to generate a strong password

  1. 1

    Choose a type

    Random password for a manager, passphrase for anything you must memorise, PIN for numeric locks.

  2. 2

    Set the strength

    Aim for 16+ characters or 5+ words, and watch the entropy meter reach at least 80 bits.

  3. 3

    Filter the characters

    Exclude look-alikes if you will ever read or retype the password by hand.

  4. 4

    Copy and store it

    Copy the result straight into your password manager — never into a note or an email.

Length is the lever that matters

The old advice about mixing uppercase, lowercase, digits and symbols produced passwords that were hard for humans and easy for computers. P@ssw0rd1! satisfies every complexity rule and is in every cracking dictionary. What actually defeats an offline attack is the size of the search space, and length grows that far faster than variety does.

RecipeEntropyVerdict
8 chars, letters + digits~41 bitsWeak
12 chars, full pool~78 bitsFair
16 chars, full pool~104 bitsStrong
4 random words~41 bitsWeak on its own
5 random words~52 bitsFair
7 random words~73 bitsStrong and memorable

Where passphrases earn their place

You should not be memorising more than about three passwords. Those three — your password manager’s master password, your device login and your disk encryption — are exactly where a passphrase belongs: long enough to be strong, structured enough to remember.

The critical detail is that the words must be randomly chosen. A phrase you invented yourself is drawn from a much smaller space than you think, because human word choice is heavily patterned. The generator here picks from roughly 1,300 words using the same CSPRNG as the password mode.

Rules worth following

Handling the output safely

Copy the password straight into the field or manager that needs it. Do not paste it into a note, a chat message or an email to yourself — those are all far weaker containers than the password itself. Reloading this page discards everything it generated, which is the intended behaviour.

Related tools

The random number generator uses the same secure source for numbers and dice, the case converter handles text formatting, and the word counter covers text statistics. All of them run entirely in your browser.

Answers

Frequently asked questions

They come from crypto.getRandomValues(), the browser’s cryptographically secure random number generator — the same source used for TLS key material. We also reject values that would introduce modulo bias, so every character in the pool is equally likely rather than merely close to it.

No. There is no network request involved in generating a password here — the code runs entirely in your tab. You can verify that by opening your browser’s network panel and pressing Generate, or by disconnecting from the internet: it still works.

Entropy in bits measures how many guesses an attacker needs. Each extra bit doubles that number. Under 45 bits is weak, 65–90 is fine for everyday accounts, and above 90 is comfortably beyond any realistic offline cracking attempt. A 20-character random password from a full pool lands around 130 bits.

Use a random password stored in a password manager for everything you do not have to type. Use a passphrase for the handful you must type from memory — your password manager’s master password, your device login, your disk encryption. Five random words is roughly 65 bits and far easier to remember than eleven random characters at the same strength.

Because l, I, 1, O and 0 are indistinguishable in many fonts. If you will ever read the password aloud, copy it off a screen or write it down, excluding them prevents a class of extremely annoying failures. Leave them in if the password only ever moves by copy and paste.

At least 16 characters for anything that matters, and 20+ for email and banking — your email account is the reset route into everything else. Length beats complexity: a longer password from a smaller pool usually outperforms a short one full of symbols.

More browser-only utilities

Random numbers, word counting, case conversion and placeholder text — all client-side, all free.