Password Generator
Generate strong, secure random passwords with customizable options.
About This Tool
Password Generator creates strong, random passwords with customizable length and character sets — including uppercase, lowercase, digits, and special symbols. It calculates password entropy in real time so you can gauge the strength of each generated password. Essential for anyone who needs secure credentials for accounts, APIs, or database access.
How It Works
This tool uses the Web Crypto API's `crypto.getRandomValues()` to generate cryptographically secure random numbers, which are far superior to `Math.random()` for security purposes. The algorithm builds a character pool based on your selections (uppercase A-Z, lowercase a-z, digits 0-9, special symbols), then picks characters uniformly at random from that pool for each position in the password.
Password strength is measured in bits of entropy, calculated as: entropy = length x log2(pool size). For example, a 16-character password drawn from a pool of 94 characters (all printable ASCII) yields approximately 104.8 bits of entropy. NIST guidelines recommend a minimum of 80 bits for high-security applications. The tool also checks against common patterns — sequential characters, repeated characters, and dictionary words — to ensure the generated password resists both brute-force and dictionary attacks.
Related Articles
How to Create Strong Passwords That You Can Remember
Learn proven strategies for creating strong, memorable passwords. Understand what makes a password secure and how to manage multiple passwords safely.
2026-03-18Ladder Game Online: The Fun Korean Way to Make Random Decisions 2026
Discover the Korean ladder game (Ghost Leg) — a unique, visual, and fair way to make random decisions. Learn how it works, why it's mathematically fair, and creative ways to use it.
2026-03-23Base64 Encoding & Decoding Guide: What It Is and How to Use It 2026
Learn what Base64 encoding is, why it's used in emails, images, and APIs, how the 3-byte-to-4-character conversion works, and practical tips for developers.