Want to keep the passwords you generate here? Save them in DrivePassword — each one is stored encrypted on your Google Drive and remembered for you, so you never forget or reuse a password.
Free password generator: strong, random passwords in your browser
The generator below builds passwords from your browser's cryptographic random source: every character is drawn uniformly, so the result is unpredictable and unique. Choose what the password is for — a Facebook account, a MySQL user, an SSH key, a Wi-Fi network — and the preset applies that service's rules; fine-tune anything under Advanced settings. Passwords stay on your device — nothing is stored, logged or transmitted. Use it for any account that needs a strong password, then save the result in a password manager such as DrivePassword.
Brute-force time*: ≈ 3.2 × 10^14 years
Password for
Password size
Advanced settings
Character sets
Generated in your browser from the cryptographic random source (crypto.getRandomValues). Nothing is stored, logged or sent; the password reaches the clipboard only when you press Copy.
*Crack time assumes offline brute force with one NVIDIA RTX 4090 testing about 1 billion guesses per second (hashcat NTLM); services store hashed passwords and rate-limit sign-ins, so cracking a real account is far slower than this.
How this generator keeps passwords strong
- Cryptographic randomness. Every character comes from
crypto.getRandomValues— the operating system's CSPRNG — chosen by rejection sampling so no character is more likely than another.Math.random()is never used. - Service presets. Thirty common destinations — Facebook, X, Instagram, Amazon, PayPal, AWS, GitHub, Docker Hub, MySQL, PostgreSQL, Redis, Oracle, SSH keys, Wi-Fi, routers — are grouped by type; picking one applies the length caps, required character classes and space/symbol rules that service actually accepts, and the note under the picker says why.
- Length first. Passwords run from 8 to 128 characters and default to 16, because length is what stops offline guessing (NIST SP 800-63B).
- Entropy mode. Ask for bits instead of characters: 128 bits over the default sets yields a password long enough to carry them, shown in the live readout.
- Passphrases. Tick Space to generate unrelated words you can remember; tick Avoid look-alike characters when a password must be typed by hand.
- Site rules. Custom symbols are placed inside the requested length, and every selected character set is guaranteed at least once.
- Crack-time estimate. The readout reports the average offline brute-force time for the password's entropy, assuming one NVIDIA RTX 4090 testing about a billion guesses per second — the asterisk's footnote spells out the assumption, and real services hash passwords and throttle attempts, so cracking an account is far slower.
- Nothing leaves your device. The password reaches the clipboard only when you press Copy; it is never logged or sent anywhere.
Password best practices, from Chrome and web standards
- One unique password per account. Reusing a password means a breach on any site unlocks all of them (credential stuffing). Generate a fresh password for every login.
- Length beats complexity rules. NIST SP 800-63B no longer requires a mix of character types: people satisfy such rules predictably (
Password1!), while extra length does the real work. Aim for at least 12–16 characters. - Accept passwords suggested by your browser or manager. Chrome's password manager generates strong, unique passwords and stores them safely — accepting those suggestions is safer than inventing your own.
- Never block copying or pasting. Pasting a password into a login form is safe and expected; blocking it pushes people towards memorable, guessable passwords.
- Change passwords only when there is a reason. Chrome flags saved passwords that appear in public data breaches (Settings → Passwords → Check passwords); scheduled rotation without evidence of compromise is discouraged.
- Protect the weak links. Password-reset links land in your email inbox, so guard that account hardest, and add two-factor authentication or passkeys wherever a password alone is not enough.
Passphrase or random string?
For passwords that live in a manager, a random string of 16 or more mixed characters is ideal: nothing to remember, maximum entropy per character. For the handful you must type from memory — a master password, a Wi-Fi key — choose a passphrase instead: four to seven unrelated words, spaces allowed, long, memorable and resistant to guessing. Avoid common phrases, song lyrics and quotes; the words must be as random as the letters. Either way, keep every password unique to its account.
Store generated passwords securely with DrivePassword
A strong password is only half the job — keeping it is the other half. DrivePassword ships the same generator inside the vault: create a password, store it encrypted on Google Drive, and share folders with your team without mailing secrets around. Passwords stay out of notes apps and spreadsheets, and the manager remembers them so you never have to guess or reuse one.
Password generator questions
Is this password generator safe to use?
Yes. Passwords are generated entirely in your browser by crypto.getRandomValues, the operating system’s cryptographically secure random source, drawn with rejection sampling so every character is equally likely. Nothing is stored, logged or sent to a server — the page ships static files and the interaction makes no network request.
How long should a password be?
At least 8 characters, but aim for 12–16 or more. Every extra character multiplies the number of possible passwords: NIST recommends at least 15 characters for a password used on its own, and CISA recommends 16 or longer. The generator allows up to 128 characters because websites should accept long passwords and passphrases.
Do I need numbers and special characters?
Not anymore. NIST SP 800-63B dropped composition rules because people satisfy them predictably (Password1!) while length does the real work. Use digits, capitals and symbols when a site requires them — this generator guarantees every selected set appears at least once — but a longer password is stronger than a complex short one.
Can a password contain spaces?
Yes — enable Space and the generator produces passphrases: several unrelated words separated by spaces, long and memorable. Blocking spaces on a login form reduces security; Chrome, NIST and password managers all accept them.
How often should I change my passwords?
Only when there is a reason: a breach at a site you use, a password Chrome or your manager flags as leaked, or a suspicion of compromise. Scheduled rotation is discouraged by Chrome and NIST because people replace a strong password with a predictable variation.
Where should I store generated passwords?
In a password manager — not in memory, a text file or a spreadsheet. DrivePassword stores each password encrypted, backed by Google Drive, and generates new ones with the same cryptographic randomness when you need them.
How long would it take to crack a generated password?
The widget estimates average offline brute-force time from the password’s entropy: about half the key space divided by the guessing rate behind the asterisk — one NVIDIA RTX 4090 testing roughly 1 billion guesses per second (hashcat NTLM). Even the 16-character default needs trillions of years at that rate, and real services store hashed passwords and throttle sign-in attempts, so cracking an actual account is far slower.

