strongpassword.ivel.net

Strong password generator

Every password is made in your browser by its cryptographically secure random generator. Nothing is sent anywhere or stored, so nobody else ever sees it.

Your new password is:

—

Very strong: 116 bits of entropy.

On average, an offline attack at 100 billion guesses per second would need about 10¹⁶ years, far longer than the age of the universe.

Password settings

How the passwords are made

The generator uses crypto.getRandomValues, the cryptographically secure random number generator built into every modern browser and fed by your operating system. It never uses Math.random, which is meant for games and can be predicted.

Each character is picked so that all allowed characters are exactly equally likely. Random numbers arrive as 32-bit values, and 232 is not a multiple of the 56 characters in the default set, so a plain remainder would favour some characters slightly. The generator discards the few values that would cause this bias and draws again.

When every selected type is required, the whole password is drawn again until it contains each type, rather than forcing characters into fixed places. That keeps every valid password equally likely, and the entropy shown is calculated for exactly that set of passwords.

Nothing is sent over the network, saved in your browser or put in the address bar. Close the tab and the password exists only where you pasted it.

How strong is strong enough?

Strength is measured in bits of entropy: each extra bit doubles the number of guesses an attacker needs. The times below assume an offline attack at 100 billion guesses per second, which is realistic for a stolen password database protected by a fast hash.

ExampleEntropyAverage time to crack
8 characters, lowercase only37 bits1 second
8 characters, all four types50 bits3 hours
12 characters, all four types77 bits32,000 years
16 characters, all four types103 bits10¹² years, far longer than the age of the universe
20 characters, all four types129 bits10²⁰ years, far longer than the age of the universe
4-word passphrase51 bits5 hours
6-word passphrase77 bits35,000 years
8-word passphrase103 bits10¹² years, far longer than the age of the universe

Frequently asked questions

Is this password generator safe to use?

Yes. Passwords are created in your browser with crypto.getRandomValues, the cryptographically secure random generator built into every modern browser and the same kind of source used for encryption keys. The page makes no network requests after it loads and stores nothing, so nobody else, including this site, ever sees them.

Why not use Math.random?

Math.random is designed for games and simulations, not security. Its output can be predicted: the internal state of common implementations can be reconstructed from a handful of outputs. This generator never uses it.

What is modulo bias, and how is it avoided?

Random numbers arrive as 32-bit values. Mapping them onto, say, 90 characters with a simple remainder makes some characters slightly more likely, because 2³² is not a multiple of 90. The generator throws away the few values that would cause this and draws again, so every character is exactly equally likely.

How long should my password be?

NIST's current guidance (SP 800-63B-4) asks for at least 15 characters when a password is the only factor, and at least 8 together with two-factor authentication. If a password manager remembers it for you, 20 or more random characters cost nothing. For a password you have to type or remember, use a passphrase of six words or more.

Is a passphrase as safe as a password?

It can be. Each word drawn from the EFF list of 7,776 words adds about 12.9 bits, so six words give about 77 bits, about as much as a random 12-character password with all four character types, and eight words give about 103 bits.

What does “Include every selected type” do?

Many sites demand at least one digit or symbol. With this option on, the generator draws the whole password again until it contains every selected type, which keeps all valid passwords equally likely. The entropy shown is calculated for exactly that set of passwords.

Why are some symbols missing?

Quotes, the backslash, the backtick and the space are left out because they often break forms, scripts and configuration files. The remaining 28 symbols are accepted almost everywhere.

What does “Avoid look-alike characters” do?

It leaves out characters that are easy to confuse when reading or typing: I, l, 1, |, O, o and 0. That removes a little entropy, which the strength meter takes into account.

How is the time to crack estimated?

It assumes an attacker who has stolen a password database protected by a fast hash and tries 100 billion guesses per second, finding the password after trying half of all possibilities on average. Sites that use slow password hashes or limit login attempts are far harder to attack.

Where should I keep my passwords?

In a password manager, with a different password for every account. If one site leaks, the others stay safe.