Generate WPA-compatible Wi-Fi passwords of 8–63 characters in your browser, using the web's cryptographic random API. Customizable length and character sets. Nothing runs on a server, nothing leaves your device.
A Wi-Fi password is a pre-shared key (PSK): the secret your devices use to join the wireless network. It is not the same as the router's admin password, which opens the settings page.
A Wi-Fi passphrase can be 8 to 63 characters long: the documented WPA/WPA2-Personal range in the wpa_supplicant specification ("ASCII passphrase (8..63 characters)", w1.fi documentation, 2015-09-27). Length is the lever you control: a longer, truly random key gives an attacker far more guesses to try after capturing a handshake.
NIST's current password guidance (SP 800-63-4, section 3.1.1, dated 2025-08-26) sets a minimum of 15 characters for single-factor passwords, suggests supporting at least 64, and says verifiers should not impose composition rules such as forced symbol mixing. That guidance is written for online sign-in services, not for Wi-Fi keys, so treat it as a benchmark rather than a Wi-Fi rule. The 8–63 character limit above is the spec that applies here. The practical takeaway is the same: prefer length and randomness over gimmicks, and let a generator do the random part unbiased. This page generates keys with the browser's crypto.getRandomValues(), the Web Cryptography API documented as producing "cryptographically strong random values" (MDN, 2025-08-19), with rejection sampling that avoids modulo bias.
Many routers also ship with a Wi-Fi key printed on the label. Anyone who has seen that label (a previous owner, an installer, a visitor) knows it, so replacing it with your own generated key is worthwhile. Change it now, and use the button above to generate a replacement.
| Aspect | WPA2-Personal | WPA3-Personal |
|---|---|---|
| Password-based key establishment | The passphrase is used to derive key material; the 4-way handshake then sets up the session keys | SAE (Simultaneous Authentication of Equals), based on the Dragonfly key exchange, replaces the earlier password-based key establishment; the 4-way handshake still follows |
| Captured-handshake offline guessing | Weak passphrases are vulnerable: "personal WPA2 networks that use a weak password are vulnerable to offline dictionary attacks" (Vanhoef, 2018) | Designed so a captured exchange does not enable offline guessing; early implementations had patched side-channels (Dragonblood, IEEE S&P 2020), the protection is strong, not magic |
| Passphrase length | 8–63 characters | 8–63 characters, the same range works in every mode |
| Device support | Broad, including older hardware | Newer devices; mixed-mode networks keep both working |
Which should you choose? If any of your devices is old or you are unsure, choose WPA2/WPA3 mixed mode so older devices can still join. If every device is recent, choose WPA3-Personal. Even in mixed mode, a device that joins with WPA2 is still exposed to offline guessing, so a long random key still matters.
Two details people often get wrong: WPA3 does not eliminate the 4-way handshake. SAE replaces only the step that turns the password into a shared key, and the standard 4-way handshake still derives session keys afterwards (Vanhoef technical analysis, 2018-03-12). And the "192-bit" figure belongs to an optional mode of WPA3-Enterprise (office networks with a login server), not to WPA3-Personal at home.
Once you have a key you like, open your router's settings page and follow the numbered steps below. Most routers use 192.168.1.1 or 192.168.0.1 as the gateway address. If you cannot sign in, use the Default Password Lookup to find the documented login for your model, or browse the Router Login Directory by brand.
Connect your device to your home network, then type your router's address in the browser's address bar (not the search box). Common addresses are 192.168.1.1, 192.168.0.1 and, on AT&T gateways, 192.168.1.254. The address is also printed on the router's label. Not sure? See our guide to find your router's IP address.
Enter the router's admin login. AT&T gateways ask only for the Device Access Code printed on the device, with no username field. If you do not know the login, use our Default Password Lookup tool before you consider a reset.
Look for Wireless, Wi-Fi, or Wireless Security. Menu names differ between brands and models. Choose a security mode your router supports: WPA2/WPA3 mixed mode if you are unsure, or WPA3-Personal if all your devices support it. If the router only offers WPA2, select WPA2-PSK with AES.
Copy the key generated on this page and paste it into the field labelled Wi-Fi Password, Pre-Shared Key (PSK), or Passphrase. Check the whole key was copied, then click Apply or Save. Saving disconnects every device using the old key, so keep the new key to hand. Devices without a screen (smart plugs, cameras, thermostats) must be re-added one by one.
Reconnect one phone first; when it joins and browses, update your other devices. If a device keeps failing, tell it to forget the network and join again with the new key.