Command Palette

Search for a command to run...

Developer Tool

Password Generator

Generate strong, secure random passwords with customizable length, character types, and strength meter.

About Password Generator

A password generator creates strong, random passwords with customizable length, character types, and complexity options. In an era of frequent data breaches, weak passwords are one of the most common security vulnerabilities. A strong, unique password for each account is the first line of defense against unauthorized access. This generator uses the browser's cryptographic random number generator to create passwords that are practically impossible to guess through brute force or dictionary attacks.

How to Use

Set your desired password length (8-64 characters), select which character types to include (uppercase, lowercase, numbers, special characters), and optionally exclude ambiguous characters (0/O, 1/l/I). Click generate to create a password. You can generate multiple passwords at once and copy any of them to clipboard. A strength meter shows how strong your password is based on entropy calculations.

Formula / Key Equations

Password entropy = log2(charset_size ^ length) bits. For a 16-character password using all character types (94 possible characters): entropy = log2(94^16) = 105 bits. This means 2^105 possible combinations, which is computationally infeasible to brute force with current technology.

Common Use Cases

Creating strong passwords for new accounts. Rotating existing passwords regularly. Generating passwords that meet specific complexity requirements (minimum length, required character types). Creating secure Wi-Fi passwords. Generating API keys or access tokens. Creating memorable passphrases.

Limitations

Generated passwords must be stored securely — the generator cannot help you remember them. Use a password manager (like Bitwarden, 1Password, or KeePass) to store generated passwords. This generator runs in your browser and does not transmit passwords anywhere. Passwords are not stored after you leave the page.

Frequently Asked Questions

What makes a password strong?

A strong password is long (12+ characters), uses a mix of character types (uppercase, lowercase, numbers, symbols), avoids common words and patterns, and is unique to each account. The most important factor is length — a 20-character random password is much stronger than an 8-character one with complex requirements.

How long should my password be?

For most accounts, 12-16 characters provides excellent security. For high-security accounts (banking, email, password manager master password), use 20+ characters. With current technology, a 16-character random password would take billions of years to crack through brute force.

Should I use a passphrase instead of a password?

Passphrases (random words separated by spaces or hyphens, like 'correct-horse-battery-staple') are an excellent option. They are easier to remember while being very strong due to length. A 4-word random passphrase from a 7,776-word dictionary has 44 bits of entropy — add more words or mix in numbers for stronger security.

Is this password generator truly random?

Yes. It uses the Web Crypto API (crypto.getRandomValues()) which provides cryptographically secure random numbers. This is the same level of randomness used for generating encryption keys in your browser. It is not a pseudo-random number generator.

How should I store my generated passwords?

Use a dedicated password manager to store all your passwords. Never save passwords in plain text files, browser autofill (use a proper password manager extension instead), or write them on paper (unless stored in a safe). The only password you need to remember is your master password for the password manager.

Related Tools