Passphrase Generator
Generate secure, memorable passphrases using the diceware method — random words selected with
crypto.getRandomValues().
Easier to type than random passwords, harder to crack than weak passwords.
Frequently Asked Questions
What is a passphrase and how is it different from a password?▼
A passphrase is a sequence of random words (e.g., 'frost-blade-coral-drone') rather than a string of random characters. Passphrases are easier to remember and type while maintaining strong entropy. A 4-word passphrase from a 200-word list has ~28 bits of entropy; from a 7,776-word EFF list, it's ~51 bits per word — similar to a 9-character random password.
How many words should my passphrase have?▼
For most accounts: 4 words (~28 bits). For high-security accounts (email, banking, SSH keys): 6+ words (~40+ bits). NIST SP 800-63B recommends at least 15 characters for memorized secrets. A 6-word passphrase is typically 30-40 characters and far exceeds this threshold while remaining memorable.
Is this tool cryptographically secure?▼
Yes. All word selection uses crypto.getRandomValues() — the Web Crypto API backed by your OS's CSPRNG (Cryptographically Secure Pseudo-Random Number Generator). This is the same randomness source used by TLS, password managers, and OS key generation. Nothing is sent to any server.
What is the diceware method?▼
Diceware was invented by Arnold Reinhold in 1995. You roll physical dice to select words from a numbered list — each 5-die roll selects 1 of 7,776 words. The digital version (used here) replicates the same principle with crypto.getRandomValues() instead of dice. The key insight: randomness comes from the word selection process, not word complexity.
Should I add numbers or symbols to my passphrase?▼
Adding a number appended to the passphrase adds log2(100) ≈ 6.6 bits of entropy. This can help satisfy password policy requirements (must contain a number) while keeping the passphrase readable. Capitalizing words helps with similar policies. However, the words themselves provide most of the security — the main value of additions is policy compliance, not a dramatic security improvement.
When is a random password better than a passphrase?▼
Random passwords are better when: (1) you have a password manager and will never type it manually, (2) the system has a character limit too short for a passphrase, or (3) you need maximum entropy per character (base64 URL gives ~6 bits/char vs ~7.5 bits/word). For passwords you actually need to remember — master password, disk encryption, SSH key passphrase — passphrases are superior.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
Password Generator
Free cryptographically secure password generator. Custom length (4–128 chars), character sets (uppercase, lowercase, numbers, symbols), and ambiguous character exclusion. Password strength meter inclu
Open free tool →
AI JSDoc Generator
Paste any function or class signature and get a complete JSDoc, TSDoc, Python docstring, or Rust doc comment generated instantly. Parses parameter types, return types, and async modifiers automatically.
Open free tool →
API Key Generator
Generate cryptographically secure API keys in your browser. Choose from hex, UUID v4, JWT-style, base64url, alphanumeric, and numeric formats. Add prefixes and grouping.
Open free tool →
More Free Tools
Related Articles
Authentication Security Tools 2026: Modern Auth Patterns, MFA, Passwordless, and OAuth2
Complete guide to authentication security tools in 2026. Covers Auth0, Clerk, NextAuth.js v5, JWT security, Passkeys/WebAuthn, TOTP authenticator apps, OAuth2/OIDC, session management, and building secure auth systems with Node.js and Python.
JWT Authentication Best Practices 2026: Secure Your API Tokens
Complete JWT security guide for 2026. Covers RS256 vs HS256 signing, token storage strategies, expiry and refresh token patterns, revocation, common vulnerabilities, and a production security checklist.
Passkeys and WebAuthn Implementation Guide 2026: Browser Support & UX Patterns
Implement passkeys and WebAuthn in 2026: browser support matrix, registration and authentication flows, server-side verification, UX best practices, and library recommendations.
Zero Trust Architecture: A Practical Guide for Web Developers 2026
Implement Zero Trust for web applications: mTLS between services, SPIFFE/SPIRE identity, service mesh security (Istio/Linkerd), token-based auth patterns, and BeyondCorp-style network access.
Clerk vs Auth0 vs NextAuth vs Lucia - Authentication in 2026
A comprehensive comparison of the top authentication solutions for Next.js and modern web apps in 2026. Compare Clerk, Auth0, NextAuth.js (Auth.js), and Lucia on DX, pricing, features, and edge compatibility.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →