Password Generator
Strong random passwords, passphrases and PINs, with a real entropy figure, QR export and bulk generation.
What this tool does
Generates cryptographically random passwords, passphrases, or numeric PINs, with a real entropy figure (not a cosmetic strength bar) and an estimated brute-force time alongside every result. Beyond the basics, it guarantees every character type you select actually appears in the password (not just "likely"), lets you exclude specific characters, generates passwords in bulk for exporting to a password manager, shows the current value as a QR code for transferring it to another device without typing it, and keeps a session-only history so you can get back to one you generated a moment ago.
Password vs. passphrase vs. PIN
A password (random characters) packs the most
entropy per character, which is why it's still the default for most
accounts. A passphrase (several random dictionary
words, like Coral-Finch-Harbor-42) trades character
density for memorability — it's genuinely easier to type and recall
correctly, especially somewhere you can't use a password manager, and
at 5-6 words it can carry comparable entropy to a 16-character random
password. A PIN is for contexts that only accept
digits, like a device lock screen — it has far less entropy per digit,
so a short PIN should only protect something with a limited-attempt
lockout, never an account with unlimited login tries.
What "entropy" actually means here
The bits of entropy shown is log2(pool size) × length
for a password, log2(word list size) × word count for a
passphrase — the real, textbook definition, not a marketing score.
More bits means more possible combinations an attacker would have to
try; the brute-force estimate converts that into a rough time figure
assuming 100 billion guesses per second, a realistic ballpark for an
offline attack against a fast, unsalted hash. A properly salted,
slow hash (bcrypt, Argon2, scrypt) makes real-world cracking far
slower than this number suggests — the figure is for comparing options
against each other, not a literal guarantee.
Guaranteed character coverage, QR export, and bulk generation
Turning on uppercase, numbers, and symbols doesn't just make them possible in the result — this generator checks the output and guarantees at least one character from every type you selected actually appears, which matters because some sites and systems reject a password missing a required character class. The QR code option renders the current value as a scannable code, a quick way to move a freshly generated password to a phone without typing it or sending it anywhere. Bulk generation produces up to 100 at once for seeding a password manager or setting up test accounts, downloadable as a single text file.
Privacy
Every password is generated with crypto.getRandomValues
— a cryptographically secure random source, not Math.random
— entirely in your browser. Nothing is sent to a server. The
session history exists only in this tab's memory; it is never written
to disk or localStorage, and it disappears the moment you
leave or reload the page.