Password Tools
Password Generator
Generator
Strong, random passwords made on your own device. Nothing you make here is sent anywhere or saved, and you can match any site's rules in one paste.
N new C copy
Make several at once
Up to 100, with these settingsHow this password generator works
Every character is picked in your browser with the Web Crypto API, crypto.getRandomValues, the same source of randomness browsers use for encryption keys. It never uses Math.random, which is not meant for secrets.
Picks use rejection sampling: a random number that would make some characters slightly more likely than others is thrown away and drawn again, so every character is exactly as likely as the next. The strength shown is counted exactly from your settings, not guessed from how the result looks.
function rand(n) { // a whole number from 0 to n-1, all equally likely
const lim = Math.floor(2 ** 32 / n) * n, b = new Uint32Array(1);
do crypto.getRandomValues(b); while (b[0] >= lim);
return b[0] % n;
}
Test it yourself. Draw a million characters with the same method and see whether any comes up more often than it should.
Nothing leaves the page: there is no server step, no log and no cookie for this tool. Your settings stay in this browser so the tool opens the way you left it; what you make is never stored. Load the page, turn off Wi-Fi, and it keeps working.
How long should a password be?
Length matters more than anything else. The US National Institute of Standards and Technology now asks sites to require at least 15 characters when a password is the only thing protecting an account, and at least 8 when it is used with a second factor (NIST SP 800-63B, 2025). Here is what each length gives you against a stolen database stored with a fast hash:
| Length | Lowercase and digits | Letters and digits | Letters, digits and symbols |
|---|---|---|---|
| 8 | instantly | about a minute | about 30 minutes |
| 10 | about 17 minutes | about 3 days | about 6 months |
| 12 | about 16 days | about 29 years | about 4,300 years |
| 14 | about 55 years | about 112,000 years | about 38 million years |
| 15 | about 2,000 years | about 7 million years | about 3.6 billion years |
| 16 | about 72,000 years | about 430 million years | about 335 billion years |
| 20 | about 121 billion years | about 1015 years | about 1019 years |
Average time for eight RTX 5090 graphics cards trying 1.76 trillion MD5 guesses a second, from published hashcat benchmarks. A site that stores passwords with bcrypt slows the same attack down by millions of times; a site that stores them badly does not, and you cannot tell which kind of site you are using. So pick a length that is safe either way: 15 or more, and 20 when the site allows it.
What makes a password strong
- Random. A password you invent follows patterns that cracking tools try first: words, names, dates, a capital at the start and a digit or ! at the end. Swapping letters for look-alike symbols (p@ssw0rd) is in every list too.
- Long. Each extra character multiplies the work. Going from 12 to 16 characters makes a password about 80 million times harder to guess.
- Used once. When one site leaks, attackers try the same email and password everywhere else. A unique password for every site stops that, which is why a password manager is the real answer.
Strong password examples
Each line shows a kind of strong password this tool makes. Because they are published here, never use these exact ones: make your own above.
| Kind | Example | Strength |
|---|---|---|
| Random, 16 characters | v7Gq#Kd2!mXp9w=R | about 98 bits |
| Random, 20 characters | hT4@zN8q-Wc3^bY6sR2k | about 122 bits |
| Letters and digits, 20 | Q8vRmd3TzKa7hXp2NbWs | about 116 bits |
| Passphrase, 6 words | Mulch-Tarot-Enjoyer-Slab-Viewing-Crate4 | about 83 bits |
| Memorable, 4 words | Sobeku-dirata-vuhope-zamige-27 | about 83 bits |
The strength is worked out from how each was made, the same way the meter above does it. A password that only looks complicated, such as P@ssw0rd2024!, is far weaker than its symbols suggest: the strength checker shows why.
When a site has its own password rules
Some sites cap the length at 16 or 20, refuse certain symbols or limit how many identical characters may sit in a row. Type the site's address into “Match a site's rules” and the generator sets itself from Apple's open list of password rules for 458 sites, the list password managers use. For any other site, paste the rules its sign-up page shows: the tool reads lengths such as “8 to 16 characters”, required kinds such as “one uppercase letter and one number”, lists of allowed symbols, “no repeated characters” and “must begin with a letter”. Everything it applied is listed so you can check it, and you can still change any setting by hand.
Password, passphrase or PIN?
Use a random password for anything a password manager fills in for you. Use a passphrase for the few you type from memory, such as the password manager itself or your computer login: six random words are about as hard to guess as a 12-character random password and far easier to remember. A memorable password made of pronounceable syllables sits in between. For phones, cards and door codes, the PIN generator leaves out the codes people pick most often, such as 1234 and birth years. Setting up a router? The Wi-Fi password generator makes one that is easy to type on a TV and gives you a QR code guests can scan.
Questions
Is it safe to use an online password generator?
It is when the password is made on your device and never sent anywhere, which is how this one works. You can check: open your browser's network panel and press New password; no request is made.
Do you store or see the passwords?
No. They are created in your browser and disappear when you leave the page. Only your settings, such as the length, are remembered in this browser.
Why skip look-alike characters?
0 and O, or 1, l and I, are easy to mix up when you read a password from a screen or type it on a TV remote. Leaving them out costs very little: a 20-character password still has more than 120 bits of randomness.
What does “bits of randomness” mean?
It counts how many passwords your settings could produce. Every extra bit doubles the number: 80 bits means 280, about 1.2 septillion, possible passwords. We count them exactly from your settings, including rules such as “every kind at least once”, rather than guessing from the password's appearance.
Is a 12-character password strong enough?
Only if it is random and the site stores it well. Against a fast hash, a random 12-character password with symbols holds for thousands of years, but one with only lowercase letters and digits falls in about two weeks. 15 characters or more removes the doubt.
Should I change my passwords every few months?
No. NIST advises against forced periodic changes because they push people towards weaker, predictable passwords. Change a password when there is a sign it leaked, and use a unique one for every site.
What should I do with the password now?
Save it in a password manager before you close the page, and turn on two-step verification or a passkey where the site offers one. Clear your clipboard if you share the computer.
Sources: NIST SP 800-63B, MDN: Crypto.getRandomValues, RTX 5090 hashcat results. Site rules: Apple password-manager-resources (MIT License). Checked November 7, 2026.