SecurityFree · no sign-in

Password generator

Strong random passwords, made on your device and never sent anywhere.

Pick at least one character set
Very strong · 129 bits

Made with your browser’s secure random generator. Nothing is sent or saved.

How is the time to crack worked out?

It assumes an attacker tries every possible password until they hit yours (a brute-force attack).

1. Count the possible passwords. The character sets you’ve picked give 86 possible characters for each position, so a 20-character password has 8620 possibilities.

2. Turn that into bits. That’s the same number written as a power of 2: 20 × log₂(86) ≈ 129 bits. Every extra bit doubles the number of guesses needed.

3. Divide by a guessing speed. On average the attacker finds it halfway through, so the time is half of 2129 guesses at 100 billion guesses a second.

Why 100 billion a second? That’s roughly what a rig of strong graphics cards manages against a stolen database of passwords stored with a fast, weak scrambling method. It’s pessimistic on purpose: a login page that limits attempts, or a site that stores passwords with a slow method like bcrypt, makes guessing thousands to millions of times slower.

Only for random passwords. The maths holds because every character here is picked at random. Passwords people make up, like “Summer2024!”, fall far faster than their length suggests, because attackers try words, names and common patterns first.

How it works

Choose a length and which kinds of characters to use, and a new random password appears. Press “New password” for another, then copy it.

Passwords are made in your browser using its cryptographic random number generator, the same kind used for encryption. They're never sent over the internet or saved anywhere.

The “time to crack” estimate assumes an attacker with serious hardware making 100 billion guesses a second.

Worked examples

These are the times the generator shows, for an attacker making 100 billion guesses a second.

8 lowercase letters (26 possible characters): about 38 bits, cracked in about 1 second. 8 characters using letters, numbers and symbols (86 possible): about 51 bits, about 3 hours.

12 characters using letters, numbers and symbols: about 77 bits, about 24 thousand years. 16 characters using letters and numbers only (62 possible): about 95 bits, about 6 billion years.

20 characters with everything switched on: about 129 bits, longer than the universe has existed, many times over. Adding length does far more than adding symbols.

Questions people ask

How long should a password be?

At least 12 characters, and 16 or more for important accounts like email and banking. Length matters more than anything else: every extra character multiplies the number of guesses needed.

Is it safe to use an online password generator?

This one is: the password is made on your device and never leaves it. You can even disconnect from the internet after the page loads and it still works.

Are symbols necessary?

They help, but length helps more. A 20-character password with letters and numbers is far stronger than an 8-character one with symbols. Turn symbols off if a site doesn't accept them.

Will every password include each kind of character I picked?

Yes. It always includes at least one of each kind you've switched on, so it'll pass sites that require a number or a symbol.

How do I remember these passwords?

You don't have to. Use a password manager, such as the one built into your phone or browser, and save each password there. Use a different one for every site.

More free tools