utilobox

How to make strong passwords with a generator

Most password advice comes down to three habits: make them long, make them random and never use one twice. This guide shows how to apply them with the Password generator, how to read its strength meter, and what to do with a password once you have it.

Last updated:

Length beats cleverness

Attackers do not guess the way people imagine. When a stolen list of scrambled passwords is attacked, the software tries common passwords, names, dates, keyboard patterns and the usual swaps such as a zero for an “o”. A password you invented, however clever it feels, tends to follow patterns like these. A password produced by chance has no pattern to exploit, so the only way to find it is to try combinations.

Each extra character multiplies the number of combinations, which makes length the most dependable lever. The tool measures strength in bits of entropy, a measure of how many equally likely possibilities a password could be one of, where every added bit doubles that number. A random password of 8 letters and digits has about 48 bits. One with 16 characters from all four types has about 103. That is not twice as strong; it is astronomically more.

Making a password in the generator

A new password appears each time you change a setting, and ‘Generate new’ makes another with the same settings. Each character type you tick shows up at least once in the result, so a site that insists on a capital letter, a digit and a symbol is satisfied. The page does not keep the password: close the tab and it is gone, so paste it where it belongs before you leave. Only your settings, such as the length and the ticked types, are remembered in the browser.

For a typical account, work through these steps in order:

  • Leave ‘Type’ on ‘Characters’.
  • Set ‘Length’ with the slider or the number box. It runs from 4 to 128 and starts at 16.
  • Keep ‘Uppercase A–Z’, ‘Lowercase a–z’, ‘Numbers 0–9’ and ‘Symbols’ ticked unless the site refuses some of them.
  • Read the meter above the password: a label such as ‘Strong’, the bits of entropy and ‘Estimated time to crack:’.
  • Click the copy button beside the password and paste it straight into the form, then into your password manager.

Reading the strength meter

The meter works out bits from the length and from how many different characters the tool can choose from. Its labels follow fixed thresholds: below 28 bits is ‘Very weak’, 28 to 39 is ‘Weak’, 40 to 59 is ‘Fair’, 60 to 79 is ‘Strong’, and 80 or more is ‘Very strong’. Six digits come to about 20 bits, which is ‘Very weak’. Eight letters and digits come to about 48 and twelve lowercase letters to about 56, both ‘Fair’. Sixteen characters from all four types come to about 103, ‘Very strong’.

‘Estimated time to crack:’ depends on ‘Attacker speed’, which offers ‘Online login (1,000 guesses/s)’, ‘Offline, fast hardware (10 billion/s)’ and ‘Large cracking cluster (1 trillion/s)’. The estimate assumes a guesser who works at that speed and, on average, finds the answer halfway through. For the eight letters and digits at the offline speed it reads about 3 hours. For the 16-character password it reads longer than the age of the universe.

Use that figure to compare options, not as a promise. It assumes the password is truly random, used for one account only and never leaked.

Passphrases for what you must remember

Switch ‘Type’ to ‘Passphrase’ when you have to type or remember the secret: the master password of a password manager, a device login, a disk password. The tool picks words at random from a built-in list of 1,605 common English words, and each word adds about 10.6 bits. ‘Number of words’ runs from 3 to 12 and starts at 6.

Four words give about 43 bits (‘Fair’), five about 53 (‘Fair’), six about 64 (‘Strong’) and eight about 85 (‘Very strong’). For the one secret that protects everything else, choose eight or more. Pick the ‘Separator’ that is easiest to type. ‘Capitalize each word’ and ‘Add a number’ mostly help with sites that demand capitals or digits: the meter ignores capital letters and separators, and the number adds only a few bits, about nine for six words.

Use the words exactly as drawn. Swapping one for a favorite makes the phrase partly your own choice, which defeats the point. If a phrase will not stick, generate a few with ‘How many’ and take the one that does; that costs you very little strength, and a word more repays it.

When a site has rules of its own

Some sites cap the length, refuse certain symbols or demand a mix of types. Match the rules instead of weakening the password. If the site’s maximum is below your target, use the maximum. Edit ‘Symbols to use’ so it holds only the symbols the site accepts. If symbols are not allowed at all, untick ‘Symbols’ and add length instead: 20 letters and digits come to about 119 bits, more than 16 characters with symbols.

‘Exclude look-alikes (0 O 1 l I)’ is worth ticking for a password you will read aloud or copy by eye from another screen; it costs very little strength and saves mistakes. ‘No repeated characters’ is rarely worth it. It forbids any character from appearing twice, which narrows the possibilities slightly, and genuinely random passwords repeat characters all the time.

Numeric codes are a special case. For a PIN, tick only ‘Numbers 0–9’, but know that six digits are about 20 bits. A PIN is safe only because the service limits the attempts, not because of the digits themselves.

One password per account, kept in a manager

A strong password that is reused is a weak one. When one website is breached, attackers try the same address and password on other services, and a reused password opens every one of them. Generate a different password for each account, and accept that you will not remember them.

That is the job of a password manager: an encrypted store that holds long random passwords so you only memorize one strong secret, often a passphrase like the one above. Use whichever manager you trust, and switch on a second sign-in step wherever a service offers one, because it still protects the account if a password leaks.

Do not keep passwords in a notes file, an email to yourself or a photo. Also protect the doors around the password: the recovery email address and phone number can reset everything, so they deserve strong passwords too.

Sharing, changing and replacing

Avoid sending a password through chat or email. If an account must be shared, use the sharing feature of your password manager, or pass the password in a different channel from the one that names the account. Treat a shared password as temporary and change it once the other person has signed in, so that only they know the new one.

Replace a password when you have a reason: it was shared, you reused it somewhere, a service reports a breach, or a device that stored it was lost. In each case, generate a new password instead of adding a digit to the old one.

What a generator cannot do

It makes a random password; it cannot make the rest of your setup safe. A password does not stop phishing, where you type it into a fake page. It does not help if software on your own device records keystrokes. It does not tell you whether a service stores passwords carefully, or whether yours was already exposed in a leak. Sensible habits still apply: check the address before signing in, keep your system updated and use a second step.

The page states that it builds passwords in your browser with its cryptographic random generator and that nothing is sent. Even so, use a device you trust, because anything already running on a compromised computer can see what you copy.

The other random tools on this site, the Random number generator, the Dice roller and the Random name picker, draw numbers, dice and names for raffles and games, with no character types or strength check. If you do use the Random number generator to draw digits for a code, turn off ‘No duplicates’, because with it on no digit can repeat, which makes the code easier to guess.

Questions and answers

How long should my password be?

For accounts kept in a password manager, 16 random characters with all four types is a sound default, and going longer costs nothing when the site allows it. For a passphrase you must memorize, use six words, and eight or more for a master password.

Is it safe to generate a password on a website?

This page creates the password in your browser and does not send it anywhere, and it is gone when you close the tab. As with any tool, the device matters more, so avoid shared or untrusted computers.

A site rejected my password. What now?

Look for a maximum length or unsupported symbols. Edit ‘Symbols to use’, untick ‘Symbols’ or shorten ‘Length’ to fit the rules, then generate a new one.

Can I memorize a generated password?

A 16-character random string is hard to memorize and does not need to be: store it in your manager. Memorize only a passphrase, such as the one for the manager itself.

How many passwords can I make at once?

Set ‘How many’ up to 50. ‘Copy all’ copies the list with one password per line, and the small button on each row replaces just that password.