How to make a Wi-Fi QR code for guests that works on every phone
Written for homeowners, Airbnb hosts, cafés and office managers who want a clean, permanent Wi-Fi sign that never expires
Short answer
A Wi-Fi QR code stores your network name (SSID), encryption type (WPA/WPA2/WPA3) and password in a standard text format that every modern iPhone and Android camera recognises natively. Because the code holds your Wi-Fi password in plain text so phones can join automatically, you should generate it locally in your browser without uploading your password, and create it for your guest Wi-Fi network rather than your primary home or office network.
On this page
Reading a 20-character Wi-Fi password aloud across a living room (“capital K, seven, hyphen, lower-case l, not one…”) is annoying for guests and tempts people to pick weak, easy-to-say Wi-Fi passwords instead. A printed Wi-Fi QR code solves both problems: you keep a long, random password on your router, and visitors join in two seconds by pointing their camera at a card on the wall or bookshelf.
What is actually inside a Wi-Fi QR code
Unlike website QR codes that hold an https:// link, a Wi-Fi QR code encodes a short structured string originally standardised by the ZXing project and adopted by both Apple iOS and Google Android:
WIFI:T:WPA;S:MapleHouse-Guest;P:k9#vL2!pQ8mR;H:false;;
Each segment between semicolons tells the phone’s operating system one fact:
| Field | Example | Important rule |
|---|---|---|
T: (Authentication) | T:WPA | Use WPA for WPA, WPA2 and WPA3-Personal networks. Only choose WEP for legacy hardware or nopass for an open network with no password. |
S: (SSID / Network name) | S:MapleHouse-Guest | Must match your router’s broadcast name letter for letter, including uppercase letters, spaces and hyphens (MapleHouse will not match maplehouse). |
P: (Password) | P:k9#vL2!pQ8mR | Stored in plain text inside the QR modules. Special characters “, ;, , and : must be escaped with a backslash (\;), which our generator handles automatically. |
H: (Hidden network) | H:true (optional) | Only check Hidden network if you specifically configured your router not to broadcast its SSID. Leaving it unchecked on normal networks scans faster. |
How to make a Wi-Fi QR code in four steps
Because a Wi-Fi QR code contains your network name and password, you should never type those credentials into a web generator that sends form inputs to a backend server. Our free QR code generator builds the matrix locally inside your browser tab:
- Open the QR code generator and select the Wi-Fi tab at the top of the form.
- Type your exact Wi-Fi network name (SSID) with matching uppercase and lowercase letters, and enter your Wi-Fi password.
- Keep Security set to WPA / WPA2 / WPA3 for modern routers, and set Error correction to M (15%) or Q (25%).
- Download the SVG file to print a sharp card or sticker, or download the PNG file to drop into a welcome guide or tablet display.
Why you should always print a Guest Wi-Fi QR code (not your main LAN)
There are two security facts every homeowner, host and office manager should know before framing a Wi-Fi QR code in the hallway:
- The password is visible in plain text: any visitor who scans the code with a generic barcode reader app, or who connects and then views the network details in iPhone Settings > Wi-Fi > (i) > Password or Android Wi-Fi > Share, can read and copy the exact password text.
- Devices on your main LAN can see local hardware: anyone connected to your primary Wi-Fi network can often discover network printers, smart TVs, NAS file servers, smart home bridges and AirPlay/Chromecast targets.
Almost every modern home router and mesh system (Eero, Ubiquiti UniFi, Google Nest Wifi, TP-Link Deco, ASUS, Netgear) lets you turn on a Guest Network in under a minute. A guest network isolates each visitor’s phone so they can reach the internet without seeing your computers, NAS drives or smart locks, and lets you rotate the guest password after a party or rental stay without reconnecting any of your own devices.
Printing and display tips so guests can scan from a metre away
- Print at least 35 × 35 mm (1.4 × 1.4 in) for wall or table frames: while a 20 mm code works on a handheld business card, a wall frame or coaster is usually scanned from 40 to 80 centimetres away. Printing the square at 40 to 50 mm lets guests scan without leaning over a desk.
- Avoid glass glare under spotlights: if you put the printed sheet inside a picture frame, choose non-reflective matte glass or place the frame away from direct downlights so reflections do not obscure the three corner finder squares.
- Print the network name and password in small text below the square: laptops (MacBooks and Windows PCs) do not have a built-in camera Wi-Fi scanner in their system tray by default. Printing the SSID and password in small 9-point monospace type at the bottom of the card lets laptop users connect without asking you, while phone users scan the code in one tap.
Questions
Can someone read my Wi-Fi password from a Wi-Fi QR code?
Yes. For a phone to join your network automatically, the QR code must encode the password in plain text. Anyone who scans the code with a text scanner or checks their phone’s Wi-Fi settings after joining can see the password, which is why you should use a guest network.
Do Wi-Fi QR codes work on both iPhone and Android?
Yes. Every iPhone running iOS 11 or later and every Android phone running Android 10 or later recognises the standard WIFI: QR format directly inside the built-in Camera app without installing a third-party scanner.
Do Wi-Fi QR codes ever expire?
A static Wi-Fi QR code never expires as long as you keep the same network name (SSID), security type and Wi-Fi password on your router. If you change your Wi-Fi password, you must print a new QR code.
What if my Wi-Fi network name or password has spaces or punctuation?
Spaces work normally, while four reserved characters (backslash, semicolon, comma and colon) must be escaped with a leading backslash in the raw WIFI: string. Our in-browser QR code generator escapes those characters for you automatically.
Does a Wi-Fi QR code work for WPA3 networks?
Yes. Both WPA2 and WPA3-Personal networks use the T:WPA authentication tag inside the Wi-Fi QR standard, and modern iPhones and Android devices negotiate WPA3 or WPA2/WPA3 transitional mode automatically upon scanning.
Keep reading
How to put a QR code on a business card that actually scans
Should your business card QR code hold a vCard or a website link? Here is how to keep the grid clean, export a sharp SVG and print it.
SituationHanding your phone to someone without showing everything
Once your phone is unlocked in someone else’s hand, anything not locked on its own is open. Here is what to hide, lock or send instead.
GuideiPhone privacy settings that protect your photos
Start with three settings: limit each app’s photo access, stop the Camera recording your location and keep the Hidden album locked.