🔐 Password Generator

Generate cryptographically strong passwords using Web Crypto API. See entropy, strength and time-to-crack for 4 attack scenarios.

Click Generate to create a password

What is Password Generator?

ToolsNovaHub's Password Generator uses window.crypto.getRandomValues() — the Web Crypto API's cryptographically secure pseudo-random number generator (CSPRNG) built into every modern browser. This meets FIPS 140-2 requirements for cryptographic randomness and is the same API used by banking applications and password managers running in browsers. It is vastly superior to Math.random(), which is not suitable for security purposes.

Generated passwords are never transmitted to our servers. The entire process happens in your browser. The strength analysis calculates entropy (log2 of the total keyspace) and estimates time-to-crack for four realistic attack scenarios: online brute force, offline bcrypt attack, offline SHA-256 GPU attack, and a dedicated GPU cracking rig. These benchmarks are based on published security research and real hardware performance data.

How to Use It?

Adjust the length slider and check/uncheck character types. A new password generates automatically with every change. Click 🔄 Generate for a new one at the current settings. Click ❏ Copy to copy the current password. Click 📋 Generate 10 to produce ten passwords at once for comparison or batch use. The strength bar, entropy value, and crack-time estimates update instantly.

💡 Real-World Example

Example: Setting up a new bank account online, a user generates a 20-character password with all character types enabled. The strength analysis shows 131 bits of entropy and an estimated crack time of "trillions of years" even on a dedicated GPU rig — confirming it's safe to use as the account's master password.

📊 Entropy Explained

Entropy, measured in bits, quantifies how unpredictable a password is. The formula is entropy = log₂(possible_combinations). Each additional bit DOUBLES the number of guesses an attacker needs — so a 60-bit password is a MILLION times harder to crack than a 40-bit one, not just 1.5× harder.

EntropyRatingReal-World Meaning
< 28 bitsVery WeakCrackable in seconds — e.g. a 4-digit PIN or single dictionary word
28–35 bitsWeakCrackable within hours on consumer hardware
36–59 bitsFairResists casual attacks but vulnerable to dedicated/offline cracking
60–99 bitsStrong – Very StrongSuitable for most accounts; centuries to crack even offline
100+ bitsUnbreakableExceeds any realistic computing capability — ideal for master passwords/encryption keys

This tool calculates entropy differently depending on mode: Random passwords use length × log₂(character pool size). Passphrases use words × log₂(wordlist size) — which is why a 4-word passphrase from a 200-word list (~31 bits/word × 4 ≈ 30.6 bits total, before the added number) can rival a much longer random string while being far easier to remember.

📋 Password Length Guide — How Long Is Long Enough?

8 characters
The historical MINIMUM, now considered inadequate for anything important — modern GPUs can exhaust the full 8-character keyspace in hours.
12–14 characters
A reasonable baseline for everyday accounts (email, social media, shopping) when combined with all character types and a unique password per site.
16+ characters
Recommended for important accounts: banking, primary email (which can reset other passwords), and work accounts.
20+ characters / passphrase
Best for your password manager's MASTER password — this single password protects everything else, so it deserves the highest entropy. A 5–6 word passphrase is both very strong AND memorable for this exact purpose.

Length vs complexity: Research (and NIST guidelines) increasingly favour LENGTH over forced complexity rules. A 20-character passphrase like "purple-tiger-canyon-whisper-42" is both easier to remember AND has more entropy than a forced 8-character "P@ssw0rd!" pattern that follows predictable substitution rules attackers already account for.

🔐 MFA (Multi-Factor Authentication) — Why Passwords Alone Aren't Enough

Even a perfect, unbreakable password can be compromised through phishing, data breaches at the SERVICE (not your fault), or malware on your device that captures keystrokes. Multi-Factor Authentication (MFA) adds a second independent proof of identity, so a stolen password alone isn't enough to access your account.

MFA MethodSecurity LevelNotes
SMS one-time codeBasicBetter than nothing, but vulnerable to SIM-swap attacks
Authenticator app (TOTP)GoodGoogle Authenticator, Authy, etc. — codes generated offline on your device
Push notification approvalGoodTap "Approve" on a trusted device — convenient but watch for "MFA fatigue" attacks (don't approve requests you didn't initiate)
Hardware security key (FIDO2/U2F)BestPhysical USB/NFC key (e.g. YubiKey) — resistant to phishing since it verifies the website's domain

