Password Generator - Secure & Random
Generate cryptographically random passwords in your browser with a live entropy readout in bits, adjustable length, and character-set toggles. Nothing is sent to a server.
Strength is a number, and that number is entropy
Most password meters are theatre. They add a point for an uppercase letter, a point for a digit, a point for a symbol, and colour the bar green once you have collected enough points. That rewards the wrong thing. The real measure of a random password is its entropy— the number of bits needed to describe how many equally-likely passwords your settings could have produced. This tool shows that number directly, and rates the bar on it.
The formula is H = L × log₂(R), where L is the length and R is the size of the character pool. Each position drawn from a pool of R characters contributes log₂(R) bits. With everything enabled the pool here is 91 characters (26 + 26 + 10 + 29 symbols), so each character adds about 6.5 bits. Lowercase-only is a 26-character pool at 4.7 bits per character. Entropy is just those per-character bits multiplied by how many characters you have.
Why length beats complexity
Here is the comparison that surprises people. A 16-character password using only lowercase letters is about 75 bits (16 × 4.7). An 8-character password using uppercase, lowercase, numbers, and symbols is only about 52 bits(8 × 6.5). The “simple” long one is over 8 million times harder to guess than the “complex” short one, because entropy grows linearly with length but only logarithmically with pool size. Doubling the length doubles the bits; adding a whole new character class adds barely a bit or two per character.
This is why the classic advice to jam in a symbol and a capital is less useful than simply making the password longer. Adding symbols to a 16-character password takes it from about 75 bits to about 104 — helpful, but a smaller jump than going from 8 to 16 characters in the first place. If you have to choose one lever, choose length. The tool defaults to 16 with all sets on (about 104 bits) for exactly this reason.
What the bit thresholds mean
- Under 40 bits — weak. Guessable by a determined offline attacker in reasonable time.
- 40–71 bits — fair. Fine behind online rate limiting, thin for anything hashed and leaked.
- 72–111 bits — strong. Beyond offline GPU cracking for the foreseeable future.
- 112 bits and up — very strong. Comfortable margin against future hardware.
The bar fills to match. These bands describe a truly random password — reused or dictionary-based passwords are far weaker than their raw bit count suggests.
Two things this tool gets right under the hood
- Real randomness. Characters come from
crypto.getRandomValues, notMath.random, whose output can be reconstructed from a few samples. - No modulo bias. Mapping a 32-bit random value with a plain
% 91makes the first few characters marginally more likely. The tool uses rejection sampling — discard the unusable tail and redraw — so every character is exactly equally probable.
Neither is dramatic on its own, but a generator that claims to be secure should be correct in both.
What a generator cannot do for you
A strong random password only helps if you never reuse it. The most common way accounts fall is not brute force at all — it is credential stuffing, where a password leaked from one breached site is tried against every other account you own. A 104-bit password reused across ten sites is a 104-bit password with ten times the exposure. The fix is a unique password per site, which in practice means a password manager, because no one memorises dozens of random strings.
This tool also does not store, sync, or remember anything. That is deliberate — there is nothing here to breach — but it means the moment you generate a password, getting it into a manager or a safe place is on you. And a password is only one factor: turn on two-factor authentication wherever it is offered, so that even a leaked password is not enough on its own.
Note: Entropy measures resistance to guessing a randomly generated password. It says nothing about phishing, malware, or reuse. Store generated passwords in a reputable manager and pair them with two-factor authentication.
How to Use
Set the length with the slider — length is the single biggest lever on strength.
Choose which character sets to include: uppercase, lowercase, numbers, symbols.
Read the entropy figure in bits next to the strength label; aim for 72 bits or more.
Click the refresh icon for a new password, then Copy to put it on your clipboard.
Features
Common Questions
About Strong Password Generator
Generate random passwords with the Web Crypto API and see their real strength as an entropy figure in bits, computed as length times log2 of the character pool — not a vague label from counting how many character types are ticked. Because entropy grows with length, a 16-character lowercase password (about 75 bits) correctly outranks an 8-character password using every character set (about 52 bits). Length runs from 4 to 128, each character set toggles independently, and character selection uses rejection sampling to remove the small modulo bias that skews naive generators. Everything runs locally in your browser; no password, length, or setting is sent to or stored on any server.
Also known as: strong password, random password, secure password maker, password creator, password entropy calculator, password strength bits, crypto random password, passphrase generator, wifi password generator, how strong is my password, bits of entropy, unbiased password generator.
Processing Note
Strong Password Generator runs in your browser, so the input you enter is processed locally on this page and is not uploaded to a ToolMintX account.
Tool Limits
IT tools provide quick diagnostics and transformations. They cannot see every private network, deployment setting, proxy, firewall, or production edge case.
Explore More
AI VRAM Calculator
Estimate GPU VRAM for LLM inference and training using model, quantization, users, and context length.
Client-sideAI API Cost Calculator
Compare and estimate AI API costs across OpenAI, Claude, Gemini, DeepSeek and more for text, image, video, and embeddings.
Client-sideAPI Key and .env Secret Generator
Generate secure .env secrets plus selectable Hugging Face, OpenAI, JWT, database, and webhook variables.
Client-sideSubnet Calculator
IPv4 subnet calculator: network and broadcast address, subnet and wildcard mask, usable host range, and host count from any IP and CIDR prefix.
Client-side