JSON Parser

Strong Password Generator

Create random passwords in your browser using the Web Crypto API (crypto.getRandomValues), the secure random source built into every modern browser. Pick a length from 8 to 64, choose character types, avoid look-alike characters, generate up to 20 at once, and see the strength in bits of entropy. Passwords are never sent anywhere or stored.

How to generate a strong password

  1. Drag the Length slider. 16 or more is a good default; 20 is set by default.
  2. Choose which types to include: lowercase, uppercase, numbers and symbols. At least one character from every selected type is always included.
  3. Turn on Avoid look-alikes if you'll type the password by hand and want to skip characters like I, l, 1, O and 0.
  4. Click Copy next to the password you want, and save it in a password manager.

What the strength meter means

Entropy in bits estimates how many guesses an attacker would need: it is the password length multiplied by log2 of the number of possible characters. Each extra bit doubles the work. With all four character types the pool is 89 characters, so:

PasswordEntropyRating
12 characters, all types78 bitsGood
16 characters, all types104 bitsStrong
20 characters, all types130 bitsExcellent
32 characters, all types207 bitsExcellent
16 letters and digits only (62 characters)95 bitsStrong
16 lowercase letters only75 bitsGood

The meter labels under 40 bits Weak, 40–59 Fair, 60–79 Good, 80–109 Strong, and 110 or more Excellent. Length helps more than complexity: adding four characters beats adding a symbol.

How the passwords are generated

Each character is picked with rejection sampling, which avoids the small bias you get from the usual random % n shortcut, so every allowed character is equally likely. The characters are then shuffled so the guaranteed ones don't sit in predictable positions. This is a random generator, not a pattern- or dictionary-based one, so results look unmemorable by design.

Password best practices

  • Use a different password for every account, so one leak can't unlock the rest.
  • Store them in a password manager instead of trying to remember them.
  • Turn on two-factor authentication wherever it's offered.
  • Don't reuse generated passwords across sites, and don't share them over chat or email.

Related tools

Create unique IDs with the UUID generator, fingerprint text with the hash generator, or encode secrets for config files with Base64. Remember that Base64 and hashing are not substitutes for a strong password.

Frequently asked questions

How long should a password be?
Length matters most. 16 or more characters with a mix of types is a strong choice for most accounts; use a password manager so you don't have to remember them.
Are the passwords really random and private?
They come from crypto.getRandomValues, the browser's secure random generator, and are never sent to a server or saved. Everything runs in your browser — nothing you enter is uploaded to a server.
What does entropy mean?
Entropy in bits estimates how hard a password is to guess: length multiplied by log2 of the number of possible characters. Above about 80 bits is very strong against guessing.
Handles JSON files up to 20MB smoothly