Best practice: Use a strong, unique password generated by this tool for EVERY account (stored in a password manager), AND enable an authenticator-app or hardware-key MFA on your email, banking, and password manager accounts at minimum. This combination — strong unique passwords + MFA — defends against the vast majority of real-world account takeovers.

📊 Understanding Your Results

Entropy (bits)
A logarithmic measure of randomness: each additional bit DOUBLES the number of possible combinations. 60+ bits is considered strong; 100+ bits is effectively unbreakable with current technology.
Strength Rating
A human-readable label (Weak/Fair/Strong/Very Strong/Unbreakable) derived directly from the entropy value — gives a quick visual gauge via the colour-coded bar.
Time to Crack (4 scenarios)
Estimated AVERAGE time for an attacker to guess your password via brute force, ranging from a basic online login attempt (1,000/sec) to a dedicated GPU rig (100 trillion/sec).
Character Pool
The total number of unique characters available for each position — more character types (upper+lower+numbers+symbols) = larger pool = more entropy per character.

⚠️ Common Errors & What They Mean

❌ "Select at least one character type"
All four checkboxes (Upper/Lower/Numbers/Symbols) are unchecked. At least one must be enabled to generate any password.
⚠️ "Not enough unique chars" with No Repeating enabled
If "No repeating characters" is checked AND the password length exceeds the total character pool size (e.g. 70-char password with only Numbers enabled = 10 unique digits), it's mathematically impossible. Increase the pool (enable more character types) or reduce length.
❓ Why does the password change every time I toggle an option?
This is intentional — a fresh cryptographically-random password is generated on every settings change so you always get a NEW random value, never a predictable modification of the previous one.

💡 Advanced Tips

🔐
Master passwords need more length
For a password manager's master password (which protects ALL your other passwords), use 20+ characters — this single password deserves the highest entropy.
🚫
Exclude ambiguous for manual entry
If you'll be typing the password manually (e.g. router admin, smart TV login), enable "Exclude ambiguous" to avoid confusing 0/O, l/1/I characters.
📋
Generate 10 for team rollouts
Use "Generate 10" when setting up multiple new accounts at once (e.g. onboarding new employees) — copy each unique password directly from the list.
⚠️
Entropy isn't everything
A high-entropy password is useless if reused across sites or written on a sticky note. Always pair strong passwords with a password manager and unique passwords per account.

📜 Password Length vs Crack Time (GPU Rig, 100T/sec)

Length (all char types)Approx. EntropyGPU Crack Time
8 characters~52 bitsMinutes to hours
12 characters~78 bitsCenturies
16 characters~105 bitsTrillions of years
20 characters~131 bitsFar beyond age of universe

📰 The Complete Guide to Password Security

Password security has evolved dramatically over computing history, from simple memorized words to cryptographically-generated random strings, with each evolution responding to increasingly sophisticated attack methods. This guide explores that history and what genuinely matters today.

The Evolution of Password Security: From Simple Words to Entropy

Early computer systems in the 1960s and 1970s, with relatively limited user populations and primitive attack capabilities, treated passwords largely as a simple access-control formality — short, often dictionary-word passwords provided adequate protection against the threat model of that era, where attackers had limited computational resources and typically required physical or network access most ordinary users simply didn't have reason to attempt circumventing. As computing became more networked and accessible through the 1980s and 1990s, and as attackers developed increasingly sophisticated automated guessing techniques, the security community's understanding of password strength evolved correspondingly — shifting from simple "is it a real word" heuristics toward mathematical entropy-based thinking about genuine randomness and guessing resistance.

This evolution reflects a broader pattern in security: defenses must continuously adapt as attacker capabilities grow, meaning password practices considered perfectly adequate decades ago (a memorable 6-character word, for instance) have become genuinely inadequate against modern attack capabilities, even though the PASSWORD ITSELF hasn't changed — only the computational power available to attempt guessing it has dramatically increased.

Real Breach Case Studies: The Consequences of Password Reuse

Among the most consistently damaging password security failures isn't weak individual passwords, but PASSWORD REUSE across multiple services — using the same or similar password for banking, email, and countless other accounts. This practice transforms a single service's data breach into a far broader compromise through a well-documented attack pattern called "credential stuffing," where attackers take username/password combinations leaked from one breached service and systematically attempt them against many OTHER unrelated services, succeeding whenever a user reused that same combination elsewhere.

