password — generate strong random passwords
SYNOPSIS
password [options] [length]
DESCRIPTION
Generates passwords with the browser's cryptographically secure random source (crypto.getRandomValues). Characters are drawn without modulo bias (rejection sampling), and every enabled class — lowercase, uppercase, digits, symbols — appears at least once. Look-alike characters (0/O, 1/l/I) are left out. The length defaults to 20 (min 8, max 128); the estimated entropy is shown below.
Nothing is sent anywhere: the password exists only in this page.
OPTIONS
-n <count> generate several passwords (max 20) --no-symbols letters and digits only -c, --copy copy the (last) password to the clipboard
USE CASES
- a new password for an account, to store in your password manager;
- secrets for API keys, databases or Wi-Fi networks;
- several candidates at once with -n, to pick the one you prefer.
HOW STRONG IS IT?
Entropy measures how hard a password is to guess: every extra bit doubles the work of a brute-force attack. The default 20 characters from a 74-character alphabet give about 124 bits — far beyond what any attacker can brute-force. 80 bits already resists offline cracking; 128 bits matches a strong cryptographic key.
EXAMPLES
password password 32 password -n 5 --no-symbols 16 password -c 24