Free · runs in your browser

WiFi Password Generator

WiFi Password Generator. Choose a preset and enter your SSID to instantly generate a strong WiFi password plus a scannable QR code. Set the length slider and let the free password generator mix character types so dictionary attacks and rainbow tables get nowhere.

Your values

Enter it to get a QR code guests can scan to join. It stays in your browser.

Preset

Easy: 12 letters without look-alikes. Balanced: 12 letters and numbers without look-alikes. Secure: 16 letters and numbers. Passphrase: 4 random words. Custom: choose every option below.

Password type

Both WPA2-PSK and WPA3-Personal accept 8 to 63 printable characters.

Generate 1 to 100 WiFi passwords at once.

20 characters is a strong choice for WPA2; 63 is the WPA maximum.

Builds the standard WIFI: text a QR code generator turns into a scannable code; add your network name after S:.

Result

Your WiFi password
—
How strong is the password?
—
Estimated entropy
—
Character pool
—
Average crack time at 100 billion guesses/second
—
Router compatibility
—
WiFi QR code text
—
Scan to connect
—
  • No account, no logging
  • Open formulas explained below
  • Works offline once loaded

Need a new key for your router in the next minute? This WiFi password generator builds a strong, random WiFi key from the length and character types you choose, so you can copy secure passwords straight into your router instead of inventing something memorable. The result is a network key attackers cannot realistically guess, and only you ever see it.

How a WiFi password generator works

You pick a length, tick the character types you want, and the tool returns a fresh key every time. It is a free online password generator tuned for routers: the output is long enough for WPA2 and WPA3, and you can copy it with one click. Unlike a phrase a person invents, a random password generator leaves no pattern to exploit. Any strong password generator works this way, but a Wi-Fi password generator also lets you drop characters that routers and older devices mishandle. A router password generator can also produce several keys at once, called bulk generation, which helps if you manage a few access points.

Client-side generation and cryptographic randomness

The key is built client-side, inside your browser, from a cryptographic randomness source rather than a guessable formula, so nothing travels across the internet or gets stored. Strictly speaking the numbers are pseudo-random, but a cryptographic source is unpredictable enough that every one of the bits in the result is effectively independent. That keeps the output safe to use and good for your privacy, because the random key you generate never leaves your device.

Share a new key with a QR code

After you copy the random key you just generated, you can turn it into a QR code so guests join without typing. Most phones build one from the saved network under Settings > WiFi > Share. Visitors scan it and connect.

Strong WiFi passwords: length, characters and entropy

A strong WiFi password is long, random and used nowhere else. Weak WiFi passwords let hackers eat your bandwidth and watch your traffic, so the goal is to make guessing pointless. Key length drives strength, and strength is measured as entropy in bits, which grows with every extra character: For a device lock or finance app, the pin generator helps protect sensitive information against anyone trying to guess.

Strength scale from weak to strong with 8, 12, 16 and 18 character passwords marked at their entropy in bits
Where 8, 12, 16 and 18 characters land between weak and strong.

$$H = L \times \log_{2}(N)$$

Here \(L\) is the length and \(N\) is the number of possible characters. Take a 16-character key drawn from 82 characters (26 uppercase letters, 26 lowercase letters, 10 digits and 20 symbols): \(16 \times 6.358 = \mathbf{101.7}\) bits. At one trillion guesses per second, a brute force attack would need about 66 billion years on average, roughly 4.8 times the age of the universe, so the crack time is not a practical worry. The real risk is a unique password you later reuse, or one a phishing page tricks you into typing.

Strong WiFi passwords: length, characters and entropy
LengthEntropy (82-character pool)Password strength
8 characters50.9 bitsWeak
12 characters76.3 bitsGood for WPA3
16 characters101.7 bitsStrong
20 characters127.2 bitsVery strong

Password length and character types

Choose the length first, because it matters more than anything else. Set a minimum 16 characters for your main network, and treat the table above as your guide to password length. Then mix uppercase, lowercase, numbers and symbols. Special characters such as @, # and % widen the pool, yet a longer key without them still beats a short key with them. Stick to printable ASCII, since every router accepts plain ASCII, and remember that any strong password you generate should never be reused elsewhere. A dictionary attack gets nowhere against a key containing no words.

