Country & language

Sets the currency, units and country-specific rules (tax, VAT, salary) in calculators. General tools stay the same.

Pages that are not translated yet open in English.

↑ ↓ to move · Enter to open · Esc to close

Password Generator

Pick a length and the character types. Each password is drawn on your device from the browser’s cryptographic random source, then rated by its exact entropy and the time a fast offline attack would need.

Quick answer: A 16-character password using uppercase, lowercase, digits and symbols is drawn from 94 characters: 16 × log₂ 94 = 104.9 bits, or 104.6 bits once every password must contain all four types. At 100 billion guesses a second that takes about 4,846 billion years to crack on average.

Updated · Free · No sign-up

Password Generator inputs

characters

Result

What the official guidance says

Password advice changed in July 2025, when the US National Institute of Standards and Technology published SP 800-63B-4, the guideline most security policies copy. Section 3.1.1.2 sets the rules for services – banks, employers, government portals – that follow it:

  • At least 15 characters when the password is the only thing protecting the account, and at least 8 when it is combined with a second factor such as a one-time code or an authenticator app.
  • Accept passwords of at least 64 characters, all printable ASCII characters, spaces and Unicode, and allow pasting from a password manager.
  • No composition rules (“one capital, one number, one symbol”) and no forced changes every 90 days – a change is forced only when there is evidence the password leaked.
  • Check every new password against a blocklist of common, expected and breached passwords.

The US Cybersecurity and Infrastructure Security Agency gives the user’s side in one line: at least 16 characters, random, and different for every account – which in practice means a password manager.

How strength is measured

Entropy (bits) = log₂(number of possible passwords) ≈ length × log₂(pool size)

A pool of 94 characters gives log₂ 94 = 6.55 bits per character, so 16 characters give 104.9 bits. The exact figure is slightly lower, because a password that must contain every chosen type cannot be, for example, all lowercase. At 16 characters 82.3% of all strings qualify, which costs 0.3 bits (104.6). At 8 characters only 46.1% qualify and the cost is 1.1 bits (51.3 instead of 52.4) – one reason short passwords with forced rules are weaker than they look.

The crack time assumes an attacker who has stolen a database of password hashes and tests 100 billion guesses a second; on average they find a random password after trying half of all possibilities. That is a fast offline attack. Logging in through a website is a different game: §3.2.2 of the NIST guideline caps failed attempts at 100 per account, which is why even a short random password survives an online attack and the real danger is a breach of a site that stored passwords badly.

Three passwords, computed by the generator

16 characters, all four types

Pool 94, entropy 104.6 bits, strength “Very strong”, about 4,846 billion years to crack on average. This is the CISA recommendation and the right default for email, banking and work accounts kept in a password manager.

15 lowercase letters

Pool 26, entropy 70.5 bits, “Good”, about 266 years. It meets NIST’s 15-character minimum without a single capital or symbol – and is much easier to type on a phone. Add one more letter and it rises to 75.2 bits and about 6,909 years.

16 characters for a Wi-Fi key

Letters and digits only, with I, l, 1, O, 0 and o removed so nobody misreads it from the router label: pool 56, 92.8 bits, about 1.4 billion years. You lose the symbols that TV and printer keyboards hide on a second screen, and you lose no meaningful security.

Entropy by length and character set

LengthLowercase only (26)Letters + digits (62)All four types (94)Crack time, all four
837.6 bits47.2 bits51.3 bitsabout 3.9 hours
1256.4 bits71.3 bits78.1 bitsabout 52,770 years
1570.5 bits89.2 bits98.0 bitsabout 50 billion years
1675.2 bits95.2 bits104.6 bitsabout 4,846 billion years
2094.0 bits119.0 bits130.9 bitslonger than the age of the universe

Strength labels: under 40 bits weak, 40–59 fair, 60–79 good, 80–99 strong, 100 and above very strong. Read the table across and down: adding symbols at 12 characters gains 6.9 bits, while one extra character from the full pool gains 6.6 – so a site that bans symbols costs you one character, not your security.

