How to make a Wi-Fi QR code
A Wi-Fi QR code joins a phone to your network without anyone typing the password: point the camera, tap, connected. Cafés, offices, rental flats and guest rooms put one by the door so the password stops being asked for.
Updated · from 3 official sources · DRISH LABS
What the code contains
A QR code is text. For this kind, the text has to follow this exact pattern:
WIFI:T:<WPA|WEP|nopass>;S:<network name>;P:<password>;H:<true if hidden>;;Filled in, it looks like this:
WIFI:T:WPA;S:Cafe Guest;P:beans\;and\,toast;;What happens when someone scans it
On an iPhone (iOS 11 and later, per ZXing’s reference) the Camera shows a link at the bottom of the screen, and tapping it usually offers to join the network. On a Pixel the Camera shows a bubble to tap, and Google says a QR code can connect you to a Wi-Fi network; other Android cameras usually do the same, and the Quick Settings scanner works where the camera does not.
Make one free
- Open the QR Code Generator and choose Wi-Fi under “What the code holds”.
- Type the network name exactly as it appears in the Wi-Fi list — it is case-sensitive.
- Pick the security (WPA/WPA2/WPA3, WEP or Open) and type the password. Special characters are escaped for you.
- Tick “Hidden network” only if your router does not broadcast the name.
- Download PNG for screen or SVG for print, and test it with a phone that is not already on the network.
Open the free QR code generator — it runs in your browser and uploads nothing.
So it works when it is printed
- Characters `\ ; , " :` inside the name or password must be escaped with a backslash, or the code stops at the first semicolon. The generator does this; a hand-typed string must too.
- T is WPA for WPA and WPA2 networks. ZXing’s reference does not list WPA3, so test a WPA3-only network with a phone before printing.
- Changing the password breaks every printed code. A separate guest network keeps that from costing you your main password.
- Scan the finished code with two different phones before you print a batch — it is the only test that counts.
- Keep dark modules on a light background with strong contrast. Light-on-dark and pale colours are where plenty of scanners give up.
Questions
Do Wi-Fi QR codes work on iPhone?
Is the password hidden in a Wi-Fi QR code?
Why does my Wi-Fi QR code not connect?
Does the code still work if I change the password?
Sources
- ZXing — Barcode Contents · read October 12, 2026
- Apple — Scan a QR code with your iPhone camera · read October 12, 2026
- Google — Scan QR codes with your Pixel phone · read October 12, 2026
Requirements change without notice. Check the official source before you rely on a figure here.
The faster way
QR Craft
A QR code generator for Mac that adds your logo and checks it scans.