handy.moe

All tools / Files and privacy

A robot using a computer

Password generator

Random passwords, word passphrases, pronounceable ones and PINs, with the strength worked out exactly in bits. It runs in your browser with the secure random generator, and nothing is sent, stored or logged.

Runs in your browser. Passwords are made on your device and never sent, stored or logged.

More like it, click to copy

Word lists: Electronic Frontier Foundation, eff.org, licensed CC BY 3.0 US. To check that a file arrived unchanged, see the hash generator.

How to use it

  1. Choose a style: random characters, a passphrase of words, something pronounceable, or a PIN.
  2. Set the length. Watch the strength readout: the bits are worked out exactly.
  3. Press Copy. Save it in a password manager, then use it.

Questions

Is this safe? Does it send the password anywhere?

Nothing is sent, stored or logged. The password is made inside this page using your browser's secure random number generator (crypto.getRandomValues), the same source your browser uses for encryption keys. You could disconnect from the internet after loading the page and it would still work. Even so, for your most important accounts, make the password and then change it once more by hand or with a password manager.

What is “entropy” and how many bits do I need?

Entropy counts how many guesses an attacker would need: each bit doubles it. We work it out exactly from how the password was made. Around 60 bits is fine for a login protected by rate limits; 80 or more suits anything an attacker could copy and guess at offline (password manager vaults, disk encryption, encrypted files); 100 or more is generous. The time estimate under the password assumes an attacker who knows the method and is very fast, so it errs on the safe side.

Why passphrases?

Random words are easy to remember and to type, yet strong: six words from the EFF long list is about 77 bits, as strong as a 13-character random password, and far easier on a phone or a game console. Use them for the one password you must remember, such as your password manager's.

What are the EFF word lists?

Three lists published by the Electronic Frontier Foundation in 2016 for dice-rolled passphrases: the long list (7,776 words, 12.9 bits per word), short list 1 (1,296 shorter words) and short list 2 (1,296 words that differ in their first three letters, so you can type just those). They avoid hard-to-spell and offensive words. Credit: EFF, licensed Creative Commons Attribution 3.0 US (see below).

Is a pronounceable password a good idea?

It is easy to say aloud (reading a Wi-Fi password to a guest) but carries fewer bits per letter than random characters, so make it longer. The readout shows the real figure, calculated exactly for the syllables we use.

Should I use a PIN?

Only where the system locks you out after a few wrong tries, such as a phone or a bank card. Never for an online account. The “avoid obvious PINs” box skips repeats (1111) and straight runs (1234, 9876), which are the first guesses.

Which symbols are used?

! @ # $ % ^ & * ( ) - _ = + [ ] { } ; : , . < > ? / ~. Some sites refuse certain symbols; switch symbols off and add length instead, which makes it stronger anyway. Use “avoid look-alikes” if you will ever read the password aloud or copy it by eye.

Is “require one of each” weaker?

Slightly, because it rules out some combinations; the entropy shown already accounts for that exactly.