Home › Generators & Text Tools › WiFi Password Generator
WiFi Password Generator
Use this free wifi password generator to create a strong, random password for your home network in seconds. Pick a length, choose which characters to include, and copy the result straight into your router settings. Every password is generated on your device and never sent anywhere, so the password you see is yours alone.
WPA2 and WPA3 passphrases must be 8 to 63 characters long.
How it works
A strong WiFi password is long and random. Every extra character multiplies the number of possible passwords, while a password built from a pet's name, a birthday, or a dictionary word can be guessed far faster than its length suggests. This generator picks every character at random from the sets you choose, using your browser's secure random number generator, so the result has no pattern for an attacker to exploit.
WiFi passwords follow a rule set by the WPA2 and WPA3 security standards: a passphrase must be between 8 and 63 characters long. Shorter than 8 characters, and your router will refuse it; longer than 63, and it will not fit. Within that range, longer is always better. An 8-character password is the bare minimum the standard allows, but it is not a good target — use 16 characters as your starting point, and go to 20 or more for a network you rarely type by hand, such as a guest network. This tool keeps you inside the 8 to 63 range automatically: the slider and the number box both stop at those limits.
The strength meter measures entropy, the standard way to describe how hard a password is to guess. Entropy is counted in bits: take the number of different characters the password could use, work out how many bits of surprise each character carries, and multiply by the length. A pool of 87 characters — 26 lowercase, 26 uppercase, 10 digits, and 25 symbols — gives about 6.44 bits per character. A 16-character password from that pool therefore has about 103.1 bits of entropy. The meter labels follow the bit count: under 40 bits is Weak, 40 to 59 is Fair, 60 to 79 is Strong, and 80 or more is Very strong.
Pool: 26 lowercase + 26 uppercase + 10 digits + 25 symbols = 87 characters
The "exclude ambiguous characters" option removes the characters that are easy to mix up when you read a password aloud or type it from a printed card: the digit 0 and the capital letter O, the digit 1 and the lowercase letter l, and the capital letter I. Removing them shrinks the pool from 87 characters to 82 when all four sets are on, which costs less than 2 bits of entropy on a 16-character password. That is a small price for a password nobody has to squint at, and it is worth turning on when you plan to type the password by hand on a phone or a TV remote. If you must turn symbols off because an old device rejects them, add length to compensate — a 20-character password from letters and digits alone has about 119 bits, which is stronger than a 16-character password with symbols.
Everything happens in your browser. The generator uses crypto.getRandomValues, the secure random source built into modern browsers, and falls back to Math.random only on a very old browser that lacks it. No password is ever sent to a server, saved in a file, or stored in a cookie. Once you copy a password into your router, save it in a password manager, because a truly random password is not meant to be memorized — it is meant to be copied and pasted, and typed only when a device has no other way to join.
Worked example
You set the length to 16 characters, tick all four character sets — uppercase, lowercase, digits, and symbols — and leave "exclude ambiguous characters" unticked. One password the tool generated with exactly those settings is *Hi;*2Z;@Z,DT_}{. Do not use this published example as your own password; generate a fresh one above.
Step 1: Count the character pool. Lowercase letters give 26, uppercase letters give 26, digits give 10, and symbols give 25. The pool is 26 + 26 + 10 + 25 = 87 characters.
Step 2: Work out the bits per character. Log base 2 of 87 is about 6.44 bits.
Step 3: Multiply by the length. 16 characters × 6.44 bits per character = 103.1 bits of entropy.
Step 4: Read the label. 103.1 bits is 80 bits or more, so the meter shows Very strong.
The tool reports the same result: 103.1 bits of entropy — Very strong. For comparison, the same 16-character length with only lowercase letters would give 16 × log₂(26), which is about 75.2 bits — still Strong, but far weaker. And an 8-character password from the full 87-character pool would give about 51.5 bits — only Fair. Length and variety work together, and this example shows why 16 characters with all four sets is a good default.
FAQ
How long should a WiFi password be?
A WiFi password should be at least 16 characters long, and it must be between 8 and 63 characters to work as a WPA2 or WPA3 passphrase. Longer passwords are much harder to guess: a 16-character password drawn from letters, digits, and symbols has about 103.1 bits of entropy, while an 8-character password from the same sets has only about 51.5 bits. Use 16 characters as your minimum, and go longer for a network you rarely need to type by hand.
Are spaces allowed in a WiFi password?
Yes, spaces are allowed in WPA2 and WPA3 passphrases, and a passphrase made of several random words can be strong and easier to remember. This generator does not include spaces, because some older devices, printers, and smart home gadgets trim or reject them. If you want spaces, add them between groups of characters yourself, then test the password on your devices before sharing it.
What should I do if a device rejects symbols in my WiFi password?
First, try a password made only of uppercase letters, lowercase letters, and digits, with no symbols. Some older printers, cameras, and smart home devices accept only letters and digits, or they mishandle certain symbols. Generate a new password with the symbols box unticked and a length of at least 20 characters to make up for the smaller character set. If the device still will not connect, check that you typed the password exactly, including capital letters, and restart the device before trying again.
Is a password generated here safe to use?
Yes. Every password is generated in your browser using your device's secure random number generator, and it is never sent to a server or stored anywhere. Nobody else can see the password you generate, and closing the page removes it from view. For safety, do not share a screenshot of the password, change it if you think someone else has seen it, and keep a copy in a password manager rather than on a sticky note.
Should I use the same WiFi password for my guest network?
No. Use a different password for your guest network so visitors cannot use it to reach your main network. Most modern routers let you set up a guest network with its own name and password. Generate a separate password for it with this tool, share it only with visitors, and change it from time to time, especially after guests leave.