Email and Cyber Security · #69
Online Password and Passphrase Generator
Generates passwords on your device with cryptographic randomness; nothing is sent or stored.
- Data is processed in your browser and not sent to a server
Tool
What does this tool do?
Guessable and reused passwords are the most common cause of account takeover. The tool uses the browser's crypto.getRandomValues with unbiased (rejection) sampling, guarantees at least one character from each selected group and shows estimated entropy in bits.
How to use it
- Choose password or passphrase mode.
- For passwords set length and character groups, for passphrases the number of words and separator.
- Press Generate; copy the value you like and store it in a password manager.
Fields
- Type
- Length
- Password characters.
- Count
- Uppercase (A–Z)
- Lowercase (a–z)
- Digits (0–9)
- Symbols (!#$%…)
- Exclude look-alikes (O 0 I l 1 |)
- Words
- For passphrases.
- Separator
- Between passphrase words.
- Append two digits
- For passphrases.
Worked example
| Input | Value |
|---|---|
| Type | Password (random characters) |
| Length | 20 |
| Count | 5 |
| Uppercase (A–Z) | ✓ |
| Lowercase (a–z) | ✓ |
| Digits (0–9) | ✓ |
| Symbols (!#$%…) | ✓ |
| Exclude look-alikes (O 0 I l 1 |) | – |
| Words | 5 |
| Separator | - |
| Append two digits | – |
Expected result: Five 20-character passwords from four character groups; about 126 bits of entropy each.
Each press gives different values; the result here is one-off. Above 100 bits is considered practically unbreakable by offline brute force. Do not leave the password on the page; save it in a password manager.
Second scenario
| Input | Value |
|---|---|
| Type | Passphrase (pronounceable words) |
| Length | 20 |
| Count | 3 |
| Uppercase (A–Z) | ✓ |
| Lowercase (a–z) | ✓ |
| Digits (0–9) | ✓ |
| Symbols (!#$%…) | ✓ |
| Exclude look-alikes (O 0 I l 1 |) | – |
| Words | 5 |
| Separator | - |
| Append two digits | ✓ |
Expected result: Three passphrases of 5 pronounceable words plus two digits (e.g. kabeto-rumiza-…-47); about 98.6 bits.
Method and assumptions
Random numbers come from Web Crypto getRandomValues; rejection sampling avoids modulo bias. A password is regenerated until it contains at least one character from each selected group.
Entropy ≈ length × log2(character pool). Passphrase words are three syllables of 14 consonants × 5 vowels (log2(70) ≈ 6.13 bits per syllable).
Using the result and troubleshooting
Use 24+ characters for service accounts and 5–6 word passphrases for master passwords people must remember. Use a different password per system and add MFA.
Limits and common mistakes
- Entropy is an upper bound assuming the attacker knows the method; the 'one from each group' rule lowers it slightly. Passphrase words are pronounceable syllables, not dictionary words.
Frequently asked questions
Are generated passwords saved anywhere?
No. Passwords exist only in the page's memory; they are not written to the URL, cookies, browser storage or analytics and are not sent to a server.
Related tools and service
- SSH Public Key Fingerprint and InventoryDecodes SSH public keys in the browser and produces the same SHA256 fingerprint as ssh-keygen -lf.
Related service: Identity and Access Management