Nothing leaves your browser
The password is made on your device by crypto.getRandomValues, the browser's cryptographic random source. It is never sent anywhere, never written to the address bar, and this site keeps no record of it. The page works with the network disconnected, which is the easiest way to satisfy yourself of that.
Why a random byte is not a random character
The obvious way to pick from a 90 character pool is to take a random byte modulo 90. It is not uniform: 256 is not a multiple of 90, so the first 76 characters get a third appearance that the last 14 never get. The bias is small but it is free to avoid — bytes above the largest multiple of the pool size are discarded and another drawn.
"Must contain a digit" makes a password weaker
It feels like a strengthening rule. It is the opposite: it rules out every password that lacks a digit, so there are fewer left to guess. The cost is real at short lengths and negligible at long ones.
| Length | Without the rule | With it | Cost |
|---|---|---|---|
| 4 | 26.0 bits | 22.1 bits | 3.85 bits |
| 8 | 51.9 bits | 50.9 bits | 1.07 bits |
| 16 | 103.9 bits | 103.6 bits | 0.26 bits |
| 32 | 207.7 bits | 207.7 bits | 0.03 bits |
Most generators quote the first column while applying the rule, which overstates what they produced. The figure on this page is the second: the base two logarithm of the number of passwords the rules actually allow, counted by inclusion and exclusion over the character sets. A candidate that breaks the rule is discarded whole and a new one drawn, rather than having a character substituted into it — substitution would bias the result and make the figure untrue.
The practical reading: past about twenty characters the rule costs nothing worth counting, so leave it on if a system demands it and ignore it otherwise. Length is what matters.
How long it would take to guess
At a trillion guesses a second, with the default settings:
| Length | Entropy | Average time to guess |
|---|---|---|
| 8 | 50.9 bits | 17 minutes |
| 12 | 77.4 bits | 3.2 thousand years |
| 16 | 103.6 bits | 246 billion years |
| 20 | 129.7 bits | 17.4 quintillion years |
| 24 | 155.7 bits | 1.2 × 10²⁷ years |
| 32 | 207.7 bits | 5.3 × 10⁴² years |
A trillion guesses a second is a round number chosen to make the arithmetic legible, not a measurement. The real rate depends entirely on what is being attacked. Guessing at a login prompt that locks out after five tries is a different problem by many orders of magnitude from attacking a stolen database, and a stolen database is itself a different problem depending on how the passwords were stored. Treat the column as the shape of the curve, not a promise.
The time shown is the average, which is half the search space — an attacker expects to find it halfway through, not at the end.
The symbols that are missing
The symbol set leaves out the double quote, the single quote, the backtick and the backslash. Those are the four that cause trouble when a password is pasted into a shell command, a CSV, a JSON config or a device's own setup file, which is where these end up on a job. It costs about a fifth of a bit per character and saves a call back to site.
Device web interfaces often restrict symbols further, sometimes without saying which. If a camera or panel rejects a password, generate a letters-and-digits one of greater length rather than a short one with symbols — four extra characters buy back far more than the symbol set does.
What to do with it
A password this long is not one you will remember, which is the point. It belongs in a password manager, not on a label inside a panel door. If several people need it, that is what a shared vault is for.
For anything you do have to type from memory, a long passphrase of unrelated words beats a short string of symbols — but it has to be genuinely random words, not a phrase you chose, and that is a different tool from this one.
More in general calculators
- Date difference: Days between two dates, and the working days among them.
- Age: Years, months and days, with the month borrow done properly.
- Day of the week: What day a date falls on, and where it sits in the year.
- Hours and time card: Hours worked, including the shifts that run past midnight.
- Weight converter: Including the troy ounce, which is not the ordinary one.
- Dice roller: Fair dice, with the bias most rollers have removed.
- Time zone converter: Says so when the hour does not exist, or happens twice.
Or jump to power and wiring, electronics and components, networking, video and storage and cable, conduit and site. Every calculator is on one page, with a search box.
