How to make a WiFi QR code
A WiFi QR code lets guests join your network by pointing their camera at it. No spelling out a 16-character password, no "is that a zero or a capital O?". This guide covers setup, which phones support it, how to keep it secure, and what to do when it won't connect.
Step by step
- Open the generator and choose the WiFi tab.
- Enter the network name (SSID) exactly. It's case-sensitive, and spaces count. "Cafe Guest" and "cafe guest" are different networks. Copy it from your router's admin page or the sticker on the router if you're unsure.
- Enter the password and choose the security type. Almost all modern home and business networks use WPA/WPA2. Choose None only for open networks with no password.
- Add a label such as "Scan to join our WiFi". People are much more likely to scan a code when they know what it does. It's also worth printing the network name and password in small text underneath for laptops and older phones.
- Generate, then test with two phones, ideally one iPhone and one Android, before printing.
- Download and print. A code around 3–5 cm wide is a good starting point for a table card or a fridge. Use 10 cm or more for a wall sign people will scan from a metre away (see our size guide).
Privacy note: the network name and password you type are turned into a QR code inside your browser. They aren't sent to our servers.
What's inside a WiFi QR code
A WiFi QR code is just a short piece of text in a widely supported format. For a network called Cafe Guest with the password sunflower42, it looks like this:
WIFI:T:WPA;S:Cafe Guest;P:sunflower42;;
T:is the security type:WPA,WEPornopassS:is the network name (SSID)P:is the password;;marks the end
If your network name or password contains a semicolon, comma, colon, quote mark or backslash, it has to be "escaped" with a backslash so the phone doesn't read it as part of the format. Our generator does this for you automatically.
Because the password is stored as plain text inside the code, anyone who scans the code can read the password, for example with a third-party scanner app. That's fine for a guest network, and it's the reason for the security advice below.
Which phones support it
- iPhone and iPad: supported in the built-in Camera app since iOS 11. Point the camera at the code and tap the "Join network" banner.
- Android: supported by the camera app or Google Lens on most phones running Android 10 or later. Some manufacturers' camera apps need QR scanning switched on in the camera settings. On older phones, Google Lens is the most reliable option.
- Laptops: most laptops can't scan QR codes to join WiFi, which is why it's worth printing the network name and password as text too.
Security: what to know before you print
- Use a guest network. Most routers can broadcast a separate guest network that's isolated from your own computers, printers and smart devices. Put that one in the QR code, never your main network.
- Remember the password is readable. Treat a printed WiFi code like a printed password. Fine on a café table, not for a network that protects business systems.
- Changing the password breaks the code. The code is static, so the password is fixed inside it. If you rotate the guest password monthly, plan to reprint the card each time. It takes about a minute.
- Avoid WEP and open networks if you can. WEP encryption has been broken for many years. If your router still uses it, switch to WPA2 or WPA3 in the router settings and make a new code.
- Check for tampering. In public places, glance at your printed codes now and then to make sure nobody has stuck a different code over the top.
Where WiFi codes work well
- Cafés, pubs and restaurants: on table cards, the counter, or the back of the menu.
- Holiday lets and Airbnbs: framed by the door or in the welcome book. Add a second code linking to your house guide.
- Offices and meeting rooms: on the meeting room wall for visitors, using a guest network.
- Waiting rooms, salons and clinics: wherever people wait and reach for their phone.
- Events and weddings: on welcome signs or table plans.
- At home: a small framed code on the fridge saves you reading the router sticker to every visitor.
Troubleshooting
The phone sees the code but won't connect
- Check the network name: capitals, spaces and hyphens must match exactly.
- Check the password for look-alike characters (O and 0, l and 1 and I).
- Make sure you chose the right security type. If unsure, WPA/WPA2 is almost always correct.
- Check that you're within range of that network. Guest networks are sometimes 2.4 GHz-only or limited to part of the building.
Nothing happens when I point the camera
- On Android, try Google Lens, or turn on QR scanning in the camera settings.
- Make the code bigger, improve the lighting, and avoid glossy lamination that reflects light.
- Make sure there's a white margin around the code and the colours have strong contrast.
It worked last month and now it doesn't
The router password or network name has almost certainly changed, perhaps after a broadband provider swapped the router. Generate a new code with the current details and reprint.
Make your WiFi QR code now. It takes about 30 seconds.
Open the generator →