How this generator draws a password

  • Every character comes from crypto.getRandomValues, the browser’s cryptographically secure generator, with rejection sampling so that no character is more likely than another (a plain “random number mod 94” would slightly favour the first characters of the pool).
  • All characters are drawn independently from the whole pool; if the result is missing a type you selected, it is thrown away and drawn again. Every valid password is therefore equally likely, which is what makes the entropy figure exact.
  • Nothing leaves your device and the page is never pre-filled, so no password can end up in a cache or a search engine.

Common mistakes

  • Editing the generated password to make it “memorable” – any human pattern you add is what cracking tools try first.
  • Reusing one strong password on several sites. Strength does not help when one of those sites leaks it in plain text; uniqueness does.
  • Trusting a strength meter on a password you invented. The entropy here is valid only for passwords this generator made.
  • Saving passwords in notes, photos or chat messages instead of a password manager.
  • Answering security questions truthfully. If a service still asks for your first school, treat the answer as another random password.

When a password is not enough

Turn on a second factor – an authenticator app or a passkey where offered – for email, banking and any account that can reset others. If a service says your password appeared in a breach, or you typed it into a page you reached from a message, change it at once on that site and on any site where you reused it, and tell your bank or employer’s IT team if money or work data is involved.

Frequently asked questions

How long should a password be?

NIST SP 800-63B-4 (July 2025) makes services require at least 15 characters when the password is the only sign-in factor and at least 8 when it is used with a second factor; CISA advises at least 16. A random 16-character password from all four character types has 104.6 bits of entropy here, against 51.3 bits for 8 characters.

Is a random password generator safe to use?

This one is: the password is made on your device with crypto.getRandomValues, the browser’s cryptographically secure generator, and is never sent to a server or stored. The page is not pre-filled with a password, because anything in the page’s HTML would be public.

Do I need symbols in my password?

Only if a site insists – NIST now forbids services from imposing composition rules. At 12 characters, adding the 32 symbols lifts entropy from 71.3 to 78.1 bits, about what one extra character adds (6.6 bits), so length does the same job and is easier to type.

How long would it take to crack an 8-character password?

An 8-character random password from all 94 characters (51.3 bits) falls in about 3.9 hours on average at 100 billion guesses a second; 8 lowercase letters (37.6 bits) fall in about 1 second. That speed applies when a leaked database uses a fast hash; a website’s login page must lock the password after at most 100 failed attempts.

What is password entropy?

Entropy is log₂ of the number of equally likely passwords your settings can produce: each extra bit doubles the attacker’s work. It describes how the password was made, so it only holds for randomly generated passwords – a human-chosen “P@ssw0rd2026!” scores high on paper but sits near the top of every cracking list.

Why exclude look-alike characters?

I, l, 1, |, O, 0 and o are easy to confuse when you read a password aloud or type it from a screen, such as a Wi-Fi key. Leaving them out shrinks the pool from 94 to 87 characters and costs about 1.9 bits at 16 characters (102.7 instead of 104.6) – one extra character wins it back.

How often should I change my password?

Only when there is a reason, such as a breach, a phishing click or a shared device. NIST SP 800-63B-4 §3.1.1.2 says services shall not force periodic changes but shall force a change when there is evidence of compromise.

Is a passphrase better than a random password?

For a password you must remember, often yes. Five words picked at random from a 7,776-word list give 5 × log₂ 7,776 ≈ 64.6 bits and six give 77.5 bits – similar to 10–12 random characters but far easier to type. The UK NCSC’s “three random words” advice works the same way; the words must be picked at random, not from a quote or a song.

What changed

  • – Page fully reviewed. Passwords are now drawn uniformly from every string that contains each chosen character type (the old method placed one character of each type and shuffled, which made some passwords likelier than others), and entropy is now exact: 16 characters from all four types is 104.6 bits, not 104.9. Crack times of exactly one unit now read “1 second”, not “1 seconds”.
  • – NIST published SP 800-63B-4: 15-character minimum for passwords used alone, 8 with multi-factor authentication, no composition rules and no forced periodic changes.

Sources

Last reviewed: · Reviewed by Chelsea, CalcBright's animated guide, for the CalcBright editorial team · How we check our numbers