How to Make a WiFi QR Code (Connect by Scanning)
A WiFi QR code lets guests join your network by scanning — no typing the password. Learn the exact text format and how to generate one for free.
A WiFi QR code stores your network name, password and security type so a phone joins the network the moment it scans the code — no typing required. It works by encoding one line of specially formatted text.
The WiFi text format
Encode this exact string, filling in your details:
WIFI:S:MyNetwork;T:WPA;P:MyPassword;;
Where:
- S = the network name (SSID)
- T = security type:
WPA,WEP, ornopassfor an open network - P = the password (leave empty for an open network)
If your name or password contains ;, ,, : or \, put a backslash before it.
Generate it in two steps
- Build the
WIFI:...line above with your own SSID and password. - Paste it into the QR code generator and download the image.
Everything runs in your browser, so your WiFi password never leaves your device.
Where to use it
Print it for a café, office reception or guest room so visitors connect instantly. Modern iPhone and Android cameras read WiFi QR codes natively.
A security note
Anyone who can see the code can join the network, so display it only where you would happily share the password. For sensitive networks, use a separate guest WiFi. Related: How to create a favicon.