Numerous major historical data breaches across various industries have demonstrated this exact pattern at massive scale — breaches initially affecting one company's user database eventually causing cascading account compromises across entirely unrelated services for any user who had reused their breached password elsewhere. This consistent pattern across the security industry's collective breach history is precisely why password managers (which make using genuinely unique passwords for every service practically feasible, rather than requiring impossible manual memorization of dozens of distinct complex passwords) have become a near-universal security recommendation, addressing the reuse problem directly rather than simply asking users to somehow remember more passwords without any supporting tool.

Understanding Password Entropy in Practical Terms

Entropy, in the context of password security, measures the genuine UNPREDICTABILITY of a password — not simply its length or apparent complexity, but how many possible alternative values an attacker would need to consider before finding the correct one, assuming no shortcuts based on predictable patterns. A truly random 12-character password drawing from a large character set (uppercase, lowercase, numbers, symbols) has dramatically higher entropy, and therefore genuine resistance to guessing, than a 12-character password following a predictable human pattern (a real word with a number appended, common keyboard patterns, or personal information like birthdates), even though both might satisfy a superficial "12 characters with mixed types" length and complexity requirement that some weaker password policy checks still rely upon.

This distinction matters because many real-world password policies historically focused on superficial complexity RULES (require one uppercase, one number, one symbol) without genuinely ensuring randomness, inadvertently training users toward predictable patterns that technically satisfy the rules (Password1!) while providing far less actual security than the rules' designers intended, compared to genuinely random generation of equivalent length, which is exactly what this tool's cryptographically-secure random generation provides instead of rule-based pattern suggestions.

The Passphrase Alternative: Memorable Yet Strong

An alternative approach to password security, popularized partly through XKCD's famous "correct horse battery staple" comic illustrating the concept, involves using PASSPHRASES — multiple random, unrelated words combined together — rather than a single complex string of random characters. The underlying mathematical insight: a passphrase combining several words from a sufficiently large word list can achieve entropy comparable to or exceeding a shorter complex character password, while being genuinely easier for humans to remember and accurately type, since recalling several real (if randomly selected and unrelated) words tends to be cognitively easier than recalling a precise sequence of random characters, numbers, and symbols with no inherent memorability.

This tool's Passphrase mode implements this approach using an EFF-style large word list specifically designed for this purpose, generating genuinely random word combinations (rather than predictable phrases) that provide strong, calculable entropy while remaining more practically memorable than equivalent-strength character-based passwords — a particularly valuable option for the relatively few passwords genuinely worth memorizing (your password manager's master password, for instance) rather than relying on a password manager to store and auto-fill, where any sufficiently complex character-based password works equally well since you'll never need to manually type or remember it yourself.

Multi-Factor Authentication: Why Passwords Alone Are Increasingly Insufficient

Even a genuinely strong, unique, randomly-generated password remains vulnerable to certain attack vectors that strength alone cannot address — phishing attacks that trick users into directly providing their password to an attacker regardless of its underlying complexity, malware capturing keystrokes or stored credentials directly from a compromised device, or sophisticated social engineering convincing a support representative to reset account access through means that bypass password verification entirely. Multi-Factor Authentication (MFA) addresses these scenarios by requiring a SECOND independent verification factor beyond the password itself — something you have (a phone receiving a code, a hardware security key) or something you are (biometric verification) — meaning a compromised password alone becomes insufficient for account takeover.

This layered defense principle explains why security professionals consistently recommend MFA as a complement to, rather than a replacement for, strong password practices — the two security measures address different attack vectors, with strong unique passwords protecting against guessing and credential-stuffing attacks, while MFA protects against the scenario where a password has been compromised through some other means entirely outside the password's own inherent strength.

The Emerging Passwordless Future: Passkeys and Beyond

The security industry's broader trajectory increasingly points toward reducing or eliminating reliance on traditional passwords entirely, through technologies like passkeys — a relatively recent standard using public-key cryptography to authenticate users without requiring a memorized or stored secret that could be phished, guessed, or leaked in a breach in the traditional sense. Passkeys work by generating a unique cryptographic key pair for each service, with the private key remaining securely stored on the user's own device (often protected by biometric verification like a fingerprint or face scan) and never transmitted to or stored by the service itself, fundamentally eliminating the entire category of password-database breach risk that has driven so many historical security incidents.

While passkey adoption remains in a transitional phase as of this writing, with traditional passwords still required as a fallback option across most services and many smaller services not yet supporting passkeys at all, the long-term trajectory suggests strong, randomly-generated passwords (exactly what this tool provides) combined with MFA will likely remain the practical security standard for a significant transitional period, even as passkey adoption gradually expands across major services over the coming years.

