crypto.getRandomValues() — a cryptographically secure random source.
Nothing is sent to any server. Recent passwords are saved only in your browser's
local storage on this device. Clear them with the button above when you're done.
A strong password is one that can't be predicted by an attacker. That means it needs two things: enough length and enough variety. The tool generates passwords using your browser's cryptographically secure random number generator — the same API used for encryption keys — and shows you exactly how strong the result is.
When you tap Generate, the tool calls
crypto.getRandomValues(), which pulls entropy from your
operating system. The OS pools randomness from unpredictable physical
events — keystroke timing, disk access delays, network packet arrival
times — and feeds it through a cryptographic hash. Every character in
your password comes from this pool. It's the same source browsers use
to generate TLS keys and to secure HTTPS connections.
The tool does not use Math.random(), which is
not cryptographically secure. Even if you used Math.random() to
generate a 16-character password, the underlying pseudo-random
algorithm is predictable after enough observations. For anything that
protects a real account, that's not acceptable.
Strength is measured in bits of entropy — the number of random possibilities an attacker has to consider. Each bit doubles the number of possible passwords. The formula is:
So a 16-character password using all four character sets (26 lowercase + 26 uppercase + 10 digits + 32 symbols = 94 characters) has an entropy of 16 × log₂(94) ≈ 104 bits. That's more than enough to resist any realistic attack.
The tool also shows a rough "crack time" — how long it would take to brute-force the password at a very fast rate of 1 trillion guesses per second. At 100+ bits of entropy, that's millions of years.
A few rules of thumb: