16-character password generator

Generate random 16-character passwords from 86 characters: capital and small letters, numbers and special characters. Each password has about 102 bits of entropy.

Settings (current step)

Type
characters

From 4 to 128 characters.

Characters to include

Generated passwords

Please complete the details. The result will appear here.

How it is calculated

  1. Random numbers come from the browser's Web Crypto interface (crypto.getRandomValues), which is designed for security uses such as passwords. Values that would make some characters more likely are discarded, so every character has the same chance.
  2. A random password first takes one character from each selected type, fills the rest from all allowed characters, and then shuffles them. Each selected type therefore appears at least once, in a random position.
  3. Each digit of a PIN is chosen at random from 0 to 9, about 3.3 bits per digit.
  4. Entropy = length × log₂(number of allowed characters). The default letters, numbers and special characters make 86 characters, so 16 characters give about 102 bits.
  5. All calculations are done in your browser. The details you enter are not sent to any server.