A password generator that never sees your password
A password is only as private as the place where it was created. Many online generators produce the string on their server and send it to you, which means a third party briefly knows a secret that is supposed to be known by you alone. This generator works differently. The password is assembled by JavaScript running inside your own browser tab, using the secure random number generator built into your device. It is never transmitted, never logged and never saved; when you close the tab it is gone, so copy it into your password manager before you leave.
How to generate a strong password
- Choose a password type: random characters for the strongest result, a passphrase of words for something you may need to type by hand, or a PIN for numeric locks.
- Adjust the options. For random passwords that means the length and which character types to include; for a passphrase, the number of words and the separator.
- Press Generate password. The strength meter shows the entropy in bits and a plain-language estimate of how long a determined attacker would need.
- Use the Copy button next to the result, paste it into your password manager or the account settings page, and save it right away.
What makes a password strong?
Strength comes from unpredictability and length, not from clever substitutions. A password such as "P@ssw0rd!" follows a pattern attackers know by heart, whereas a string chosen completely at random has no pattern to exploit. The measure security people use is entropy, counted in bits. Each additional bit doubles the number of guesses an attacker needs. A password with 40 bits needs about a trillion guesses in the worst case, while 80 bits needs a trillion times a trillion, which is far beyond anything that can be tested in practice.
Modern guidance, such as the digital identity recommendations published by the US standards body NIST, has moved away from forcing odd character rules and frequent changes. It favors long passwords, allows pasting from password managers and suggests changing a password when there is evidence it has been exposed, not on a fixed schedule. Length is the cheapest strength you can buy: every extra character multiplies the work for an attacker.
| Type and size | Approximate entropy | Practical meaning |
|---|---|---|
| 6-digit PIN | 20 bits | Fine for a device that locks after a few wrong tries; never for an account that can be attacked offline |
| 8 random characters, all types | about 51 bits | Minimum for low-value accounts |
| 12 random characters, all types | about 77 bits | Solid for most online accounts |
| 16 random characters, all types | about 103 bits | Very strong; the default setting |
| 6-word passphrase | about 53 bits | Memorable; add words for more strength |
| 10-word passphrase | about 88 bits | Strong and still easy to type |
Random characters, passphrase or PIN?
Random characters
This is the best choice for anything stored in a password manager, because you will never need to remember it. A 16-character mix of lowercase letters, uppercase letters, numbers and symbols gives roughly 103 bits of entropy. The generator also guarantees at least one character from every set you tick, so sites with composition rules accept the result on the first try. If you ever have to read a password aloud or type it from a printed sheet, tick Exclude look-alike characters to remove 0, O, 1, l, I and the vertical bar, which are easy to confuse.
Passphrase
A passphrase strings together several random common words, such as "Meadow-Lantern-Copper-Orbit-Willow-Rabbit". It is easier to remember and to type on a phone than a jumble of symbols, which makes it ideal for the few passwords you must know by heart: your computer login, your password manager's master password or your disk encryption key. The key is that the words are chosen by the computer, not by you; a phrase you invent, such as a favorite quote, is far weaker than it looks. Each word from this tool's list adds about 9 bits, so use six words as a minimum and eight or more for something you want to protect for years.
PIN
A PIN is short by design, so the meter honestly rates it as weak. That is acceptable for phone and bank-card locks because the device or bank limits the number of attempts. Do not use a PIN as the only protection of an online account.
How the entropy and crack-time estimates work
Entropy is calculated from the size of the pool and the length: the logarithm of the pool size, multiplied by the number of characters. For passphrases the pool is the word list. The crack-time line assumes an attacker who has stolen a database and can test ten billion guesses per second, which is a generous figure for a single powerful graphics card against a fast hash function. Real systems that use slow, salted hashing such as bcrypt or Argon2 are many orders of magnitude harder to attack, and live login forms usually block repeated guesses. The number is therefore a conservative teaching aid, not a guarantee.
Where the randomness comes from
The generator uses the browser's cryptographically secure random source, crypto.getRandomValues, the same facility that secures HTTPS connections. It does not use the ordinary Math.random function, which is predictable and unsuitable for secrets. To pick a number in a range, the code rejects values that would cause bias, so every character or word has exactly the same chance of being chosen. The tool then shuffles the guaranteed characters into random positions.
Habits that matter more than the generator
- Use a different password for every account. Reuse is the biggest real-world risk, because one leaked site exposes all the others.
- Store passwords in a reputable password manager and protect it with a long passphrase generated here.
- Turn on two-factor authentication wherever it is offered, preferably with an authenticator app or a hardware key.
- Avoid sharing passwords by email or chat. If you must share access, use the sharing feature of your password manager.
- Remember the clipboard. Other programs on your device may read copied text, so paste the password promptly and clear the clipboard afterwards if you are on a shared computer.
Nothing here is stored or sent, and the page works offline after loading, so you can generate a password even when you are not connected.
Frequently asked questions
Is this password generator safe to use?
Yes. Passwords are generated inside your browser with the secure random number generator built into your device. They are never sent to a server, never stored in a cookie or in local storage, and disappear when you close the tab. Copy the password into your password manager straight away.
How long should my password be?
For accounts you protect with a password manager, use at least 16 random characters. For a passphrase that you have to remember, use at least six random words. Length matters more than complexity, so when in doubt, make it longer.
Should I choose random characters or a passphrase?
Choose random characters for anything stored in a password manager. Choose a passphrase for the few secrets you must type or memorize, such as a device login or the master password of your manager. Both modes use real randomness, so both are strong when long enough.
What do "bits of entropy" mean?
Entropy measures unpredictability. Each bit doubles the number of guesses needed to find the password by trial. A password with 80 bits needs about a trillion trillion guesses in the worst case, which is out of reach for any attacker today.
How is the "time to crack" estimated?
The tool assumes an attacker testing ten billion guesses per second against a stolen, quickly hashed password, and uses the average of half the possible combinations. Real services with slow hashing and login limits are much tougher, so treat the figure as a cautious comparison between settings, not as a promise.
Do I really need symbols?
Symbols enlarge the pool of possible characters, but extra length helps even more. A longer password made only of letters and numbers can beat a short one with symbols. Keep symbols on when a site demands them, and turn them off when a system rejects certain characters, then increase the length instead.
Why is a PIN rated as weak?
A six-digit PIN has only a million combinations, which a computer can try in a moment if it can test guesses freely. PINs are acceptable for phones and bank cards because those devices and banks limit failed attempts, but they are not strong enough to guard an online account.
Should I change my passwords regularly?
Current guidance recommends changing a password when you suspect it has been exposed, for example after a data breach, rather than on a fixed schedule. Forced regular changes tend to push people towards weaker, predictable passwords. A unique, long, random password and two-factor authentication matter more.
Related tools
Need custom software, a faster website or help with digital projects? The team at Bilişim Ajans can help.