Swarmval
Free tool

Generate a strong password or passphrase

Built in your browser with the Web Crypto API — the same cryptographically secure randomness your OS uses, never Math.random. The entropy meter shows exactly how hard it is to guess. Nothing is uploaded, nothing is saved.

Settings

20

Everything runs in your browser. Nothing is uploaded, logged, or saved. Reload the page and it is gone.

Your password

Entropy

Strength

Guess time*

*Time for an offline attacker trying 100 billion guesses/second to search half the keyspace. Honest order-of-magnitude, not a promise.

Generate on your iPhone instead.

Password Generator runs on-device with SecRandomCopyBytes, full Diceware passphrases, per-site rule presets, and auto-clear clipboard — no ads, no account, no weekly subscription.

Get Password Generator
Reference

How many bits of entropy is enough?

Everyday accounts

Forums, newsletters, shopping logins. Aim for 60+ bits — about 12+ random characters or 5+ words. Brute-force-safe for the next decade.

Email & social

The accounts that reset everything else. Aim for 70+ bits — 16+ characters or 6+ words. These are worth memorizing as a passphrase.

Banking & master passwords

Bank, work SSO, password-manager master. Aim for 80+ bits — 20+ characters or 7+ words. Length beats forced symbols, per NIST.

FAQ

About passwords and this tool

Is this password generator safe to use in a browser?

Yes, with the caveat that matters: this tool generates passwords entirely in your browser using the Web Crypto API (crypto.getRandomValues), the same cryptographically secure random source your operating system uses. Nothing is sent to a server — there is no network request on the generate path, no logging, no history. The safest place to generate a high-value password is still on a device you trust; for that, the on-device iPhone app is the better home.

Does it use Math.random?

No. Math.random is predictable and must never be used for passwords. This tool uses crypto.getRandomValues with unbiased rejection sampling, so every character or word is drawn with equal probability from a cryptographically secure source. That is the same standard the Swarmval Password Generator app uses on iPhone via SecRandomCopyBytes.

What is entropy, and how many bits do I need?

Entropy measures how hard a password is to guess, in bits — each extra bit doubles the work an attacker must do. Rough targets for 2026: 60+ bits is brute-force-safe for ordinary accounts for the next decade; 77+ bits is appropriate for banking, email, and a password-manager master password. This tool shows the exact bits for whatever you generate so you are not guessing.

Should I use a random password or a passphrase?

Use whichever you can actually remember without writing it down. For accounts you type by hand (laptop login, password-manager master, work SSO), a multi-word passphrase wins — it reaches high entropy while staying memorable. For accounts you only ever access through a password manager, a long random string is fine because you will never type it. The worst password is the one you stick on a Post-it because you could not remember it.

Why do some App Store password apps charge $19.99 per week?

Generating a strong password is a one-line operating-system call with no server cost, yet this category was called out by The Washington Post, 9to5Mac, and Sophos as one of the App Store’s most extreme “fleeceware” categories — apps billing $19.99 per week for it. The weekly billing is the trap. Swarmval Password Generator ships at fair pricing: a free tier, $4.99/month (3-day trial), $14.99/year, or $19.99 once for lifetime — never weekly.

Where should I store the password after I generate it?

In a password manager — iCloud Keychain, 1Password, or Bitwarden — not on paper or in Notes. A generator’s job ends when the password exists; a manager’s job is to remember it and fill it. This tool is stateless on purpose: it shows the password, you copy it into your manager, and it forgets it.

Next steps: how to create a strong password on iPhone, see what a weekly app really costs with the subscription cost calculator, or get Password Generator for iPhone.