Password Generator
Generate strong random passwords with customizable length and character types. Create secure passwords with uppercase, lowercase, numbers, and symbols. Free online password generator.
Calculator inputs
Password Options
Choose a length between 4 and 128 characters.
Character Types
Advanced Options
Your results
Sources & methodology
- Formula:
- Character pool
- Content last updated:
- Scheduled re-verification:
- October 2027
Calculation type: Exact calculation. Figures are taken from National Institute of Standards and Technology (NIST) — see sources below.
How to Use This Calculator
- Set Password Length
Choose how many characters your password should be. Longer is stronger — 16+ characters is recommended.
- Select Character Types
Pick which character sets to include. Using all four types maximizes password strength.
- Optionally Filter Characters
Exclude similar-looking characters (like I, l, 1) or ambiguous symbols if the password will be read or typed manually.
- Generate & Copy
A new password is generated instantly. Copy it to your clipboard and store it in a password manager.
Example: 16-Character Strong Password
A 16-character password using all character types.
- Length
- 16
- Uppercase
- Yes
- Lowercase
- Yes
- Numbers
- Yes
- Symbols
- Yes
- Character Pool Size
- 88
- Strength
- Very Strong
- Entropy (bits)
- 103.35
Understanding Your Results
- Password EntropyEntropy measures the unpredictability of a password in bits. Each additional bit doubles the number of possible combinations. A password with 128 bits of entropy is considered extremely secure against brute-force attacks. This generator calculates entropy as: length × log₂(character pool size).
- Character Pool SizeThe character pool is the total number of possible characters in your password. In this generator: uppercase (26) + lowercase (26) + numbers (10) + symbols (26: !@#$%^&*()_+-=[]{}|;:,.<>?) = 88 characters maximum. A larger pool means exponentially more possible passwords — an 8-character password drawn from all 88 characters has 88⁸ (≈ 3.6 × 10¹⁵) possibilities.
- Strength AssessmentStrength is evaluated based on length, pool size, and character variety. Very Strong = 16+ chars with all types and 64+ pool. Strong = 12+ chars with upper/lower/numbers and 50+ pool. Moderate = 8+ chars with 36+ pool. Weak = 6+ chars. Very Weak = less than 6 chars or minimal pool.
Key Tips
- Use at least 16 characters for maximum security. Each additional character exponentially increases cracking difficulty.
- Include symbols for the greatest entropy boost — adding symbols nearly doubles the character pool.
- Exclude similar characters (I, l, 1, O, 0) when passwords must be read aloud or entered from printed material.
- Store generated passwords in a password manager. The generator produces strong credentials but can't remember them.
- Generate a unique password for every account. Password reuse is the leading cause of account compromise.
Understanding Password Security
Why Strong Passwords Matter
Passwords are the first line of defense for your online accounts. Weak passwords are the leading cause of data breaches — attackers use automated tools that can try billions of combinations per second. A password like 'password123' can be cracked in milliseconds, while a 16-character random password with mixed character types would take billions of years to brute-force. Every account you protect with a strong, unique password reduces your attack surface significantly.
Password Entropy Explained
Entropy measures randomness in bits. Each additional bit of entropy doubles the difficulty of guessing. The formula is: entropy = log₂(character_pool^length) = length × log₂(character_pool). For example, an 8-character lowercase-only password (pool=26) has 8 × 4.7 = 37.6 bits of entropy (~2 × 10¹¹ possibilities). An 8-character password with all types (pool = 88 in this generator) has 8 × 6.46 = 51.7 bits (~3.6 × 10¹⁵ possibilities). Doubling the length squares the possibilities — a 16-character mixed password has ~1.3 × 10³¹ possibilities.
Best Practices for Password Management
Use a different password for every account — if one service is breached, your other accounts remain safe. Use a password manager to generate and store complex passwords. Enable two-factor authentication (2FA) wherever available. Change passwords immediately after a known breach. Avoid using personal information (birthdays, names, addresses) in passwords. Never share passwords via email or messaging apps.
How the Generator Works
In any modern browser, this tool uses the Web Crypto API's getRandomValues() — the same cryptographic engine browsers use for HTTPS encryption — with rejection sampling to select each character with truly uniform probability and no modulo bias. Each generated password includes at least one character from every selected type, and the Fisher-Yates shuffle algorithm randomizes their positions so the guaranteed characters aren't predictably placed. The generator runs entirely in your browser; no passwords are ever stored or transmitted.
Formula & methodology
Formula used
Character pool
pool = the union of every character set you enableEach additional set widens the pool and therefore the strength.
Entropy
entropy (bits) = length × log₂(pool size)The standard measure of how hard a password is to guess by brute force. Every extra bit doubles the work required.
Unbiased selection
rejection sampling over crypto.getRandomValuesValues landing outside the largest exact multiple of the pool size are discarded and redrawn, so no character is more likely than another.
Variable definitions
| Symbol | Meaning | Unit |
|---|---|---|
| length | Length. how many characters the password has | characters |
| pool | Pool size. how many distinct characters are available to draw from | count |
Step-by-step calculation
- 1. Choose a lengthLength raises entropy faster than any other single choice.
- 2. Enable the character sets you needSome sites reject particular symbols; exclude look-alike characters if the password must be typed by hand.
Limitations
- Entropy measures resistance to brute force only. It says nothing about a password exposed by a breach, by reuse or by phishing.
- Passwords are generated in your browser and never transmitted or stored, so nothing here can recover one you did not save.
- The strength rating is a guide based on entropy alone and does not reflect any particular site's policy.
This page is educational. It applies the formula described above to the figures you enter and shows the arithmetic behind the result. The output is only as good as the inputs and the assumptions listed here, and it is general information rather than advice about your particular situation.
Sources & references
- NIST Special Publication 800-63B — Digital Identity Guidelines: Authentication and Lifecycle Management — National Institute of Standards and Technology (NIST)
Frequently Asked Questions
How long should a strong password be?
At least 16 characters. An 8-character password can be cracked in hours; 16 characters takes billions of years with the same character set. Longer is always stronger.
What characters should my password include?
Use uppercase, lowercase, numbers, and symbols together. In this generator that maximizes the character pool at 88 possibilities per position (26 + 26 + 10 + 26 symbols), dramatically increasing entropy and security.
Is this password generator safe to use?
Yes. All generation happens locally in your browser using the Web Crypto API. No passwords are stored, transmitted, or logged. Your password exists only on your screen.
What does password entropy mean?
Entropy measures unpredictability in bits — each bit doubles the attacker's work. A password with 80+ bits of entropy is strong. This tool calculates entropy as length × log₂(character pool).
Should I use the same strong password everywhere?
No. Password reuse is dangerous — if one site is breached, all accounts are compromised. Generate unique passwords for every service and use a password manager to store them.
Need more help? Contact support or email globalcalqulate@gmail.com. We typically reply within 24–48 hours.