How This Tool's Entropy Calculation Works

The entropy figure displayed alongside each generated password on this page is calculated using the standard formula: the logarithm (base 2) of the total possible character combinations, multiplied by the password length — reflecting how many "bits" of genuine randomness the password contains, directly corresponding to how many guesses an attacker would need to exhaustively try every possibility. This calculation, combined with reasonable assumptions about modern GPU-based password-cracking hardware capabilities, produces the estimated "crack time" figure also displayed, giving a concrete, intuitive sense of practical security beyond the more abstract entropy bit-count alone, helping users understand not just THAT a password is strong, but roughly HOW strong in terms a non-technical user can meaningfully interpret.

Glossary of Password Security Terms

  • Entropy: A measure of password unpredictability/randomness, typically expressed in bits, directly corresponding to genuine resistance against guessing attacks.
  • Credential Stuffing: An attack technique using username/password combinations leaked from one breach to attempt access to other, unrelated services, exploiting password reuse.
  • Passphrase: A password composed of multiple random words rather than random characters, designed to balance strong entropy with human memorability.
  • MFA (Multi-Factor Authentication): A security approach requiring a second independent verification factor beyond a password alone, protecting against scenarios where the password itself has been compromised.
  • Passkey: A passwordless authentication standard using public-key cryptography, storing a private key securely on the user's device rather than relying on a memorized or server-stored secret.

Why This Tool Uses crypto.getRandomValues() Instead of Math.random()

A subtle but genuinely important technical distinction underlies this tool's password generation: the use of the Web Crypto API's crypto.getRandomValues() method rather than JavaScript's more commonly used Math.random() function. While both APPEAR to produce random output, they rely on fundamentally different underlying mechanisms with very different security properties. Math.random() uses a pseudo-random number generator (PRNG) designed for general-purpose programming tasks like games or simulations, where statistical randomness suffices but CRYPTOGRAPHIC unpredictability isn't required — meaning its internal state can, in principle, be determined or predicted by a sufficiently motivated attacker analyzing enough output samples, a property that's entirely acceptable for its intended general-purpose use cases but genuinely problematic for security-sensitive applications like password generation.

crypto.getRandomValues(), by contrast, draws from the operating system's cryptographically-secure random number generator, specifically designed to be unpredictable even to an attacker with significant computational resources and analytical sophistication — the same underlying randomness source used for generating encryption keys and other security-critical values where genuine unpredictability is essential rather than merely convenient. This is precisely why this tool, and any properly-implemented password generator, exclusively uses the cryptographic API rather than the more commonly-used general-purpose random function, ensuring the generated passwords carry genuine, defensible security properties rather than merely appearing random to casual inspection.

The Surprising Math Behind "How Long Until It's Cracked"

Crack-time estimates, while useful for building intuition, deserve some important context about their inherent assumptions and limitations. These calculations typically assume a "brute force" attack scenario where every possible combination must be tried sequentially until the correct one is found, achieving an AVERAGE crack time of roughly half the total possible combinations (since on average, the correct password will be found partway through an exhaustive search, not necessarily at the very end). They also assume a SPECIFIC attacker hardware capability (often expressed as guesses-per-second using current high-end GPU password-cracking rigs), meaning these estimates will become outdated as hardware capabilities continue improving over time — a crack-time estimate considered comfortably secure today may become less impressive years in the future as computational power continues its historical trajectory of improvement.

Additionally, these theoretical crack-time calculations assume the ATTACKER has no shortcuts available beyond pure brute-force guessing — meaning they don't account for scenarios where a password might be guessed through other means entirely (phishing, social engineering, or exploiting a service's own security vulnerability to extract passwords directly rather than guessing them), reinforcing the earlier point that password strength alone, however mathematically robust, addresses only ONE category of real-world account compromise risk among several that a comprehensive security approach must consider.

Practical Recommendations for Different Password Use Cases

Not every password genuinely needs to be memorized, and recognizing this distinction helps apply appropriate effort and approach for different situations. For passwords stored in and auto-filled by a password manager (which should constitute the vast majority of your accounts), maximum-length, fully random character-based passwords provide optimal security with zero memorability cost, since you'll never need to manually type or recall them. For the small number of passwords genuinely requiring memorization — your password manager's own master password being the most important example, since losing access to it potentially locks you out of every other stored credential — the Passphrase approach covered earlier in this guide offers a more practical balance of strong security and genuine human memorability than attempting to memorize a long random character string.

