What is password generator?
Weak and reused passwords are a leading cause of account takeovers. A long random password is far harder to guess than a word with a number added at the end.
This generator runs in your browser and uses the Web Crypto API. Nothing is sent over the internet and nothing is stored.
How to use the password generator
- Set the length. 16 or more is a good choice.
- Tick the character types you want.
- Press Calculate, copy a password and save it in a password manager.
How the password generator works
Each character is picked from the allowed set with an unbiased random draw. At least one character from every chosen type is included, then the order is shuffled. Strength is shown as bits of entropy, which is length times the base 2 logarithm of the character set size.
Worked example
Common uses of the password generator
- Creating a new password for an account.
- Making a Wifi key or a PIN like string.
- Generating test data for developers.
- Replacing old reused passwords with unique ones.
- Producing passwords that meet a site's rules.
Tips and common mistakes
Use a password manager so you can have a different password for every site.
Turn on two factor authentication for email, banking and social accounts.
Background: what to know before you rely on it
Password strength is measured in bits of entropy, which is how many guesses an attacker would need on average. Each extra character makes a password exponentially harder to guess. A random 16 character password from 90 symbols has about 100 bits, far more than any realistic attack can crack. Humans are poor at randomness. We choose words, names and patterns that attackers try first. That is why random generated passwords are best, stored in a password manager. Add two factor authentication on important accounts, because the weakest link is often a leaked or phished password, not a guessed one. Never reuse passwords across sites.
Private, free and fast
This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all generators, or browse the full list of tools.
Field by field guide
- Length: Enter a number. The example value is 16.
- Lowercase letters: Tick to turn this option on.
- Uppercase letters: Tick to turn this option on.
- Numbers: Tick to turn this option on.
- Symbols: Tick to turn this option on.
- Avoid look alike characters (O, 0, I, l, 1): Tick to turn this option on.
Change one field at a time to see how the result responds, and use the worked example above to check that you get the same answer.
Password length versus strength
| Length | Entropy | Offline crack time at 10 billion guesses a second | Verdict |
|---|---|---|---|
| 6 | 39 bits | 34 seconds | Very weak |
| 8 | 52 bits | 4 days | Weak |
| 10 | 66 bits | 85 years | Fair |
| 12 | 79 bits | About 754 thousand years | Strong |
| 14 | 92 bits | About 7 billion years | Very strong |
| 16 | 105 bits | Far beyond practical attacks | Excellent |
Figures assume every character is random and an attacker who must try half of all combinations on average. A password built from a word or a pattern is much weaker than its length suggests.
Frequently asked questions
Is this password generator safe?
Yes. It runs in your browser and does not send data anywhere.
How long should a password be?
At least 14 to 16 characters.
Are symbols necessary?
Length matters more. Symbols help when a site asks for them.
Guides that go with this tool
Related tools
Password Strength Checker
Type a password to see a strength rating, estimated entropy in bits and a rough crack time. It checks...
GeneratorsRandom Word Generator
Choose how many words you want and whether they should be nouns, verbs or adjectives. The tool picks...
GeneratorsPassphrase Generator
Choose how many words you want and the tool makes random passphrases with your browser's secure random...
Name and ID GeneratorsUsername Generator
Pick a style, add an optional keyword and the generator creates fresh username ideas. Press the button...
Name and ID GeneratorsRandom String and ID Generator
Choose a length, a character set and an optional prefix. The generator creates secure random strings you...
Developer ToolsHash Generator
A hash is a fixed length fingerprint of your text. Enter text to get its SHA 1, SHA 256, SHA 384 and SHA...
Also available in other languages: Generador de contraseñas (Español) · Générateur de mot de passe (Français) · Passwort Generator (Deutsch) · Generatore di password (Italiano) · Gerador de senhas (Português (Brasil)) · مولد كلمات المرور (العربية) · Wachtwoord generator (Nederlands) · Şifre oluşturucu (Türkçe) · パスワード生成ツール (日本語) · 비밀번호 생성기 (한국어) · Generator haseł (Polski) · Generator kata sandi (Bahasa Indonesia)
More free tools people use next
- Percentage Calculator: Use it for three jobs: find a percentage of a number, find what percent one number is of...
- Average Calculator: The average, or mean, is the sum of the numbers divided by how many there are. This tool...
- Random Number Generator: Enter a minimum, a maximum and how many numbers you want. The generator returns fair...
- Random Name Picker: Enter one name per line, set how many winners you need and press the button. The picker...
- Coin Flip and Dice Roller: Choose a coin or a die, set how many to flip or roll and press the button. The tool...
- Random Seed Generator: A seed is a starting value for a random process. Choose a type and get seeds you can...
- Fuel Cost Calculator: Divide the distance by your fuel economy to find how much fuel you need, then multiply by...
- JWT Decoder: Paste a JWT to see its header, payload, algorithm and expiry time. The tool decodes only...
- CSS Box Shadow Generator: Set the offsets, blur, spread, color and opacity to see the shadow on a preview card,...
- Ratio Calculator: Enter two numbers to simplify their ratio and add a third to find the matching missing...
- Image Color Picker: Choose an image and the tool finds its six most common colors, shows them as swatches...
- PDF to JPG Converter: Choose a PDF and a resolution. Each page is converted to a JPG image that you can preview...
- Pace Calculator: Enter your distance and time to get your pace per kilometer and per mile, your speed, and...
- Scientific Calculator: Type an expression such as 2 * (3 + 4)^2 or sin(30) + sqrt(16). The calculator follows...
- Pythagorean Theorem Calculator: Enter any two sides of a right triangle and leave the third empty. The calculator finds...
- PDF Page Number Adder: Choose a PDF, pick where numbers appear and the first number. The tool stamps a page...
- Spin the Wheel: Type your choices, one per line, and press Spin. The wheel turns and stops on a random...
- Scale Calculator: Enter a scale ratio and one measurement. The calculator returns the matching real life...
- Body Fat Calculator: Enter your sex, height, neck and waist (plus hip for women) in centimeters. The...
- Budget Calculator: Enter your monthly income after tax and choose a split. The calculator shows how much to...
- SQL Formatter: Paste your SQL and press Format. Keywords become uppercase, and each clause starts on its...
- Invoice Generator: Fill in your details, your client and the line items. The generator adds the totals and...
- Email Signature Generator: Enter your details and press Create signature. You get a preview and HTML code you can...
- Resume Builder: Fill in your details and press Build resume. You get a clean resume you can print or save...
Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Do not use online generators for regulated draws or critical security keys.