Password Generator and Random String Generator
Choose the length and character sets, then generate several random passwords at once.
- Fast hash (MD5), one RTX 4090
- bcrypt (cost 5), one RTX 4090
Average time to guess offline if the attacker knows how it was made. Speeds: hashcat benchmark, 163.4 billion and 212,600 guesses per second. Strength bar: zxcvbn score from the number of possible passwords (limits 10³, 10⁶, 10⁸, 10¹⁰).
Words are drawn from the 7,776-word list of EFF Dice-Generated Passphrases (Electronic Frontier Foundation, CC BY 4.0)
Runs entirely in your browser. Nothing you enter is sent or stored.
How to use
- Pick a preset, or choose a mode: Random, Passphrase or PIN.
- Set the length or number of words and the options, such as avoiding look-alike characters.
- Check the strength bar and estimated crack times; press Generate for a new batch.
- Copy the first result, copy the whole list, or download it as a .txt file.
Each character is picked independently and uniformly from the selected sets. 20 characters from letters and digits (62 symbols) give about 119 bits of entropy; adding the 10 symbols (72 in total) gives about 123 bits.
Passphrase mode joins random words from the EFF long word list. Each word adds about 12.9 bits, so five words give about 64.6 bits and six give about 77.5 bits; they are easier to type and remember than random characters of similar strength. PIN mode makes random 4 to 12 digit codes. The strength bar uses the score scale of zxcvbn, the open-source estimator used by LastPass: 0 below 10³ possible passwords, 1 below 10⁶, 2 below 10⁸, 3 below 10¹⁰ and 4 above. The crack times assume the attacker knows how the password was generated and has its hash: the average number of guesses, half of all possibilities, divided by a measured hashcat speed on one RTX 4090.
Use cases & tips
Typing one on a TV or game console
Streaming apps and consoles make you enter passwords with a remote or a gamepad, one slow click at a time. For these, turn on the look-alike option so I, l, 1, O and 0 are never used, and keep to letters and digits, for example hN4rWc8TpZ3vBe6yQs2D. Twenty characters from 62 symbols is still far beyond any realistic guessing, and you will not mistake a capital I for a lowercase l halfway through typing.
Sites with picky password rules
Many sites demand at least one digit and one symbol, while others reject certain symbols outright. Because each character is drawn independently, a plain random password can occasionally miss a required group. Switch on the option for at least one of each selected set to avoid retries. If a site refuses a character, type it into the exclude box and generate again. Both options simply redraw until the result fits, so the leftover characters stay evenly random.
A passphrase for the one you must remember
You cannot store every secret in a password manager: the manager's own master password, your laptop login and a disk encryption key have to live in your head. Passphrase mode suits these. Five or six random words joined by a separator, such as capitalized words with hyphens, are much easier to recall and to type on a phone than twelve random symbols. Never reshuffle the words or swap one for a favorite; picking them yourself ruins the randomness.
Batches, PINs and where to keep the results
Setting up temporary accounts for a team, or Wi-Fi codes for a rented flat, is easier when you generate a batch and download it as a text file. Move the values into a password manager and delete the file afterward. A PIN is a different tool: four digits give only 10,000 combinations and six give a million, so use one only where the system locks after a few wrong tries, never as a website password.
Frequently asked questions
Which characters are used?
Lowercase a-z, uppercase A-Z, digits 0-9, and optionally 10 symbols: ! @ # $ % ^ * + = -.
How random are the passwords?
They use the browser’s crypto.getRandomValues with rejection sampling, so every allowed character is equally likely. Nothing is sent or stored.
What does the rule check mean?
A password passes when it has 8 or more characters, at least one letter or digit, and at least one of the symbols above. Characters are picked independently, so a password may miss a symbol; generate again if needed.
What does the strength bar mean?
It applies the zxcvbn score to the number of possible passwords, 2 to the power of the entropy. Below 10³ is 0 (too guessable), below 10⁶ is 1, below 10⁸ is 2, below 10¹⁰ is 3 (safe against offline attacks on a slow hash such as bcrypt) and anything above is 4. A 6-digit PIN has 10⁶ possibilities and scores 1.
How is the crack time estimated?
Entropy in bits counts the possible outputs. On average an attacker must try half of them. That number is divided by 163.4 billion guesses per second for MD5 and by 212,600 for bcrypt with 32 iterations, both measured with hashcat on one RTX 4090. Sites that use slow hashes and lock accounts after wrong attempts are much harder to attack.
Is a passphrase safer than a random password?
Strength depends on entropy, not on style. Six random words (about 77.5 bits) roughly equal 13 random characters from 62 letters and digits. Passphrases are easier to type on phones and TVs.
What do the presets do?
Website login: 16 characters with every set. Wi-Fi: 20 letters and digits without look-alike characters, easy to type on a TV. Maximum security: 32 characters. Memorable: 5 capitalized words with a digit. 6-digit PIN: digits only.