Skip to content
Outilix: all your free online tools, one click away, with Kroma the chameleon

Strong random password generator

Kroma

Pick a length and the character types you want, and the generator builds a random password using your browser's cryptographic random source. It shows the entropy in bits and an estimated crack time. For an important account, use at least 16 mixed characters or a passphrase of 7 words.

  • ✅ Free
  • 🔒 No sign-up
  • 📱 Works on mobile
  • ⚡ Instant results
Loading the tool…

🔒 Everything runs in your browser. Your data and files never leave your device.

How the password is picked

Every character comes from crypto.getRandomValues, the cryptographic random generator built into your browser, not from Math.random, which is predictable. To draw a number from 0 to \( N - 1 \), the tool throws away values that would skew the result (the "modulo bias"), so every symbol has exactly the same chance of appearing.

When you check several types (lowercase, uppercase, numbers, symbols), the generator draws the whole password again until each type shows up. It never forces a type into a fixed position, so there is no pattern an attacker could guess.

\[ \text{entropy (bits)} = \text{length} \times \log_{2} (\text{alphabet size}) \]

A passphrase works the same way with words: entropy = number of words × log₂(list size). Our list has 250 words, or 8.0 bits per word, so you need more words than with a 7,776-word Diceware list (12.9 bits per word).

Length, entropy and crack time

Average crack time is half the search space (2bits−1) divided by guesses per second. The figures below assume an attacker who stole a database of fast hashes and can try 10 billion guesses per second. That is the case that matters, because a well-run site blocks online guessing long before.

PasswordAlphabetEntropyAverage time at 10 billion/sec
8 digits1026.6 bitsunder a second
8 lowercase letters2637.6 bits10 seconds
8 letters + numbers6247.6 bits3 hours
10 letters + numbers6259.5 bitsabout 1 year
12 characters, all types8677.1 bitsabout 259,000 years
16 characters, all types86102.8 bitsabout 14 trillion years

Each extra character multiplies the time by the size of the alphabet, so making a password longer helps more than making it fancier.

Password or passphrase?

A random 16-character password is ideal when a password manager remembers it for you. A passphrase (several random words) is easier to remember, which makes it the right pick for your password manager's master password, your laptop login or an encryption key you have to type by hand.

  • Use a different password for every site, so one breach cannot open your other accounts.
  • Turn on two-factor authentication wherever it is offered.
  • Never build a password from a birthday, a pet's name or a dictionary word with swapped letters ("P@ssw0rd").

3 real-life examples

1

A bank account or your email

You set 16 characters with all four types. The alphabet has 86 symbols, so 16 × log₂(86) = 102.8 bits. Even a GPU cluster making a trillion guesses per second would need more than a hundred billion years on average.

2

Your password manager's master password

Switch to a passphrase with 7 words, hyphens and capital letters, for example Lantern-Tiger-Meadow-Violet-Anchor-Ribbon-Harbor. That is 7 × log₂(250) = 55.8 bits. Add a number at the end \( (+ 6.6 \, \text{bits}) \) or use 9 words to pass 70 bits.

3

A Wi-Fi password you type on a TV

Uncheck symbols and check "avoid look-alike characters". The alphabet shrinks to 56, and 14 characters give 14 × log₂(56) = 81.3 bits: strong, and easy to read without mixing up 0 and O.

Frequently asked questions

How do I make a really strong password?
Use at least 16 random characters with letters, numbers and symbols, or a passphrase of 7 or more words. Use a different password for each site and turn on two-factor authentication.
Is it safe to use an online password generator?
This one is: the password is generated in your browser and nothing goes to a server. You can check by going offline after the page loads; it keeps working.
How long should a password be?
Twelve mixed characters is a reasonable minimum, and 16 is recommended for sensitive accounts such as email, banking and your password manager. Each extra character multiplies the work for an attacker by the alphabet size.
What is password entropy?
Entropy measures unpredictability in bits: n bits means 2 to the power n possible passwords. Above 80 bits resists offline attacks very well, and above 100 bits is out of reach today.
Why avoid look-alike characters?
A capital I, a lowercase l and the number 1 look alike, and so do O and 0. Removing them makes the password easier to read on screen or on paper, at the cost of a slightly smaller alphabet and slightly lower entropy.

How we calculate

Share this page