Share your Wi-Fi with a QR code.
Guests point their camera at a code and they're online. No spelling out a 20-character password, no typos, and you can stick it on the fridge.
Every Wi-Fi QR code holds the same three things your guests would otherwise type: the network name, the password, and the type of security. When a phone's camera reads it, the phone offers to join that network. Nothing is looked up online, so the code works even when your internet is down, as long as the router is on.
What's inside the code
The code is just a short line of text in a format phones have agreed on. For a home network called Harbour House with the password sunny-days-42, it reads:
WIFI:T:WPA;S:Harbour House;P:sunny-days-42;;
| Part | Means |
|---|---|
T:WPA | The security type. WPA covers WPA, WPA2 and most WPA3 home networks. Use WEP only for very old routers, or nopass for an open network. |
S: | The network name (SSID), exactly as it appears in your Wi-Fi list, including capitals and spaces. |
P: | The password, exactly as typed into the router. |
H:true | Optional. Add it only if your network is hidden and doesn't show up in the list. |
If your network name or password contains a backslash, semicolon, comma, colon or double quote, each one needs a backslash in front of it inside the code. A good generator does this for you, which is the main reason not to build the text by hand.
How to make one
- Find your exact network name and password. They're usually on a sticker on the router. If you've changed them, check the router's settings page or a device that's already connected. On an iPhone you can see a saved network's password in Settings, then Wi-Fi, then tap the network.
- Check the security type. If you're not sure, choose WPA. It's right for almost every router sold in the last fifteen years.
- Make the code. Type the details into a Wi-Fi QR generator that runs in your browser, so your password isn't sent to someone else's server.
- Test it before you print. Turn off Wi-Fi on a phone, forget the network if it's saved, then scan the code with the camera. It should offer to join, and connect.
- Print it or save it. Put it where guests will see it: the fridge, the guest room, the front desk.
Will it work on every phone?
On current phones, yes. iPhones have read Wi-Fi codes with the built-in Camera app since iOS 11. Android phones read them through the camera app, the QR scanner in Quick Settings, or Google Lens, depending on the brand. Many Android phones can also show a Wi-Fi QR code for the network they're on: open the network in Wi-Fi settings and look for Share.
Laptops are the exception. Most can't scan a code, so keep the password written somewhere for them.
Keep it secure
- Treat the code like the password. Anyone who can photograph it can join. Put it inside, not in a window facing the street.
- Give guests their own network. Most routers can run a separate guest network. Put that one in the code, and your own devices stay on a network guests can't see.
- Change the password, change the code. The details are stored in the code itself, so a new password needs a new code. Old printed codes simply stop connecting.
If it won't connect
- The phone scans but fails to join: the password or network name has a typo, or a capital letter is wrong. Make the code again from the router's sticker.
- The camera doesn't react: the code is too small, too light, or printed on a shiny surface that reflects. Print it larger, dark on white, on matte paper.
- It worked last month: someone changed the password, or the router was reset to its factory settings. Check the details and make a new code.