Password Generator

Generated in your browser, never transmitted — with strength shown as time to crack rather than a meaningless coloured bar.

What do you need?
For a random password. Ignored in passphrase mode.
For a passphrase. Ignored in password mode.
The default is the harsh case, because it is the one that actually happens.
Questions

What people ask about passwords

Is this password generator safe to use?

The generation happens entirely in your browser using the Web Crypto API, and the value is never sent anywhere or stored. You can confirm that by opening your browser's network tab — this site makes no external requests at all. That said, for anything important, generating inside your password manager is one fewer step where a copy could linger.

How long should a password be?

Sixteen characters of genuinely random output puts you beyond any realistic offline attack. Past that, length stops being the constraint and reuse and phishing become the real risks. Length matters far more than adding symbols — four more characters is worth about four extra symbols.

Are passphrases as strong as random passwords?

They can be, but you need more of them than people think. A word from a 709-word list is worth about 9.5 bits against roughly 6.4 bits for one random character — so six words is about 57 bits, comparable to a 9-character random password. Eight words is where a passphrase becomes genuinely robust.

Why does the strength change when I pick a different attack?

Because the password did not change and the attacker did. A rate-limited login allows perhaps a hundred guesses a second; a leaked database hashed with SHA-256 allows a hundred billion. Quoting the online figure makes weak passwords look fine, which is why the default here is the offline one.

Should I change my passwords regularly?

Not on a schedule, no — modern guidance from NIST and the NCSC both moved away from forced rotation, because it pushes people toward predictable variations. Change a password when there is a reason: a breach, a shared device, or any suspicion. Otherwise put the effort into uniqueness and two-factor authentication.