Password Generator
Private: generated on your device, never sent anywhere
Strong random passwords from your browser's own cryptographic random number generator. Set the length, choose the character types, and see honestly how long the result would take to crack.
About this password generator
Every password here comes from the Web Crypto API, the same cryptographic source a browser uses for its own key material. There is no seed based on the clock, no shuffling of a phrase, and no server: the password exists only on this page until you copy it. Reload and it is gone.
Two details matter more than most generators admit. The picking is rejection sampled, so every character in the pool is exactly as likely as every other one, rather than the first few being slightly favoured by a careless remainder. And the result always contains at least one character from each type you switched on, so a password never gets rejected by the form you made it for.
The strength figures are arithmetic, not a verdict, and it is worth knowing which. Entropy here is the length multiplied by the base two logarithm of the pool size, which is the correct number for a string picked uniformly at random and for nothing else: it is honest precisely because you did not choose these characters. The crack time then divides half of that keyspace by ten billion guesses a second, a rate an offline attacker can rent today against a fast hash. Read it as a way of comparing one length against another, not as a promise of years. A site that stores your password with bcrypt or Argon2 slows that attacker by orders of magnitude; a site that rate limits its login form makes the figure irrelevant; a site that leaks the password in plain text makes it irrelevant the other way. Reuse, phishing and malware never appear in the arithmetic, and they are how most passwords are actually lost. If what you need is a value that must be unique rather than secret, a UUID is the better tool.
How to generate a strong password
- Drag the Length slider. Longer beats clever: length adds more strength than any single symbol.
- Switch character types on or off. Every change generates a fresh password.
- Tick Skip look alike characters if you will have to type it by hand or read it aloud.
- Check the strength bar. Aim for Strong or better, which is 60 bits and up.
- Press Copy, then paste it straight into your password manager.
Common questions about password strength
Is the password sent to a server?
Is this random enough to trust?
crypto.getRandomValues, which is seeded by the operating system and designed for cryptographic use. It is not Math.random, which is fast but predictable and must never be used for a secret. Characters are drawn with rejection sampling so the distribution stays even.
What do the bits of entropy mean?
How long should a password be?
Why skip look alike characters?
Next