Skip to content

Wi-Fi password generator with a QR code to join

Create a strong password for your home, office or guest Wi-Fi that every router accepts, then make a QR code so family and visitors can join by pointing their phone camera at it instead of typing. Keys follow the WPA2 and WPA3 rules of 8 to 63 characters and avoid symbols that some routers and phones mishandle. The key and the QR code are made in your browser and never leave it.

Quick answer

For a strong Wi-Fi password, generate a random key of at least 20 characters with capitals, small letters and digits, set it on your router under the wireless security settings, and choose WPA2 or WPA3 Personal. Then type your network name here to get a QR code that phones scan to join without typing.

Kind of key
20

WPA2 and WPA3 accept 8 to 63 characters. 20 or more is a good choice for a home network.

Type it exactly as it appears on your phone, including capitals and spaces.

The key and the QR code are made on your device. Nothing you type or generate is uploaded, logged or saved.

Strength: very strong

about 116 bits

Beyond the reach of any known guessing attack.

QR code to join the network

Type the network name to make a QR code for this key.

Set this key on your router first. The password is inside the QR code, so anyone who scans or photographs it can read it.

How to use the Wi-Fi Password Generator

  1. Pick the kind of key: easy to type for TVs and remotes, letters and numbers for the widest support, or with symbols for the most strength.
  2. Set the length, at least 20 for a home network, press Copy, and paste it as the new password in your router’s wireless security settings.
  3. Type your network name exactly as phones show it to get a QR code, then download it as PNG or SVG and print it for guests or stick it inside a cupboard door.

Why your Wi-Fi password needs to be long and random

With WPA2, anyone within range can record the short handshake a phone makes when it joins your network and then try guesses on their own computer, offline, as fast as their graphics card allows. Short or predictable keys, such as phone numbers, names or the sticker password with a few changes, fall quickly. A random key of 20 characters from letters and digits has about 116 bits of entropy, far beyond any such attack. WPA3 stops that offline guessing, but many networks still run in WPA2 or mixed mode for older devices, so length still matters.

Characters that cause trouble, and how this tool avoids them

The standard allows any printable ASCII character, but real devices are less tolerant. Some router web pages break on quotes, angle brackets or ampersands, a few smart TVs and printers have no easy way to type a backslash, and the semicolon, comma and colon need escaping inside a Wi-Fi QR code. Keys made here use only letters, digits and the symbols ! # % * + - = ? @ _ ~, and they leave out look-alikes such as I, l, 1, O and 0, so nobody types the wrong character from a printed card.

How the join-network QR code works

Phones read a text in the form WIFI:T:WPA;S:network name;P:password;; and offer to join that network. T:WPA covers WPA, WPA2 and WPA3 Personal. If your network name or password contains a backslash, semicolon, comma, colon or double quote, the tool escapes it with a backslash as the format requires, and it adds H:true for a hidden network. The camera apps on recent iPhones and Android phones can scan it directly; some older Android phones need the scanner in the Wi-Fi settings screen. The code is static, so it keeps working until you change the password.

Changing the password on your router

Open your router’s settings page, often at 192.168.1.1 or 192.168.0.1 or through your internet provider’s app, and look for Wireless, WLAN or Wi-Fi security. Choose WPA2-Personal, WPA2/WPA3 or WPA3-Personal, paste the new key, and save. Every device then drops off and must join again with the new key, which is a good moment to remove gadgets you no longer use. Also change the router’s admin password if it is still the one printed on the label.

Guest networks and sharing safely

If your router supports a guest network, give visitors that one, with its own key and QR code, so they cannot see your computers, printers or cameras. Print the guest QR code for a café counter, majlis or holiday flat, and change the guest key now and then, especially after a tenant or employee leaves. Anyone holding a photo of the QR code can read the password inside it, so do not post it online.

Frequently asked questions

What is the longest Wi-Fi password I can use?

WPA2 and WPA3 Personal passphrases can be 8 to 63 characters. A 64-character key must be written in hexadecimal, which few people use. Some older devices and routers cope badly with very long keys, so 20 to 32 characters is a practical sweet spot.

Is WPA3 safer than WPA2 for a home network?

Yes. WPA3 Personal uses a handshake that stops offline password guessing, so even a weaker key is much harder to crack. Choose WPA3 or the mixed WPA2/WPA3 mode if all your devices support it, and still use a long random key for the devices that connect with WPA2.

Is it safe to share my Wi-Fi password as a QR code?

It is as safe as sharing the password itself, because the password is stored in plain text inside the code. Anyone who scans or photographs it can read it. Use a guest network for visitors, keep printed codes indoors, and change the key if a code is shared too widely.

Why does the generator avoid quotes, spaces and some symbols?

They are allowed by the Wi-Fi standard but cause real-world problems: some router pages cut a password at a quote, spaces are easy to miss when typing, and semicolons, commas and colons need special escaping in QR codes. Leaving them out keeps the key working on every device.

Will all my devices disconnect when I change the Wi-Fi password?

Yes. Phones, laptops, smart TVs, printers, cameras and other connected gadgets will drop off and need the new key. Scan the new QR code on phones and tablets, and type the key on the rest; the easy-to-type style helps with remote controls.