Password Generator

Build a strong random password or a memorable passphrase - generated in your browser with real cryptographic randomness, never sent anywhere.

-
Strength -


16

How the generator works

Every password and passphrase here is built with crypto.getRandomValues, the browser's cryptographically secure random number generator. Crucially, the code uses rejection sampling rather than a plain modulo, so there is no bias toward any part of the character set - each character is equally likely. All of it runs locally on your device: no password is transmitted, saved or visible to anyone but you. You can even switch off your network and it still works.

Random passwords vs passphrases

A random password packs the most strength into the fewest characters, which is ideal when a machine remembers it for you in a password manager. A passphrase - several unrelated words like river-copper-lantern-fox - trades a little length for something you can actually memorise and type on a phone. Both are strong when they contain enough randomness; what makes a password weak is predictability, not the lack of a stray symbol.

What the strength meter means

The meter shows entropy in bits, a measure of how many guesses an attacker would need. It is calculated from the size of the character pool and the length: a 16-character password drawn from all four sets is around 100 bits, which is uncrackable with today's hardware. As a rough guide, under 45 bits is weak, 45 to 70 is fair, 70 to 90 is strong and above 90 is excellent. Adding length raises entropy far faster than adding exotic symbols, so when in doubt, make it longer.

Good habits

Use a unique password for every account, store them in a password manager, and turn on two-factor authentication wherever it is offered. Need other quick utilities? Try the UUID generator for unique identifiers, the hash generator to verify file integrity, or the random number generator for fair draws.

Frequently asked questions

Are these passwords safe to use?
Yes. Every password is generated in your browser using the Web Crypto API (crypto.getRandomValues), which is a cryptographically secure random source. Nothing is ever sent to a server, logged or stored, so no one - including this site - can see what you generate.
How long should a password be?
For important accounts aim for at least 16 characters mixing upper case, lower case, digits and symbols. That gives well over 90 bits of entropy, which is far beyond what any current attacker can brute force. Shorter than 12 characters is easy to crack offline.
What is a passphrase and is it more secure?
A passphrase is several random words strung together, like "orbit-cactus-velvet-mint". A four to five word passphrase is both easy to remember and very strong - five random words from a 200-word list is roughly 38 bits, and longer lists or more words push it much higher while staying typeable.
What does "exclude ambiguous characters" do?
It removes characters that are easy to mix up when reading or typing a password: the letters I, l, O and the digits 1 and 0. Handy when you will read the password aloud or copy it by hand, at a small cost to the character pool.
Should I use a different password for every account?
Absolutely. Reusing one password means a single breach unlocks everything. Generate a unique password per site and store them in a password manager - then you only need to remember one strong master passphrase.