Heatmap of WiFi password entropy in bits by length and character pool with the 18-character, 87-symbol cell at 116.0 bits outlined
Entropy in bits by length and pool: each extra character adds far more than a bigger pool.

Excluding similar and ambiguous characters

Among the generator's options, turn on exclude similar characters and the tool drops look-alikes such as 0 and O, or 1, l and I, which makes a key far easier to read out to a guest. Excluding ambiguous characters such as ~ { } [ ] ( ) matters too, because some routers reject them. The price is a couple of bits, which a 16-character key can easily afford. For raw keys, the generator can also output 64 hexadecimal characters, the 256-bit form the WPA standard uses internally.

Generating strong WiFi passwords for a two-unit rental

Dana manages a two-unit rental and wants a fresh guest key before new tenants arrive on Friday. The decision: is a short, easy-to-read key good enough, or is it worth a longer one? Dana opens the generator and enters a length of 18, with uppercase, lowercase, numbers and symbols on, and "exclude similar characters" ticked so the tenants can read it off a printed card. That removes 0, O, 1, l and I, leaving a pool of 77 characters. Anyone who wants to generate a password hint phrase can protect credentials from hackers by choosing at least 12 characters.

Waterfall chart building an 87-symbol character pool from 26 lowercase, 26 uppercase, 10 digits and 32 symbols minus 7 look-alike characters
The 87-symbol pool used in the worked example: all four character types, minus seven look-alikes.

The tool returns a key, and I would check the entropy first: \(18 \times \log_{2}(77) = \mathbf{112.8}\) bits, well past the 100-bit mark. The WPA2 standard allows 8 to 63 characters for the pre-shared key, so 18 fits on any router. Dana pastes it into the router admin page and picks WPA2/WPA3 mixed mode.

Now the sensitivity rerun, because 18 characters is awkward to type on a TV remote. Dana drops the length and compares:

Generating strong WiFi passwords for a two-unit rental
LengthEntropy (77-character pool)
18 characters112.8 bits
14 characters87.7 bits
12 characters75.2 bits

Each character removed costs about 6.3 bits. Fourteen characters still clears the 80-bit level most practitioners treat as comfortable for a home network, so Dana keeps 18 for the main unit and uses 14 for the smart TV's guest network, where typing is the bottleneck.

One caveat: entropy only holds if the key is truly random and never reused. If Dana edited the output into something pronounceable, the figure above no longer applies, and a different tool, such as a passphrase generator with a word list, would be the right choice. The next action is concrete: print the QR code, tape it inside the door and rotate the key at the next tenant change.

WPA2 vs WPA3 and your pre-shared key

The pre-shared key is the secret every device uses to join, and the label on your router may call it a WPA key or WiFi security key. WPA2 arrived in 2004, works with every device and uses AES encryption. It was patched against KRACK, but a short key remains vulnerable to offline guessing attacks, which is a basic cybersecurity lesson. WPA3, introduced in 2018, replaces that handshake with SAE, adds protected management frames and resists brute force far better. WEP is broken, its encryption crackable in minutes, and should never be used. For security on any of them, the key still decides the outcome.

WPA3 device compatibility

Most phones, laptops and consoles from about 2019 onward support WPA3, as do WiFi 6 routers, while older smart TVs and cheap IoT devices often do not. Check device compatibility before switching, because one unsupported gadget cannot join a WPA3-only wireless network. WPA3 also tolerates a shorter key, but a 16-character one costs nothing extra, and the key you generate works the same on either standard.

When mixed mode is the safer choice

Mixed mode lets WPA2 and WPA3 devices share one WiFi network, and it spares you a fallback to WEP encryption for old gear. For most home or office setups, start there, then move to WPA3 only once every device supports it. Mixed mode keeps the older protection available, so paste a long random key from the generator, since the WPA2 side can be attacked offline, and authentication stays safe for newer devices.

Setting a random password on your router

