Flutter 3.50 is live! Read the blog post

Password Generator

Cryptographically secure passwords via Web Crypto API — nothing leaves your browser.

Settings

Length16
664
Character types

Click "Generate Passwords"

Related Tools

// more about this tool

Why use this tool

Reusing the same password, or using one generated by a tool that isn't actually cryptographically random, is how accounts get compromised in bulk. This generator uses the Web Crypto API's crypto.getRandomValues() rather than Math.random(). That distinction matters: Math.random() is a fast, predictable pseudorandom generator meant for things like shuffling a list or picking an animation delay, not for anything security-sensitive, since its output can in some cases be predicted or reconstructed from enough samples. Web Crypto's generator is designed for cryptographic use — the same class of randomness source used to generate session tokens and encryption keys — which is what an actual password needs.

Generation happens entirely in your browser — nothing you generate here is sent to a server, logged, or stored anywhere. Five candidates are generated per click precisely so you aren't anchored to the first result; scan the strength bars and pick the one that fits your target site's requirements.

How it works

  1. Set the length with the slider, from 6 to 64 characters.
  2. Toggle uppercase, lowercase, numbers, and symbols independently — at least one must stay on.
  3. Click Generate passwords to produce five options at once.
  4. Check the strength bar under each one, then copy the one you want.

Example

16 characters, all character types on

K4$mPz9!qLw#2Tdx

FAQ

Is this actually cryptographically secure?

Yes — it draws its randomness from crypto.getRandomValues(), the same browser API used for generating session tokens and cryptographic keys, not from Math.random().

Are generated passwords stored or logged anywhere?

No. Everything happens in memory in your browser tab and disappears when you navigate away or close it.

Why does a longer simple password sometimes score higher than a shorter complex one?

Brute-force resistance scales with the total number of possible combinations, which grows fastest with length. A 20-character password using only lowercase letters has a far larger combination space than an 8-character password using every character type.

What's the maximum length supported?

64 characters, set via the length slider.

Why does it refuse to turn off my last remaining character type?

At least one character type must stay enabled, or there's no pool of characters left to draw from — the toggle for your only remaining active type is disabled until you turn another one on first.

Can I require at least one of each selected character type in every password?

Yes — the generator guarantees at least one character from every enabled type is present in each result, then fills the remaining length randomly from the combined pool, so a password with symbols enabled is never missing one just by chance.