For any password protecting a genuinely high-value target (financial accounts, primary email, which often serves as the recovery mechanism for many other accounts), combining a strong unique password with MFA wherever the service offers it provides meaningfully better protection than relying on password strength alone, regardless of how mathematically robust that individual password's entropy calculation shows it to be.

Memorable Mode: How Pronounceable Password Generation Works

This tool's Memorable/pronounceable mode takes a different technical approach than either pure random character generation or word-based passphrases — algorithmically constructing password-like strings that alternate consonant and vowel patterns in a way that produces genuinely pronounceable (even if nonsensical) syllable sequences, while still drawing each character choice from a cryptographically random source. This approach aims to capture some of the memorability benefit that pronounceable patterns provide for human recall (a sequence like "talopin" is genuinely easier to remember and accurately type than an equivalent-length fully random character string like "xQ7$mPz2"), while maintaining meaningfully higher entropy than a real dictionary word would provide, since the generation process isn't constrained to ACTUAL existing words that might appear in attacker dictionaries.

It's worth understanding this mode's tradeoff honestly: pronounceable-pattern passwords generally provide somewhat LOWER entropy per character than fully random generation, since the algorithmic constraint to maintain pronounceable consonant-vowel patterns inherently reduces the total possible combination space compared to unconstrained random character selection. This tool compensates by generating somewhat longer passwords in Memorable mode to achieve comparable overall entropy to shorter fully-random alternatives, representing a deliberate, transparent design tradeoff between memorability and per-character entropy efficiency rather than attempting to claim equivalent security at equivalent length.

Historical Password Policy Mistakes and Lessons Learned

The security industry's understanding of effective password policy has evolved considerably, with several historically common practices now recognized as counterproductive based on accumulated real-world evidence. Mandatory periodic password CHANGES (requiring users to update passwords every 60 or 90 days regardless of any indication of compromise), once nearly universal in corporate security policy, are now widely recognized by security researchers and major standards bodies as often counterproductive — this practice frequently drives users toward predictable, easily-guessable incremental patterns (Password1, Password2, Password3...) rather than genuinely improving security, since the cognitive burden of frequently generating and memorizing entirely new strong passwords typically exceeds what most users will actually sustain without resorting to weakening shortcuts.

Current best-practice guidance from major security standards organizations has shifted toward prioritizing password LENGTH and genuine randomness at creation, combined with breach-monitoring services that can detect when a SPECIFIC password has actually appeared in a known data breach (prompting a targeted change only when genuinely warranted), rather than blanket mandatory periodic rotation regardless of any actual compromise indication. This evolution reflects a broader maturation in security thinking: policies should be evaluated by their genuine real-world security outcomes, not merely by whether they intuitively SOUND more secure, since several once-standard practices have been empirically shown to backfire once their actual effect on real user behavior was carefully studied.

Password Managers: The Practical Backbone of Modern Password Security

Everything covered in this guide about generating strong, unique passwords becomes practically actionable only when combined with a password manager — dedicated software that securely stores and auto-fills credentials, eliminating the impossible mental burden of memorizing dozens of genuinely unique, complex passwords across every service a typical person uses today. Password managers address the fundamental tension at the heart of password security: maximum security calls for unique, random, complex passwords for every single account, while human memory capacity makes manually maintaining more than a small handful of such passwords genuinely impractical without some supporting tool.

This tool generates strong passwords ready to be saved directly into whichever password manager you use, serving as a focused, single-purpose generation tool rather than attempting to be a complete password management solution itself — reflecting a deliberate design philosophy of doing one thing (generating genuinely strong, cryptographically random passwords and passphrases) well, rather than attempting to replicate the broader storage, syncing, and auto-fill functionality that dedicated password manager software already provides effectively.

Understanding the GPU Cracking Hardware Behind Crack-Time Estimates

The crack-time figures this tool calculates reference modern GPU-based password cracking, reflecting how the password security landscape has been fundamentally reshaped by graphics processing hardware's unexpected suitability for the highly parallel mathematical operations that password-guessing algorithms require. Originally designed for rendering complex 3D graphics through massively parallel processing of relatively simple repeated calculations, GPUs turned out to be remarkably well-suited to the similarly parallel, repetitive nature of testing millions of password guesses against a target hash simultaneously — a repurposing of gaming and graphics hardware that has dramatically accelerated practical password-cracking capability compared to the traditional CPU-based approaches that dominated earlier computing eras.

