Password Generator
Generate strong, random passwords free in your browser — pick a length and character types, get a password plus a strength meter, and copy it into your password manager. Nothing is sent, saved or logged, because every password is created on your own device.
Password Generator
Strong, random passwords made only in your browser. Nothing is sent, saved or logged.
Strength will appear after generation.
Every selected character type is guaranteed to appear at least once. Generation uses your browser’s cryptographically secure random generator — never the predictable Math.random.
100% private — passwords are generated on your device with crypto.getRandomValues and never leave this page. Use a password manager and a different password for every account.
How to use the Password Generator
- Move the length slider — 16 characters is the default, 20 or more is better for important accounts.
- Tick the character types you want: uppercase, lowercase, numbers and symbols. Optionally exclude look-alike characters (I, l, 1, O, 0, o).
- Set how many passwords to generate (up to 20) and click Generate passwords.
- Read the strength meter: entropy in bits and the estimated crack time at 100 billion guesses a second.
- Copy the main password — or any of the extra passwords — into your password manager or the account's password field.
- Click Clear to remove every generated password from the page.
What makes a password strong
Three things decide password strength, and only three: length, randomness and uniqueness. Length matters most, because every extra character multiplies the number of possible passwords by the size of the character set — a 20-character random password is not a little stronger than a 10-character one, it is billions of billions of times stronger. Randomness is what makes the length count: a password a human invents follows patterns — names, dates, keyboard walks — that attackers guess first, while a generated password has no pattern to exploit. Uniqueness is the part people skip: a strong password reused across ten sites falls the moment any one of those sites leaks it, which is why the practical rule is one different password per account, stored in a password manager that remembers them for you. Character variety helps, but it is the weakest lever of the three — a long password without symbols beats a short one with them, every time.
How this generator picks characters
Every random choice in this tool comes from crypto.getRandomValues, the browser's cryptographically secure random generator — the same source used for encryption keys — and never from Math.random, which is predictable and not designed for security. Characters are picked with rejection sampling, so every character in the chosen pool is exactly as likely as every other, with no bias toward the start of the alphabet. Two guarantees are built in: if you tick numbers and symbols, the password will contain at least one of each, which matters because many sites reject passwords that lack a required type; and the characters are then shuffled with a secure shuffle, so the guaranteed characters do not sit in predictable positions. If the browser cannot provide secure random numbers at all, the generator switches itself off and says so, rather than falling back to a weaker method and letting you trust a password that is not random.
How long should your password be
Current guidance from security agencies converges on one number: at least 16 characters for any account that matters, and 20 or more where it costs nothing — which, with a password manager filling it in, is everywhere. The strength meter on this tool measures entropy in bits, which is the honest way to compare passwords: a 16-character password drawn from all four character types carries about 104 bits of entropy, and an attacker guessing 100 billion passwords a second would need trillions of years to search that space. That figure assumes a leaked password database attacked offline; online attacks are far slower because sites limit attempts. The meter's crack-time estimate is therefore a guide to randomness, not a guarantee of safety — a password can still be phished, and an account without a second factor is only as safe as its password. Length is the lever you control, so when in doubt, make it longer.
Passwords, managers and second factors: the rest of the job
A generator solves the creation problem, not the whole security problem. The rest of the job has three parts. First, store generated passwords in a password manager instead of reusing one memorable password or writing them down — the manager encrypts them, fills them in, and warns about reuse and leaks. Second, turn on a second factor wherever it is offered, because a second factor protects the account even if the password itself leaks. Third, treat memorable passwords as a different job: a password you must type yourself is better built as several random words, which is what the UK NCSC suggests, rather than a short string of mixed characters you will forget and then simplify. This generator's bulk mode exists for the practical version of the same idea — provisioning several accounts at once, each with its own password, without repeating yourself.
Try more free Web Tools: UUID Generator, JSON Formatter & Validator and Base64 Encoder & Decoder.
Frequently asked questions
It is safe when the password is created on your own device and never sent anywhere, which is how this tool works. It is not safe on a generator that sends your password to a server — this one has no server step at all.
Current guidance (NIST and CISA) puts the minimum for a password-only account at 15–16 characters. At that length a random password carries around 100 bits of entropy, which is beyond brute-force reach.
Entropy, measured in bits, counts how many guesses an attacker would need in the worst case. Each extra bit doubles the guesses, so a few extra characters matter far more than adding a symbol to a short password.
No. They exist only on this page, are never sent, saved or logged, and disappear when you clear the page or close the tab.