BlueCheddar

Password generator

Make a strong random password with your browser's cryptographic generator. It runs on your device, so the password is not sent anywhere and is not saved.


How to make a password

  1. Set the length and the kinds of character the site accepts.
  2. A password appears at once. Press New password for another.
  3. Copy it into your password manager or the site's form.

Questions

Is the password sent anywhere or saved?

No. It is made in this page and stays in its memory until you close the page. The page has no account, and it writes the password to no storage and no log. Our tests look for it in browser storage, cookies, the address and the console. You can check the page's requests yourself.

How is the randomness made?

Every byte comes from crypto.getRandomValues, the browser's cryptographic generator. Nothing uses Math.random, and our tests make it fail on this page to prove that.

How do you avoid modulo bias?

By throwing away bytes that would favor some characters. With 10 digits, bytes from 250 to 255 are thrown away, because using them would make 0 to 5 slightly more common. Our test feeds the code known bytes to confirm this, and runs a chi-square test on 256,000 real characters from each of three alphabets.

What does "bits of randomness" mean?

It counts the equally likely passwords with your settings: 64 bits means 2 to the power of 64 of them. The page works this out exactly, and "at least one of each" lowers it slightly, because it rules some passwords out. It holds only for a password used as generated and kept secret. It cannot see a site that stores passwords badly.

Which symbols does it use?

These 27: !@#$%^&*()-_=+[]{};:,.<>?/~. Quotes, backslashes, backticks and spaces are left out, because they often break forms and scripts. Leave out look-alikes removes I l 1 O 0 o.

Can someone else see it on my device?

Yes, in some cases. A browser extension may read the page, and what you copy stays on the clipboard until something replaces it. A list saved as a file is plain text, so delete it once the passwords are in a manager.