Password generator

Generate passwords from your browser's cryptographic random source, with the character sets you choose and the entropy shown as you change them.

Entropy129 bits
Passwords
Generated with crypto.getRandomValues in this tab, with the modulo bias rejected rather than ignored. Nothing is sent anywhere, and nothing is stored.

Questions

How much entropy is enough?+

Around 80 bits for anything that matters and 60 as a floor. Entropy here is the length times the log of the alphabet, which is the honest measure for a random string, and it is why length beats adding symbols.

What is the modulo bias you mention?+

Taking a random byte modulo the alphabet length favours the first few characters, because 256 does not divide evenly. Bytes that would land in the uneven tail are thrown away here and drawn again.

What does dropping lookalike characters do?+

It removes 0, O, 1, l, I and the quote marks. Worth it for anything read off a screen and typed by hand, and not worth the lost entropy for anything a password manager holds.

Should passwords be changed on a schedule?+

No. NIST dropped that advice years ago, because forced rotation pushes people towards a pattern with a number on the end. Change one when there is a reason: a breach, a shared device, a suspicion. Length and a manager do the rest.

Related tools

The tools are free. So is most of the library.

1935 blocks and 989 pieces for shadcn/ui and Tailwind, built on the same tokens these tools write. Install one with a command and the code is yours.

No signup for the tools. MIT for free blocks, commercial licence for Pro.

Markdown version