Password Strength Checker Online | Crack Time Estimation Browser

Password & Security
100% client-side. Processed locally in your browser using the Web Crypto API. Nothing is sent to any server.
⚠️ Critical Security: A score of 3+ is required for practical security. Passwords scoring 0-2 can be cracked in seconds to months with modern hardware. Never use passwords scoring below 3 for any important account.

How It Works

What Is a Password Strength Checker?

A password strength checker evaluates how resistant your password is to various attack methods. This tool uses zxcvbn, an open-source password strength estimator developed by Dropbox. Unlike simple length-based checkers, zxcvbn recognizes patterns that humans and attackers both exploit — dictionary words, keyboard routes like "qwerty", repeated characters, dates, sequences, and common substitutions like @ → a or 3 → e.

The checker tests against the top 30,000 most common passwords from real-world breach data, calculates entropy in bits (a measure of unpredictability), and estimates crack time under four attack scenarios from online guessing (100 attempts/sec) to GPU clusters (10 billion/sec). All analysis runs locally in your browser; your password is never transmitted to any server.

When to Use a Password Strength Checker

  • Before creating new passwords — Verify your chosen password meets security standards
  • Auditing existing passwords — Check if your current passwords are vulnerable to attacks
  • Testing passphrases — Validate that word-based passwords provide sufficient entropy
  • Compliance checking — Ensure passwords meet organizational security policies
  • When NOT to use — Don't test real production passwords on public sites; use this tool for educational purposes or test with similar patterns instead

Score Interpretation

Score Rating Entropy Crack Time (GPU)
0 Very Weak < 30 bits Seconds
1 Weak 30-45 bits Minutes to hours
2 Fair 45-60 bits Months to years
3 Strong 60-80 bits Centuries
4 Very Strong 80+ bits Millions of years

Standards Compliance

  • zxcvbn Algorithm — Open-source password strength estimation (Dropbox, 2016)
  • NIST SP 800-63B — Digital Identity Guidelines: Password strength meter recommendations
  • OWASP Password Guidelines — Authentication Cheat Sheet (2024)
  • Have I Been Pwned — Top 30,000 common passwords from real-world breach data

Last updated:

Code Examples

Integrate password strength checking into your own application:

JavaScript — zxcvbn-ts library

import { zxcvbnOptions } from '@zxcvbn-ts/core';
import { zxcvbnCommonPackage } from '@zxcvbn-ts/common';

zxcvbnOptions.setOptions({
  translations: zxcvbnCommonPackage.translations,
});

const result = zxcvbnOptions.zxcvbn('P@ssw0rd');
console.log('Score:', result.score);    // 0 (Very Weak)
console.log('Feedback:', result.feedback.suggestions);

Python — zxcvbn-python

from zxcvbn import zxcvbn

result = zxcvbn('P@ssw0rd')
print(f"Score: {result['score']}")  # 0 (0-4 scale)
print(f"Crack time: {result['crack_times_display']['offline_slow_hashing_1e4_per_second']}")
print(f"Feedback: {result['feedback']['suggestions']}")

Go — go-zxcvbn

package main

import (
    "fmt"
    "github.com/nbutton23/zxcvbn-go"
)

func main() {
    password := "P@ssw0rd"
    result := zxcvbn.PasswordStrength(password, nil)
    fmt.Printf("Score: %d/4\n", result.Score)
    fmt.Printf("Crack time: %s\n", result.CrackTimeDisplay)
}

Rust — zxcvbn crate

use zxcvbn::zxcvbn;

let password = "P@ssw0rd";
let result = zxcvbn(password, &[], None).unwrap();
println!("Score: {}/4", result.score());
println!("Entropy: {:.2} bits", result.entropy());
println!("Crack time: {:?}", result.crack_times().offline_slow_hashing_1e4_per_second());

Node.js — zxcvbn (CommonJS)

const zxcvbn = require('zxcvbn');

const result = zxcvbn('P@ssw0rd');
console.log('Score:', result.score);  // 0 (Very Weak)
console.log('Feedback:', result.feedback.suggestions);
console.log('Crack time:', result.crack_times_display.guesses_per_second);

Common Pitfalls & Attack Vectors

⚠️ Relying Solely on Length — A 20-character password like "aaaaaaaaaaaaaaaaaaaa" scores low despite being long. zxcvbn detects repeated patterns, sequences, and dictionary words — length alone doesn't guarantee strength.
⚠️ Ignoring Context-Specific Weaknesses — zxcvbn cannot account for account-specific context (e.g., your name, company name, or pet's name in the password). A password scoring 4 might still be weak if it contains personal information.
⚠️ Testing Real Production Passwords — Never test actual production passwords on public sites. Even client-side checkers can be compromised by browser extensions or network monitoring. Use for educational purposes or test with similar patterns instead.
⚠️ Misinterpreting Score 2 as "Safe" — A score of 2 (Fair) means the password can be cracked in months to years with a GPU cluster. For critical accounts, always require score 3+ (Strong or Very Strong).
⚠️ Common Substitutions — Replacing letters with similar-looking symbols (@ for a, 3 for e, 0 for o) doesn't fool zxcvbn. These patterns are in every attacker's dictionary. Use truly random characters instead.

Security Notes

🔒 zxcvbn is a heuristic, not a guarantee — it detects common patterns but cannot account for account-specific context (e.g., your name in the password).
🔒 Aim for score 3+ — passwords scoring 3 or higher resist all practical attack scenarios.
🔒 Length beats complexity — a 16-character lowercase password often scores higher than an 8-character mixed-type password.
🔒 Generate, don't guess — use our Password Generator or Passphrase Generator for truly random, high-entropy credentials.

Disclaimer

Disclaimer: This page is for educational and testing purposes only. It does not constitute professional security advice. For production password policies and authentication systems, consult official standards (NIST SP 800-63B, OWASP) and conduct a formal security review.

Further Reading & Standards

Related Concepts

Related Tools

Want to generate a password that scores 4 out of the box? Try the Password Generator. For a memorable yet equally strong alternative, the Passphrase Generator creates high-entropy word sequences. To understand the math behind the score, the Entropy Calculator breaks down the bits.

Frequently Asked Questions

Is my password sent to a server?

No. All analysis happens entirely in your browser using the zxcvbn library. Your password never leaves your device — not even for a fraction of a second.

What do the strength scores mean?

Scores range from 0 (Very Weak) to 4 (Very Strong). The score is based on pattern recognition and entropy estimation — a score of 3+ means your password would take years or longer to crack with current technology.

What are entropy bits?

Entropy measures how unpredictable your password is, in bits. Each additional bit doubles the search space. As a rule of thumb: under 30 bits is weak, 30-60 is fair, 60-80 is strong, and 80+ is very strong.

How is crack time calculated?

The tool estimates crack time under four attack scenarios — online guessing (100 attempts/sec), slow hash attack (10,000/sec), workstation attack (100M/sec), and GPU cluster (10 billion/sec). The slowest scenario represents the most likely real-world attack.

Can I check a passphrase with spaces?

Yes. Passphrases like "correct horse battery staple" are fully supported and often score very high due to their length. Try our <a href="/passphrase-generator" class="text-(--color-accent) hover:underline">Passphrase Generator</a> to create memorable, high-entropy passphrases.

Privacy: This tool runs entirely in your browser — nothing is uploaded or stored. · Disclaimer: For educational purposes only. Not professional security advice.

More in Password