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.

4128

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.

Share

Related Articles

84+

Tools available

97+

Blog articles

English & 한국어

Languages

Bookmark this page! We add new free tools every week.