# Free Online Password and Passphrase Generator

> Generate strong passwords and EFF wordlist passphrases in your browser, with exact entropy in bits. Nothing stored or uploaded. Free online, works offline.

Canonical: https://stayslocal.app/dev/password-generator
Last updated: 2026-10-28

A generated password is only as private as the place that generated it. This one is drawn from your browser's cryptographic random source inside this tab: it is never sent anywhere, never written to storage, and never put in the page address, so closing the tab is the end of it.

## Entropy, counted exactly

Strength here is measured in bits of entropy: the base-2 logarithm of how many different results the generator could have produced, each equally likely. Twenty characters drawn from all 94 printable ASCII characters is 20 × log2(94) ≈ 131.1 bits. Requiring at least one character from each set removes the strings that miss one, so the true figure is slightly lower, and the tool counts it exactly by inclusion–exclusion rather than quoting the upper bound. A passphrase is counted the same way: each word from the 7,776-word EFF list adds log2(7776) ≈ 12.9 bits, so six words is about 77.5. Every draw uses rejection sampling, so no character or word is more likely than another.

Fields:
- Length: 8 to 128 characters, 20 by default. Each extra character from the full set adds about 6.55 bits.
- Character sets: Lowercase, uppercase, digits and the 32 ASCII symbols. Nothing outside ASCII, so every result can be typed on any keyboard a sign-up form expects.
- Look-alikes: Optionally drops l, I, |, 1, O and 0 for a password you will read off one screen and type into another device.
- Each set at least once: Satisfied by redrawing the whole password until it qualifies, not by inserting one of each and shuffling, which would make some passwords more likely than others.
- Passphrase words: EFF Large Wordlist (eff.org/dice), CC BY 3.0 US. No word is a prefix of another, so even a passphrase with no separator splits back into words one way only.
- Strength band: Weak under 40 bits, fair under 60, strong under 80, very strong above. No crack-time estimate: that depends on an attacker and a hashing scheme this page cannot know.

## How to generate a strong password online

1. Pick characters or words — Random characters for anything a password manager fills in; a passphrase for the few you have to type or remember.
2. Set the length — Use the longest the site accepts. Check the bits figure rather than the look of the result.
3. Copy it straight into place — Paste it into the sign-up form or your password manager, then copy something harmless to push it out of the clipboard.

## Where a generated password belongs

- A new account, saved straight into a password manager so you never type it.
- A password manager's master password, as a six- or seven-word passphrase you can memorise.
- Wi-Fi network keys, database users and service accounts that need a long random secret.
- Replacing a password that was reused or showed up in a breach notice.

## Questions

**Is the password sent to a server or saved anywhere?**

No. It is generated by crypto.getRandomValues in this tab. The page makes no network request when you generate one, stores nothing in localStorage or cookies, and keeps nothing in the URL — reload and it is gone.

**Is copying it to the clipboard safe?**

Copying is where a generated password most often leaks. Windows clipboard history (Win+V) keeps it and can sync it to your other PCs, Universal Clipboard hands it to your other Apple devices, and many Android keyboards and clipboard-manager apps keep a history. Clear that history after pasting, or turn it off.

**Which is stronger, a password or a passphrase?**

Whichever has more bits. Twenty random characters is about 131 bits; six EFF words is about 77.5. The passphrase is weaker on paper but far easier to type and remember, which is what it is for. Add words, not symbols, to make it stronger.

**Where do the passphrase words come from?**

The EFF Large Wordlist by the Electronic Frontier Foundation, licensed CC BY 3.0 US: 7,776 common, easy-to-spell words, one for each roll of five dice. It loads only when you switch to passphrase mode.

**Why is there no time-to-crack estimate?**

Because it would be invented. Cracking time depends on whether the attacker is guessing online or holds a stolen hash, and on how slowly that site hashes passwords. Bits of entropy is the part that is actually known.

## Related

- [UUID Generator](https://stayslocal.app/dev/uuid-generator): Generate UUID v4 and v7
- [SHA Hash](https://stayslocal.app/dev/sha256-hash-generator): SHA-256, SHA-384 and SHA-512 of text
- [HMAC Generator](https://stayslocal.app/dev/hmac-generator): Sign and verify with HMAC-SHA
- [Developer Tools](https://stayslocal.app/dev): every tool in this family