Apply the key where it counts. A random password does nothing until the router uses it, and the steps are short:

  1. Open a browser and go to the router admin login page, usually 192.168.1.1 or the address printed on the router label.
  2. Sign in with the admin credentials. If you are still on the default password, change that first.
  3. Open the wireless or WiFi settings, paste the new network key and save.
  4. Reconnect each device, then update the firmware if the router offers it.

Paste the generated key into these fields:

  • Netgear: Wireless > Security Options.
  • TP-Link: Wireless > Wireless Security.
  • Linksys: WiFi Settings > Security.
  • ASUS: Wireless > General.

Guest network passphrase tips

A guest network keeps visitors off your main devices. Give it its own guest password, and consider a passphrase of random words, which a passphrase generator produces and which is easier to type. Change the guest password after events.

Guest network setup tips

Pair the generated guest key with these settings:

  • Turn on client isolation so guests cannot see each other.
  • Use a key of at least 16 characters.
  • Set time limits if your router supports them.

Storing your key in a password manager

Never post the key online or share it with strangers. Save the random key you generated in a password manager or write it down somewhere safe, then give guests the QR code.

Frequently Asked Questions

Why should you create a strong WiFi password?
A strong WiFi password prevents unauthorized users from connecting to your network, protecting your bandwidth and personal data. Without a strong password, attackers could intercept your traffic, access your devices, or use your connection for malicious activity. A secure WiFi password is one of the most important steps in home and business network security.
How long should a WiFi password be?
WiFi passwords should be at least 12 characters long, but 16–20 characters is strongly recommended for WPA2/WPA3 networks. Longer passwords are exponentially harder to crack through brute-force attacks. This generator defaults to 16 characters as a best-practice starting point.
How does the random password generator work?
The generator builds a character pool based on your selected options (lowercase, uppercase, numbers, symbols) and then randomly selects characters from that pool to form a password of your chosen length. Characters are picked using a cryptographically-inspired random method, ensuring unpredictability and uniqueness each time.
Can a strong password be hacked?
A truly strong password — long, random, and using a wide character set — is practically impossible to crack with brute force. A 16-character password using all character types has trillions of possible combinations. The risk is not usually the password itself but how it is stored or shared, so always keep your WiFi password private.
How to create a strong password for your WiFi?
Use at least 12 characters and mix uppercase letters, lowercase letters, numbers, and symbols. Avoid dictionary words, names, or dates. Never reuse passwords across different networks. Using this generator with all character types enabled and a length of 16 or more is the simplest way to achieve a strong WiFi password.
How to store your WiFi password securely?
Write it down and keep it in a physically secure location, or use a reputable password manager to store it encrypted. Avoid saving it in plain text files on your computer or sharing it over unencrypted messaging apps. For guests, consider setting up a separate guest network with its own password.
What do "exclude similar" and "exclude ambiguous" characters mean?
"Exclude similar characters" removes characters like o, 0, i, l, and 1 that look alike and cause confusion when reading or typing a password. "Exclude ambiguous characters" removes special characters like backticks, semicolons, and brackets that may not work correctly in all router interfaces. Enabling these options makes the password easier to type without significantly weakening it.
What is a good WiFi password strength?
A good WiFi password has an entropy of at least 60 bits, which corresponds to roughly a 12-character password using all character types. Passwords with 80+ bits of entropy are considered very strong and are effectively immune to brute-force attacks with current technology. This generator shows the entropy of your password so you can gauge its strength.

About the author

Vinitha Pu

Founder and designer

Vinitha Pu is a graphic designer based in Palakkad, Kerala, who builds free, privacy-friendly browser tools. She studied Textile and Apparel Design at Avinashilingam University and completed a C-Tech in Graphic Design at Image Creative Education in 2025. She designs, builds and maintains the password generators, strength checkers, hash tools and security calculators on PasswordHive.

  • Content author: Vinitha Pu
  • Fact checked by: Vinitha Pu. Each tool's output is checked against official test vectors or a reference implementation, and every strength and crack-time figure against the formula it uses, before it goes live.
  • Published Updated