Password generator

A new password or passphrase each time, drawn by your own device. Set the length, choose the characters or the words, copy.

  • Passwords and passphrases
  • Entropy in bits
  • Never sent
Length20
Kind of secret

Your new password

 

Beyond need · 129 bits of entropy · ≈ 1019 years

At a trillion tries a second, guessing it would take about 650 million times the age of the universe. The last stars will have burned out long before.

Any characters a site refuses, typed together.

Characters

Free · No ads · No sign-up Runs entirely in your browser. Nothing you enter is sent or stored.

How the password is made

Each character is drawn with the cryptographic random generator built into your browser, the same source it uses to secure connections. Every character of the chosen sets is equally likely at every position, and when you ask for several sets the password is guaranteed to contain at least one character of each, so it satisfies a site that insists on “a digit and a symbol”.

The password exists only on this page. It is not sent to a server, not written to storage and not kept in the address: reload, and it is gone. Once the page has loaded, the generator works with the network switched off.

What the strength figure means

Strength is measured in bits of entropy: the number of times you would have to double a single guess to cover every password the settings can produce. Each extra bit doubles the work of guessing. Length adds bits faster than anything else: one more character is worth about six and a half bits, while adding symbols to a long password adds only a fraction of one per character.

LengthEntropy, all four sets
851 bits
1277 bits
16103 bits
20129 bits
24155 bits
32206 bits

The time shown under the meter assumes a trillion guesses a second against a stolen, fast-hashed database: a deliberately pessimistic case.

What the wait is measured against

A count of years stops meaning anything long before the numbers stop growing: twenty random characters already ask for hundreds of millions of times the age of the universe. So the line under the meter sets the wait against things you can picture, and goes deeper as the password grows. Each landmark is a published figure.

The wait outlasts, or the passwords outnumberFromCharacters
The longest human life on record: 122 years73 bits12
Writing: about 5,200 years79 bits13
The time since the last ice age: 11,700 years80 bits13
Our species: about 300,000 years84 bits14
The time since the dinosaurs: 66 million years92 bits15
The Earth: 4.54 billion years98 bits16
The universe: 13.8 billion years100 bits16
The last stars burning out: about 1014 years113 bits18
The galaxies coming apart: about 1020 years133 bits21
The atoms in the Earth: about 1050167 bits26
What a year of the Sun’s energy could count through, at the limit physics allows190 bits30
The ways to shuffle a deck of cards: about 8 × 1067226 bits36
The atoms in the observable universe: about 1080266 bits42
A black hole the mass of the Sun evaporating: about 1067 years290 bits45
A googol: 10100333 bits52
The largest black holes evaporating: about 10100 years400 bits62

Characters: with all four sets. Past the galaxies the line turns from how long guessing would take to how many such passwords there are, and what it would cost merely to count them. Sources: Adams and Laughlin, “A dying universe” (1997), for the stars and the galaxies; Landauer’s limit, as worked through in Schneier’s “Applied Cryptography”, for the energy; Hawking’s evaporation time for the black holes.

Passwords or passphrases

A passphrase is a few words drawn at random: tipped-playlist-frightful-zoom-abacus-contusion. Each word is picked from the EFF’s long list of 7,776, so each one adds about 12.9 bits, and six words carry about 77.5: as strong as a random password of twelve characters, and far easier to type on a phone or say aloud. Use one where you must remember or type the secret yourself, such as the password manager’s own lock or a computer’s login.

The words must be drawn at random, which is the whole point: a sentence you chose yourself, however long, is far easier to guess. The digit and the capitals are there for sites that insist on them; the strength comes from the words.

The words come from the EFF’s long word list, by the Electronic Frontier Foundation, under the CC BY 3.0 US licence. It is fetched by your browser from this site only when you ask for a passphrase.

Using it well

Use a different password for every account, so that one leak opens one door. Nobody can remember that many: let a password manager hold them, protected by one long passphrase you do remember. Turn on two-step verification wherever it is offered. A strong password protects against guessing; it does not protect against a page that tricks you into typing it.

Sharing a Wi-Fi password with guests? The QR code generator turns it into a code a phone can scan to join.

Made by Mystya

We are a web studio in Québec. These tools are free and will stay free: they are how we show what we care about, in something you can use. If you want a site built with the same attention, we would like to hear about it.