This hardware evolution explains why password length and complexity recommendations have generally INCREASED over the years even as the underlying mathematical entropy concepts remain unchanged — a password length once considered comfortably secure against the CPU-based cracking capabilities of an earlier era requires meaningful extension to maintain equivalent real-world security against today's dramatically more capable GPU-based cracking hardware, with this arms race between defensive password strength and offensive cracking capability showing no signs of fundamentally changing direction in the foreseeable future.

A Balanced Perspective on Password Security Effort

It's worth closing with a grounded, practical perspective rather than alarm-driven maximalism: not every account genuinely warrants maximum possible password strength and complexity. A throwaway account for a service you'll use once and never return to carries genuinely lower stakes than your primary email or banking credentials, and calibrating your security EFFORT to match actual STAKES, rather than applying uniform maximum paranoia to every single account regardless of consequence, represents a more sustainable, realistic approach to personal security practice than attempting unsustainable perfection that often backfires through user fatigue and resulting shortcuts.

This tool's flexible length and complexity options exist precisely to support this calibrated approach — generating appropriately strong passwords for high-stakes accounts while still providing reasonable, quick options for lower-stakes situations where genuinely maximum entropy provides diminishing practical security benefit relative to the minor additional friction it introduces, reflecting a security philosophy grounded in genuine risk assessment rather than uniform, undifferentiated maximalism applied without regard to actual consequence or context.

📚 Want the full in-depth guide? Read our complete Password Generator Guide →

ToolsNovaHub tools are built and independently maintained with a focus on accurate, no-signup network and security utilities. Spotted an error? Let us know.

🎓
Expert Tip
Sanity-check one manual example against Password Generator's output the first time you use it for a new case before scripting around it.
ToolsNovaHub Pro Tip
Use Password Generator's copy/export option to keep an audit trail instead of retyping values.
⚠️
Common Beginner Mistake
Assuming default settings fit every case. Check Password Generator's notes section for edge cases before relying on defaults in production.

📋 Related Tools & Guides Comparison

ResourceTypeLink
QR GeneratorUtilityOpen Tool →
UUID GeneratorUtilityOpen Tool →
IP LookupIpOpen Tool →
Password Generator Guide: Entropy, Cracking & the Passwordless FutureGuideRead Guide →
QR Code Generator Guide: History, Error Correction & Best PracticesGuideRead Guide →

FAQ

ToolsNovaHub's Password Generator uses window.crypto.getRandomValues() — the Web Crypto API's cryptographically secure pseudo-random number generator (CSPRNG) built into…
Adjust the length slider and check/uncheck character types.
Yes, Password Generator is completely free with no signup, no usage caps for normal use, and no hidden charges.
No account or registration is required. Password Generator runs directly in your browser and returns results instantly.
Password Generator is built to avoid storing personal query data server-side; lookups are processed and returned without building a profile of your activity.
Yes, Password Generator is fully responsive and works on any modern mobile browser without needing an app.
Password Generator pulls from live, authoritative data sources at query time, so results reflect the current state rather than a cached snapshot — though any third-party data source can occasionally lag by minutes.
There's no hard daily limit for normal, human use; automated bulk scraping may be rate-limited to keep the service fast for everyone.
Password Generator works in all modern browsers including Chrome, Firefox, Edge, and Safari — no plugins or extensions needed.
You can link directly to the Password Generator page from your own site or documentation; direct linking to a specific query result depends on the tool's URL parameters.
Yes. We use window.crypto.getRandomValues(), the browser's CSPRNG that meets FIPS 140-2. It is cryptographically secure and suitable for generating passwords, tokens, and keys.
For most accounts, 16+ characters with mixed types is excellent. For high-value accounts (banking, email, password manager master), use 20+ characters. Length has more impact on strength than complexity alone.
Entropy measures unpredictability in bits: log2(pool_size^length). 70+ bits is strong; 100+ bits is extremely strong against offline attacks. Each extra bit doubles the difficulty of brute-force cracking.
Online attacks are limited by network latency and account lockouts (~1,000 guesses/sec). Offline attacks occur when an attacker has stolen a password hash and can test billions of guesses per second locally without any rate limiting.
Yes. Use a unique random password for every account stored in a reputable password manager (Bitwarden, 1Password, KeePass). You only need to remember one strong master password, and all others can be long and random.