A WiFi QR code lets someone scan with a phone camera and join a wireless network without typing a long password. Cafés, offices, classrooms, Airbnbs and home guest networks use them to cut friction and reduce sticky-note passwords on the router. This guide explains how WiFi QR codes work, the standard text format behind them, how to make one, how to test and print it, and what to watch for on security.
For a general URL code instead, see how to make a QR code for a link. QR Studio also has a dedicated WiFi QR page if you want that flow directly.
What a WiFi QR code stores
Unlike a website QR code (which stores a URL), a WiFi QR code stores a short structured string with:
- Network name (SSID)
- Security type (commonly WPA/WPA2/WPA3, WEP, or none)
- Password (when the network uses one)
- Optional hidden-network flag
When a compatible phone scans it, the system offers to join that network. The code does not magically reach through walls; the phone still needs to be in radio range of the access point.
The WIFI: text format
Most generators, including in-browser tools, encode a string in this shape:
WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;
Meaning of the fields:
| Field | Meaning | Typical values |
|---|---|---|
| T | Security type | WPA (use for WPA/WPA2/WPA3-personal in many generators), WEP, nopass |
| S | SSID (network name) | Exact name as shown in Wi‑Fi settings |
| P | Password | Omitted or empty when T is nopass |
| H | Hidden network | true if the SSID is hidden (optional; many home networks leave this off) |
Special characters in the SSID or password may need escaping (for example, ;, ,, ", and \ are special in this format). A good generator handles escaping when you fill form fields instead of typing the raw string by hand.
Example with a simple password:
WIFI:T:WPA;S:GuestHouse5;P:blue-lamp-19;;
That entire string is what the QR pattern represents. Anyone who can scan the code can read the SSID and password the same way they could read a printed sticker—so treat the printout like a shared secret.
Make a free QR code for a link, WiFi or contact card — generated in your browser.
Open the free QR code generator →Step-by-step: make the code
- Confirm the SSID and password on a device that already connects successfully. Copy them carefully; a single wrong character fails silently for guests.
- Note the security type. Home and small-business networks usually use WPA2 or WPA3 personal. In many QR tools you still select WPA for that family. Use nopass only for an open network that truly has no password.
- Open the QR Studio generator (or the WiFi QR tool).
- Choose the WiFi option and enter SSID, password and security type. Prefer form fields over hand-building the
WIFI:string unless you know the escape rules. - Generate the code and look at the preview.
- Test on a phone that is not already saved to the network. Forget the network on a test device first if needed, then scan, join, and open a website.
- Download PNG for quick printing or SVG if you will enlarge the code for a poster or table tent.
Do not skip the phone test. A code that looks perfect can still encode a mistyped password.
iPhone and Android scanning notes
- Recent iPhone and Android camera apps can recognize WiFi QR codes and prompt to join.
- Some older devices need a QR or WiFi utility from the vendor.
- Corporate networks that use enterprise login (username + password or certificates) are not the same as a simple WPA personal QR string. Those often need IT-managed onboarding instead of a guest-style WIFI: code.
- If the network is hidden, set the hidden flag if your generator offers it, and still verify on a real device.
Print size, contrast and placement
WiFi codes fail for the same physical reasons other QR codes fail.
- Size: Table tents and counter signs scanned from about an arm's length can be relatively small; wall signs across a room need to be larger. Use the distance-to-size ideas in QR code size for print and the size guide.
- Quiet zone: Leave a blank margin around the code.
- Contrast: Dark modules on a light background. Avoid printing the code on busy wood-grain photos without a solid white pad behind it.
- Lamination and glare: Shiny plastic can reflect overhead lights; matte finishes scan more reliably.
- Label the purpose: A short line like "Scan for guest Wi‑Fi" raises scan rates and reduces confusion with payment or menu codes.