Home / Free tools / Text & Data / Password Generator

Password Generator

Generate strong random passwords on your device. Choose the length and types of characters and see the entropy. Passwords are never sent, saved or put in the page address.

Runs in your browser. Nothing you paste or choose is uploaded or stored.

What this password generator does

This tool makes random passwords of the length and character types you choose, from 4 to 128 characters, and tells you how strong each one is in bits of entropy. The passwords are made on your device with the browser's cryptographic random number generator. They are never sent to a server, never stored, never written into the page address and never logged, so a password that you see here exists only on your screen until you close the page.

A random password is the strongest kind a person can use, and the only kind a human can not choose well. People pick patterns: a word, a name, a year and an exclamation mark at the end. Attackers know those patterns and try them first. A generator has no patterns to guess.

How the passwords are made

Entropy: what the number means

Entropy in bits is length x log2(pool size). It measures how many guesses an attacker needs: each extra bit doubles the work. The pool is the number of different characters available: 26 lowercase, 26 uppercase, 10 digits and 24 symbols. The label is a simple guide: under 40 bits is weak, 40 to 59 fair, 60 to 79 good, 80 to 109 strong and 110 or more very strong.

Worked example

A password of 16 characters with lowercase, uppercase and digits uses a pool of 26 + 26 + 10 = 62 characters. Its entropy is 16 x log2(62) = 16 x 5.954 = 95 bits, which the tool labels strong. With all four types the pool is 86 characters, and a 12-character password has 12 x log2(86) = 77 bits, labelled good. For comparison, an 8-digit PIN has 8 x log2(10) = 27 bits and is labelled weak. If an attacker with stolen password hashes could test ten billion guesses per second, which is a fast offline attack, trying every 8-digit PIN would take about a hundredth of a second, every 77-bit password about half a million years, and every 95-bit password about a hundred billion years, several times the age of the universe. These figures describe the worst case of an offline attack on a fast hash. Websites that limit login attempts are far harder to attack, and slow hashes make each guess more expensive.

How to use passwords well

Privacy and limits

Nothing is uploaded. The settings are not saved either, so every visit starts with the defaults. Copying uses your clipboard, which other programs on your device may be able to read; clear it after use if you share a computer. This generator makes character passwords only, not word-based passphrases. You can check how long a password is with the word counter.

Questions

Are the passwords really random?

Yes. They come from the browser's cryptographically secure random generator, with a method that avoids bias, so every allowed character is equally likely at every position.

Is the generated password sent or stored anywhere?

No. It is created in your browser, shown on your screen and gone when you leave the page. It is not placed in the address bar, saved in the browser or sent to our server.

How long should my password be?

For important accounts use 16 characters or more and a password manager. Length adds more strength than complexity: every extra character multiplies the number of guesses needed.

What does the bits figure mean?

It is the entropy, length x log2(pool size). Each bit doubles the number of guesses an attacker needs. 80 bits or more is strong against even a determined offline attack.

Why leave out characters like l, 1, O and 0?

They look alike in many fonts, which causes mistakes when you type a password from paper or read it aloud. The cost is a slightly smaller pool, which the entropy figure accounts for.

Why does every password contain one of each type I chose?

Many sites require at least one lowercase, uppercase, digit and symbol. The generator guarantees that, then fills the rest at random and shuffles. The entropy figure is a slight overestimate in this case, by a fraction of a bit for long passwords.

Can I use this offline?

Once the page has loaded, the generator needs no network connection, because everything is done by your browser.

Google, Merchant Center, YouTube, LinkedIn, Indeed, Glassdoor and Shopify are trademarks of their owners. Van Born Labs is independent and not affiliated with them. Google's own help pages are the final word on its rules.