Tools
Password Generator
Generate cryptographically secure passwords and passphrases. Uses the Web Crypto API — nothing leaves your browser.
Generating...About This Tool
Generate strong, random passwords using the browser’s cryptographic random number generator (crypto.getRandomValues). Choose between character-based passwords and Diceware-style passphrases for maximum security. Rejection sampling eliminates modular bias for uniform randomness.
Features
Crypto-secure randomness — uses Web Crypto API with rejection sampling
Password & passphrase modes — character-based or word-based
Entropy estimation — bits of entropy calculated in real-time
Crack time estimate — how long to brute-force at 1 trillion guesses/sec
Exclude ambiguous characters — remove 0, O, l, 1, I to avoid confusion
Customizable — length, character sets, word separators, capitalize, add number
How do I use it?
- Choose between Password or Passphrase mode
- Adjust length and character sets (or word count/separator)
- Optionally exclude ambiguous characters
- Click Generate or copy directly to clipboard
Is it private?
All password generation happens entirely in your browser using the Web Crypto API. No passwords are transmitted, stored, or logged. Your generated passwords never leave your device.
Linux Command Reference
You can generate passwords from the terminal using built-in Linux tools. Here are the most common methods:
Random Password (mixed charset)
Alphanumeric Only
Using OpenSSL
Batch Generation
Passphrase (Diceware-style)
Using pwgen
pwgen is a dedicated password generator available in most distributions (sudo apt install pwgen). It supports pronounceable and fully random modes.
Entropy Calculation
Frequently asked questions
Is it safe to generate passwords in a web browser?
Yes. This generator runs entirely client-side using the browser's Web Crypto API (crypto.getRandomValues), so passwords are never transmitted, stored, or logged. Nothing leaves your device.
What is password entropy and how many bits do I need?
Entropy measures unpredictability in bits — each bit doubles the number of guesses needed to crack the password. Aim for at least 80 bits for important accounts, and 100+ bits for high-value secrets.
Are passphrases more secure than random passwords?
A passphrase can match or beat a random password if it has enough words. Each random word from a large list adds roughly 12-13 bits of entropy, so a 5-6 word Diceware-style passphrase is both strong and easier to remember.
Why should I exclude ambiguous characters like 0, O, l, 1 and I?
Excluding visually similar characters prevents transcription errors when reading or typing a password manually. It slightly shrinks the character pool, so add a little length to keep the same entropy.
Does crack time alone tell me if my password is strong?
Not by itself. The crack-time estimate assumes brute force at 1 trillion guesses per second, but real attacks exploit reuse, leaks, and dictionary patterns. Use a unique, high-entropy password per account and a password manager.