Free · Private · Runs in your browser
Random Password Generator
Create truly random, high-entropy passwords with the characters you choose. Generated on your device with cryptographically secure randomness.
- Runs in your browser
- Nothing sent or stored
- No trackers on this page
Your random password
Options
A secure password generator you can trust
A strong password is one an attacker can’t predict. People are bad at that, because we reach for familiar words, dates and patterns without meaning to. A random password generator removes the human from the process: every character is chosen independently by a cryptographically secure random number generator, so there is no pattern for anyone to exploit.
LavenderCipher generates passwords entirely in your browser with the Web Crypto API. We userejection sampling to turn random bytes into characters without bias. That detail matters: the common shortcut of taking a random number “modulo” the alphabet size makes some characters slightly more likely than others.
How entropy is calculated
Because we know exactly how each password was generated, we can calculate its entropy precisely. For a password of length L drawn from N possible characters, entropy is L × log₂(N) bits. With all four character types (89 characters) and the default length of 20, that’s about 130 bits, far beyond the reach of any known attack.
When “at least one of each type” is on, we count only the passwords that meet the rule (using inclusion–exclusion), so the number shown is exact rather than an estimate. Entropy describes the generation method. It’s meaningful here because the password really was generated at random. For passwords people make up, use thestrength checker instead.
Choosing the right settings
- Most accounts: 20 characters, all character types. Save it in your password manager.
- Sites with strict rules: exclude the symbols they reject. Adding a few characters of length makes up the difference.
- Reading it aloud or typing it on a TV: exclude look-alike characters, or use a passphrase.
- Wi-Fi keys and master passwords: longer is better; consider 24–32 characters or a 6+ word passphrase.
Frequently asked questions
Are these passwords truly random?
Yes. Every character comes from your browser’s cryptographically secure random number generator (the Web Crypto API’s crypto.getRandomValues), using rejection sampling so no character is more likely than another. We never use Math.random(), which isn’t designed for security.
Do you see or store the passwords I generate?
No. Passwords are generated on your device and never sent anywhere. The page makes no network requests while you use it, and there are no analytics or ad scripts on this page. Generated passwords are cleared from the page when you leave it.
How long should my password be?
For a random password that a password manager remembers for you, 16–20 characters is plenty for nearly every account; our default is 20. Longer is fine if the site allows it. If you have to type it by hand, consider a passphrase instead.
What is entropy, and how much do I need?
Entropy measures how many equally likely passwords the generator could have produced, in bits. Each extra bit doubles an attacker’s work. Around 60 bits holds up well where logins are rate-limited; 80 bits or more is strong even if a site’s password database is stolen. The default settings give about 130 bits. Learn more about entropy.
Why would I exclude characters?
Some sites reject certain symbols, and some fonts make characters like l, 1 and I hard to tell apart. Excluding a few characters lowers entropy only slightly, and the entropy display updates to show exactly how much.
What does “at least one of each type” do?
It guarantees the password contains every character type you selected, which some sites require. We do this by generating whole passwords until one qualifies, so every valid password stays equally likely. This removes less than a bit of entropy.
More free password tools
Password Strength Checker
See how strong your password really is, what makes it weak, and how long it could take to crack.
Open toolMemorable Password Generator
Get five strong passwords built from random words, which are easier to remember.
Open toolPassphrase Generator
Generate long, easy-to-type passphrases from a 7,776-word list, with entropy shown.
Open toolPassword Breach Checker
Check whether a password has appeared in known data breaches without ever sending it.
Open tool