Password Generator

Password generator for one strong, random password — set the length and characters, then copy.

Updated

Characters to include
Need many passwords at once, or ones made from your own words? Bulk Password Generator

About

About the Password Generator

Creates one strong, random password at a time with your browser's cryptographically secure random source, and shows its entropy in bits and roughly how long a fast offline attack would need to crack it.

Length does most of the work: with letters, numbers and symbols on, 8 characters gives about 51 bits (cracked in roughly a day at 10 billion guesses a second), while 16 characters gives about 103 bits (billions of years). The stats line under the password shows these numbers live as you change the settings, so you can see exactly what switching off symbols or shortening the length costs. Save the result in a password manager rather than trying to memorise it; for a password you must type from memory, a passphrase is easier. Need a whole list at once, or passwords built from your own words? That's what the Bulk Password Generator is for.

Choose what to view about this tool

Guide

Using the Password Generator

  1. 1

    Step 1

    A strong password is generated as soon as the page opens.

  2. 2

    Step 2

    Drag the slider or type a number to set the length, from 4 to 128 characters.

  3. 3

    Step 3

    Turn lowercase, uppercase, numbers and symbols on or off, and optionally skip look-alike characters (0, O, l, 1, I) — the password updates instantly.

  4. 4

    Step 4

    Click "Copy" to copy it, or "New password" to get a different one with the same settings.

  • Uses crypto.getRandomValues with rejection sampling, so every character in the pool is equally likely (no modulo bias)
  • Any length from 4 to 128 characters, with one-tap presets for 8, 12, 16, 20, 32 and 64
  • Guarantees at least one character from every set you turn on, then shuffles them so they aren't in a fixed position
  • Live stats line: entropy in bits, size of the character pool and the estimated crack time
  • Five-step strength bar, from Very weak (under 36 bits) to Very strong (100 bits and up)
  • Optional filter removes look-alike characters (0, O, l, 1, I) for passwords you have to read or type by hand
  • Generated and shown only in your browser — never sent to a server or stored

Signing up for a new account

Generate one strong password, copy it and save it in your password manager before you even finish the sign-up form.

Changing a leaked password

When a site reports a breach, replace the old password with a fresh random one that has nothing in common with it.

Wi-Fi and router passwords

Turn on "Skip look-alikes" to get a long password that's easy to read off a sticker and type on a TV or phone.

Checking a site's rules

If a site doesn't accept symbols or caps the length, switch symbols off or shorten the length and a matching password appears immediately.

Examples

Password Generator examples

3 worked examples

01

16 characters, every set on

Length 16 with lowercase, uppercase, numbers and symbols all on might generate "xQ7!kZm2@Lp9#Tr4" — an 86-character pool, about 103 bits, rated Very strong, with an estimated crack time of around 16 billion years.

02

12 characters, no look-alikes

Length 12 with all sets on and "Skip look-alikes" enabled might generate "h8Yt#eQ2mVr@" — an 81-character pool, about 76 bits, rated Strong (roughly 120,000 years). Good for a Wi-Fi password you'll read off a card.

03

8 characters vs 14 characters, no symbols

With letters and numbers only (a 62-character pool), 8 characters is about 48 bits — Reasonable, but crackable in about 4 hours. Raising the length to 14 gives about 83 bits, rated Strong (around 15 million years) without needing a single symbol.

FAQ

Frequently asked questions

Quick answers to common questions about the Password Generator.

How long should my password be?

For an account that matters, 16 characters with every character set on is a good default: about 103 bits, which this page estimates at around 16 billion years to crack. 12 characters gives about 77 bits (roughly 240,000 years), while 8 characters is only about 51 bits — around a day for a fast offline attack. NIST's current guidance (SP 800-63B) asks for at least 15 characters when a password is the only thing protecting a login.

How is the crack time worked out?

It assumes an attacker who has stolen a password hash and can try 10 billion guesses a second, and shows the average time to find it (half of all possible passwords). That's a pessimistic, fast-hardware scenario on purpose — a website that limits login attempts, or stores passwords with a slow hash, makes guessing far slower.

What do the "bits" of entropy mean?

Bits = length × log2(pool size). Every extra bit doubles the number of guesses needed, so 77 bits isn't a little stronger than 51 bits — it's about 67 million times harder to brute-force.

Is a longer password better than adding symbols?

Usually, yes. 16 lowercase letters (about 75 bits) is roughly as strong as 12 characters using all four sets (about 77 bits). If a site rejects symbols, switch them off and add 2–4 characters to keep the same strength — the stats line shows when you're back to the same number of bits.

Which symbols does it use?

These 24: ! @ # $ % ^ & * ( ) - _ = + [ ] { } ; : , . ? / — with all four sets on, the pool is 86 characters. "Skip look-alikes" removes 0, O, l, 1 and I, shrinking the pool to 81, which costs about 2 bits on a 16-character password.

Are the passwords cryptographically secure?

Yes. Each character is picked with crypto.getRandomValues, the browser's secure random source, using rejection sampling so no character is more likely than another. Math.random() and other predictable formulas aren't used.

Is the password sent or saved anywhere?

No. It's generated and shown only on your device. Nothing is sent to a server, and the page doesn't keep a history — once you leave or click "New password", the old one is gone, so copy it into your password manager first.

Should I memorise the password?

For most accounts, no — store it in a password manager and let it fill the password in. For the few you have to type from memory, such as the password manager's own master password, a passphrase of random words is easier to remember at a similar strength.

How do I generate many passwords at once?

Use the Bulk Password Generator. It creates up to 1,000 unique passwords in one go, can build them from your own words, and lets you download the list as a TXT or CSV file.

Still have a question? Contact us

Report a problem

Password Generator

What went wrong?
    or paste a screenshot