Account

What new tool do you want?

Generators

Password Generator

Generate strong, random passwords with your choice of length, letters, numbers and symbols — created securely in your browser.

How to use

  1. 1Choose the length and which character types to include.
  2. 2Press Generate and copy a password. Nothing is sent or stored.

How it's calculated

Entropy = length × log₂(pool size). Characters are chosen with the browser's cryptographic random generator (crypto.getRandomValues).

Frequently asked questions

How long should a password be?

At least 12–16 characters for accounts, and 20+ for password-manager master passwords or encryption keys. Length adds more strength than symbols.

Are these passwords stored or sent anywhere?

No. They're generated on your device with a cryptographically secure random generator and never leave your browser.

What does 'exclude ambiguous characters' do?

Removes characters that look alike — I, l, 1, O, 0 and similar punctuation — so passwords are easier to read and type by hand.

The randomness source, specifically

Every character comes from the browser's `crypto.getRandomValues` API, pulled through a uniform picker (`pool[Math.floor(rng() * pool.length)]`) — this is a cryptographically secure generator, not `Math.random()`, which is what you actually want for anything protecting an account or an encryption key. The password never leaves your device: it's built and displayed entirely client-side, nothing is transmitted or logged.

How a password gets built, and the one retry rule

The generator picks each character independently from the combined pool of every character set you've enabled, then checks that at least one character from every enabled set actually appears in the result — if your 4-character password happens to roll all digits when you also asked for symbols, it retries (up to 1000 times) until every set is represented, or falls back to placing one guaranteed character per set. This means a short password with many character types enabled isn't perfectly uniform in the strict mathematical sense, but it guarantees you actually get the variety you asked for instead of occasionally getting an all-lowercase string from a mostly-lowercase pool.

Reading the entropy number honestly

The displayed bit count is length × log₂(pool size) — a 16-character password using all four sets (26+26+10+25 = 87 characters) comes out to exactly 103 bits, comfortably in 'very strong' territory (the tool's own threshold for that label is 80+ bits). Turning on 'Exclude ambiguous characters' shrinks the pool (removing I, l, 1, O, 0 and a few punctuation marks) and therefore lowers entropy slightly for the same length — worth knowing if you're tuning a password to a specific strength requirement rather than just making it 'strong enough'.

Worked example: Password Generator

Length 16 with all four character types on (and ambiguous characters not excluded) draws from an 87-character pool, giving 16 × log₂(87) ≈ 103 bits of entropy — the tool labels that 'Very strong.' A typical output looks like `qT8#mZx2!pLk9@Wn` — notice it's guaranteed to contain at least one uppercase, one lowercase, one digit and one symbol, not just 16 random picks that happened to include all four by luck.

Turning every character type off still gives you a password

If uppercase, lowercase, numbers, and symbols are all switched off, the generator does not show an empty result or an error. It falls back to lowercase letters only, so you still get a password. Length is kept between 4 and 128 characters: a smaller number is raised to 4, and a larger one is cut to 128, with 16 as the length you start with. How many is kept between 1 and 100, and it starts at 5. The strength label beside the bit count is Very strong at 80 bits or more, Strong from 60, Fair from 40, and Weak below that. Those labels follow the bit count after any change to length or to the character sets, including the smaller pool you get when ambiguous characters are excluded.

Related tools

More: Generators