What a WiFi QR code does
A WiFi QR code is a small text record with a fixed structure: the network name, the security type and the password, in a format that iOS and Android both understand. The camera reads it, the phone shows a join prompt, and the connection is made without anyone spelling out a password across a counter.
It is not a login and it does not bypass security. The password is inside the code in plain text, which means anyone who can photograph the code can recover it. Treat a WiFi code exactly as you would treat the password written on a card: fine for a guest network, a bad idea for the network that runs your point-of-sale system.
The format inside the code
The payload looks like this: WIFI:T:WPA;S:Cafe-Guest;P:espresso2026;H:false;; — four fields, each terminated by a semicolon, with a final extra semicolon at the end. T is the security type (WPA, WEP or nopass), S is the SSID, P is the password and H marks a hidden network.
The escaping rule is the part most generators get wrong. A literal semicolon, comma, colon, double quote or backslash inside the network name or password has to be preceded by a backslash, otherwise the phone parses the field wrongly and the join fails. This generator escapes those characters for you; if your network name is something like Joes Cafe;Guest, the backslash matters.
| Field | Meaning | Example |
|---|---|---|
| T | Security: WPA, WEP or nopass | WPA |
| S | Network name (SSID), case sensitive | Cafe-Guest |
| P | Password, omitted for open networks | espresso2026 |
| H | Hidden network: true or false | false |
How to make a WiFi QR code
- Type the network name exactly as it appears when you scan for networks. Spaces and capitals count.
- Choose the security type. WPA covers WPA, WPA2 and WPA3; pick nopass only for a genuinely open network.
- Enter the password, or leave it empty for an open network.
- Set hidden to true only if the network does not broadcast its name — a wrong hidden flag makes the code fail on Android.
- Download the PNG for a table card, the SVG for a sign maker, or the PDF for an A4 print you can laminate.
Where a WiFi code earns its place
Cafes, bars, barbers, guest houses and co-working desks all solve the same problem: a password that has to be spoken, spelled and retyped several times an hour. A small card at each table or on the counter removes that friction entirely, and a laminated A5 sign at the door covers the whole room.
Offices use them for a visitor network, so a receptionist does not have to read a password to every courier. Landlords print one for a rental apartment and tape it inside the welcome folder. Event venues put one on the back of each badge so a hall full of people can join a single network in a minute.
Security and hygiene worth knowing
Create a separate guest network with client isolation for public codes. If the code leaks, and it will, the damage stays inside a network that cannot reach your computers, your printer or your card terminal. Change the guest password quarterly, print a new code, and throw the old ones away.
For a rented space, remember that the sign stays when you leave. Take it down on the last day, especially if the network is the landlord's. And if you print a password that also protects other services, treat the code as a public disclosure.
Print it so it reads at arm's length
A WiFi code is scanned from 20 to 40 cm away, so 2 to 3 cm wide is enough at a table. Keep the dark code on a light background, leave the quiet zone intact, and avoid printing on glossy laminate that reflects a phone flash directly into the lens. Matte lamination scans better in dim bars.
Always test the final print with two phones, one iPhone and one Android, before ordering a hundred cards. The most common failure is not the code but the network: a password typed with a capital letter in the wrong place, or a 5 GHz-only guest network that an older phone cannot see.
When a guest's phone refuses to join
A code that scans but does not connect is nearly always a network problem rather than a code problem. The phone may be on a 5 GHz-only network it cannot see, the network may have hit its client limit, or a captive portal may need a browser login that the automatic join prompt cannot complete. Keep the guest network on dual band where possible, set a generous client limit, and avoid captive portals unless you need a terms page.
If the network uses a portal, a WiFi code still helps: it joins the network, and the portal page opens on its own. Print a second line of text explaining that a browser page will appear and needs a tap, so nobody assumes the code failed.
Where a WiFi QR code works best
- Table cards in cafes, bars and restaurants
- A5 sign at a guest house or apartment entrance
- Visitor network card at a reception desk
- Badge backs at conferences and weddings
- Inside a welcome folder for a rental
Getting it to scan every time
- Never print a WiFi code for the network that runs payments or back-office systems.
- Keep the guest network separate and change its password on a schedule.
- Check whether the network is 2.4 GHz, 5 GHz or both; older devices may only see 2.4 GHz.
- Matte lamination, not gloss, if the sign sits under a light.