
Last checked by the TextEditor.com team
Is this password generator safe to use?
Yes, and you can check it yourself. The password is made by code on this page, inside your browser. The code uses crypto.getRandomValues, the secure random source that every modern browser has built in.
Nothing goes to our server. The page also loads no ads, chat boxes or tracking scripts, because an outside script could read what is on the screen. Once the page has loaded, it works offline. Switch off your Wi-Fi, press New password and it keeps working.
- Your deviceYou open this page. The code arrives once, like any web page.
- The browser random sourceYour browser asks the operating system for random numbers. They can't be predicted.
- The resultThe password shows on your screen. It is not saved and not sent.
Want to know who makes this site and how we test the tools? Read our about page and testing notes.
How long should a password be?
Length matters most. In August 2025 the US NIST published new password rules, SP 800-63B Revision 4. Section 3.1.1.2 says a password used on its own must have at least 15 characters. A password used together with a second step, like a code from an app, must have at least 8.
The same rules tell sites to stop forcing a mix of letters, digits and symbols. Sites should also stop asking you to change passwords on a schedule. You change one when there are signs it has leaked.
Each extra character multiplies the number of possible passwords by the size of the pool. With all 94 printable characters, one more character means 94 times more passwords to try. We don't show crack times. They depend on the attacker's computers and on how the site stores passwords.
15 characters × 6.55 bits = 98 bits
Possible passwords: 298, a number with 30 digits
Bits use base 2. Every bit doubles the number of passwords an attacker has to try.
| Length | Letters and digits (62) | With symbols (94) |
|---|---|---|
| 8 | 48 bits | 52 bits |
| 12 | 71 bits | 79 bits |
| 15 | 89 bits | 98 bits |
| 20 | 119 bits | 131 bits |
| 30 | 179 bits | 197 bits |
What password entropy means
Entropy tells you how hard a random password is to guess. It is counted in bits. One bit is one yes or no question. A password with 40 bits takes up to 240 guesses, which is about 1.1 trillion. Each extra bit doubles the work.
The formula is short: bits = length × log2(pool size). The 94 printable characters are the letters, digits and 32 symbols of the ASCII character table. Each one gives 6.55 bits, so 20 of them give 131 bits.
The formula only works for passwords picked at random, like the ones on this page. A password you think up yourself has much less. People use names, dates and words, and cracking programs try those patterns first. "Summer2024!" has 11 characters, but it follows a pattern that gets guessed early.
These numbers follow the settings in the tool at the top. Change them there and watch them move.
Passphrase or random password?
A passphrase is a few random words, like "decaf activity groovy sharply vitality stinging". The idea comes from Diceware, a method by Arnold Reinhold. You roll five dice and look up the word for the result in a list of 7,776 words.
This page uses the large word list that the Electronic Frontier Foundation (EFF) made for five dice in 2016. The number 7,776 is 65, every result five dice can show. Each word adds log2(7,776), about 12.9 bits. Six words give about 77.5 bits.
Random characters pack more bits into each character. Words are easier to type on a phone and to read out loud. Use a passphrase for the few passwords you must remember, like your password manager or your computer login. Let the manager make random ones for everything else.
| Type | Example | Bits | Length | Easy to type | Easy to say out loud |
|---|---|---|---|---|---|
| Random, all characters | vK8#qT2!mZ$w9Lp&4Rx^ | 131 | 20 | No | No |
| Random, letters and digits | 2d42kdDiVGE9Dbbc | 95 | 16 | Fairly | Fairly |
| Passphrase, 6 words | amino disregard ploy tainted unholy reprogram | 78 | About 47 | Yes | Yes |
| Passphrase, 5 words | circular tapioca hunchback settle oblivious | 65 | About 39 | Yes | Yes |
| PIN, 6 digits | 198166 | 20 | 6 | Yes | Yes |
Examples only, so don't use them. Words in the list have 7 letters on average, so passphrase length varies.
Why "P@ssw0rd" style swaps do not help
Swapping letters for look alike signs, like a to @ and o to 0, feels clever. Cracking programs know these swaps and try them early. The result is still close to a word from a dictionary.
Our old password tool worked this way. It took the text you typed, swapped a few letters (B to 3, I to 1, A to 4) and filled up the rest with a random function that is not safe for passwords. Similar input gave similar passwords. We removed it and built this tool from the ground up on the secure random source.
$un$h1n3
Formula: 52 bits. In real life it is close to a dictionary word, so it falls fast.
#06i}a<_
Formula: 52 bits. Each character was picked at random, so the formula holds.
The formula gives both the same number. Only the random one really has that strength.
Keep it safe after you make it
A strong password helps only while it stays secret and you use it in one place. A password manager remembers your passwords for you. The one built into your browser is fine, and so are separate apps. Lock your phone and computer with a PIN or fingerprint, so nobody else can open the manager.
- Use a different password for every account. If one site leaks, the leak opens only that site.
- Turn on two step login or passkeys when a site offers them.
- Look at the address bar before you type a password. A link in an email can lead to a fake site, like "paypa1.com", that copies the real one.
- Don't send passwords by email or chat. Share them through your password manager or in person.
Every tool on this site runs in your browser in the same way. The online text editor keeps your notes on your device, not on our server.
Where will you use it? Pick one, and the tool at the top switches to our suggestion.
Passwords you have to type or read out
Some passwords get typed by hand, like a Wi-Fi code on a smart TV. Tick "Avoid look alike characters" so l, 1, I, O and 0 never show up. Or switch to passphrase mode, because words are much easier to read off a card. To let guests join without typing at all, put the network in a Wi-Fi QR code.
When you read a password out loud, split it into blocks of four. Spell each letter with the NATO alphabet, like Alfa, Bravo and Charlie, and say "capital" before capital letters. Our NATO alphabet page lists all 26 code words.
In blocks of four
k7#Q p2Xz
Spelled out
- ksmall kilo
- 7seven
- #hash
- Qcapital Quebec
- psmall papa
- 2two
- Xcapital X-ray
- zsmall zulu
The box starts with your newest password from the tool. You can also type a code you already have. It stays on this page.