How the generator works
The page asks your browser for random numbers through the Web Crypto API (crypto.getRandomValues). To turn a 32 bit random value into a character, it uses rejection sampling: values from the incomplete last block are thrown away and drawn again, so every character in the pool has exactly the same chance. A plain remainder operation would slightly favor the first characters, which is called modulo bias.
Each password contains at least one character from every set you select. Those characters are placed first, the rest are drawn from the full pool, and a Fisher-Yates shuffle with the same unbiased random source mixes the positions.
Privacy
Passwords are generated on your device and shown only on this page. They are not sent over the network, not saved in local storage and not written to the browser console. When you leave the page they are gone.
Store each password in a password manager instead of a text file. Compare options such as Bitwarden, Vaultwarden for self-hosting, or the offline KeePassXC in our password manager directory.
How strength is rated
The entropy shown is length multiplied by the base 2 logarithm of the pool size, for example 20 characters from 94 symbols gives about 131 bits. Requiring one character of each set lowers the true figure by a fraction of a bit, so the value is rounded down.
- Under 50 bits: weak, within reach of offline cracking.
- 50 to 69 bits: fair, acceptable only where login attempts are rate limited.
- 70 to 99 bits: strong for everyday accounts.
- 100 bits or more: very strong, suitable for encryption keys and master passwords.
Tips and limits
- If a site rejects some symbols, turn Symbols off and add four or five characters of length instead.
- For API keys and app secrets, keep them in a secrets manager rather than in code.
- Entropy only describes random passwords. It does not apply to passwords you invent or edit by hand.
- Need placeholder text for a signup form mockup? Use the lorem ipsum generator.
Frequently asked questions
Are the passwords sent or saved anywhere?
No. Each password is created in your browser and exists only on this page. Nothing is sent to iThub, written to browser storage or logged. Reloading or closing the tab discards it, so copy it into your password manager first.
How random are the passwords?
crypto.getRandomValues, the cryptographically secure generator built into your browser. Each character is chosen with rejection sampling, which discards random values that would make some characters more likely than others.What does the entropy figure mean?
Entropy in bits measures how many guesses a full search would need: 2 to the power of the bit count, assuming the attacker knows your settings. Each extra bit doubles the work. Around 80 bits is beyond practical offline attacks today, and 100 bits or more leaves a wide margin.
What length should I choose?
Use 16 characters or more with all four character sets for accounts you log in to through a password manager. For a master password you type by hand, prefer a longer password you can type reliably. Length adds more strength than symbols do.
Why exclude look-alike characters?
Characters such as 0 and O or 1, l and I are easy to confuse when you read a password aloud or type it from a screen. Excluding them makes the pool slightly smaller, which the entropy figure accounts for.
Can I generate passphrases?
Not on this page. A passphrase generator needs a large published word list, and this page only ships character sets. For passphrases, use the generator built into a password manager such as Bitwarden or KeePassXC.
