AioGalaxy WebTools
Password Tools

Free Online Strong Password Generator

Make a random password of 8 to 64 characters, choose which characters it uses, and see an estimate of its strength in bits.

Web Crypto API Strength in bits 8 to 64 characters Runs in your browser
Strength

How to Use the Password Generator

Step 01

Set Length & Characters

Move the slider (8 to 64 characters) and choose uppercase, lowercase, numbers and symbols.

Step 02

Check the Strength

Read the strength estimate in bits. More bits means more possible passwords, so it is harder to guess.

Step 03

Copy It

Click "Copy" and save the password in a password manager. Use a different password for every account.

Short Guide

What makes a password strong?

Two things: it is long, and it is random. A long random password has too many possible combinations for a computer to try them all. A short password, or one built from a word you know, is much easier to guess.

How strength is measured

Strength is counted in bits of entropy. Each extra bit doubles the number of guesses an attacker needs. For a random password:

E = L × log2(R)

Here L is the length and R is the number of different characters the password can use (the pool).

Numbers only
Pool: 10
3.32 bits per character
Lowercase
Pool: 26
4.70 bits per character
Letters and numbers
Pool: 62
5.95 bits per character
Letters, numbers, symbols
Pool: 94
6.55 bits per character

How long would it take to crack?

The table assumes an attacker who can try 100 billion guesses per second against a fast, unsalted hash. Passwords stored with a slow method such as bcrypt take far longer to attack.

Length Characters used Combinations Entropy Time to try them all
8 Numbers only 100,000,000 26.6 bits About 1 millisecond
8 94 characters 6.1 × 1015 52.4 bits About 17 hours
12 62 characters 3.2 × 1021 71.4 bits About 1,000 years
16 94 characters 3.7 × 1031 104.9 bits About 11 trillion years
24 94 characters 2.2 × 1047 157.3 bits About 7 × 1028 years

Note: this tool uses 26 symbols, so its largest pool is 88 characters, not 94. The strength meter above uses the real pool size of your settings.

Simple tips

  • Use a password manager and let it save a different password for each account.
  • Make important passwords at least 16 characters long.
  • Never reuse a password. If one site leaks it, attackers try it on other sites.
  • Turn on two-step login where it is offered.
  • Current NIST guidance favors long passwords over strict symbol rules, and says passwords need changing only if there is a sign of a leak.

Why this tool does not use Math.random()

The Math.random() function in JavaScript is made to be fast, not secret, so its results can be predicted. This tool uses window.crypto.getRandomValues(), which is made for security. It also avoids a small bias when it picks characters, so every character in your pool is equally likely.

Make passwords in code

Python (secrets module)

import secrets import string alphabet = string.ascii_letters + string.digits + "!@#$%^&*" password = ''.join(secrets.choice(alphabet) for _ in range(18)) print(password)

Node.js (crypto module)

const crypto = require('crypto'); function generateSecurePassword(length = 18) { const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*'; let password = ''; for (let i = 0; i < length; i++) { password += chars[crypto.randomInt(0, chars.length)]; } return password; } console.log(generateSecurePassword());

PHP

function generatePassword(int $length = 18): string { $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()_+-='; $maxIndex = strlen($chars) - 1; $password = ''; for ($i = 0; $i < $length; $i++) { $password .= $chars[random_int(0, $maxIndex)]; } return $password; } echo generatePassword();

Frequently Asked Questions

How does this tool make passwords?

It uses the Web Crypto API in your browser (window.crypto.getRandomValues), which is made for secure random numbers. The password is made on your device and is not sent anywhere.

How long should a password be?

Longer is better. Aim for 16 characters or more for important accounts. Current NIST guidance also puts length ahead of strict rules about symbols and numbers.

What is entropy?

Entropy is a score, in bits, for how hard a password is to guess. Each extra bit doubles the number of guesses needed. For a random password it is the length times log2 of the pool size. For example, 16 characters from a pool of 94 is about 105 bits.

How long would it take to crack a 16-character random password?

If an attacker could try 100 billion guesses per second, going through every 16-character combination from a pool of 94 characters would take about 11 trillion years. Real attacks depend on how the password is stored, so treat this as an estimate.

Is a passphrase a good choice?

Yes. Four or five random words in a row can be strong and easier to remember. This tool makes random characters, not word phrases.

Are the passwords saved anywhere?

No. The password is made in your browser and is not sent to our server. It is gone when you close or reload the tab.

Should I use a password manager?

Yes. A password manager can save a different long password for every account, so one leaked password does not open your other accounts.

Explore Related Security Tools

Popular