How to Make a WiFi QR Code (Step-by-Step Guide 2026)
Learn how to create a WiFi QR code that works on iPhone and Android. Avoid common mistakes, display it beautifully, and let guests join without typing a password.
Every cafe, restaurant, hotel and Airbnb has the same problem: guests want the WiFi password, and typing a 12-character mixed-case password on a phone keyboard is a small but constant friction. A WiFi QR code solves it. The guest points their camera at the code, taps the popup, and is connected. No typing. No mistaken password. No sticky note with "the password is coffee123!" on the counter.
Making one is quick, but there are a few specific things you have to get right or the QR code will fail on half the devices. This guide covers the entire process.
How a WiFi QR code actually works
A WiFi QR code is not a link. It is a small text string with a specific format, encoded as a QR code. When a phone camera sees the code, it recognises the format and offers to join the network.
Just a formatted string. Every field is case-sensitive.
T = security type (WPA / WEP / nopass)
S = network name (SSID)
P = password
H = hidden network (true / false)
Must end with two semicolons. Both S and P are case-sensitive.
| Field | Meaning | Example |
|---|---|---|
| T | Security type: WPA, WEP, or nopass | WPA |
| S | Network name (SSID), case-sensitive | CafeGuest |
| P | Password, case-sensitive | coffee123! |
| H | Hidden network: true or false | false |
The two semicolons at the end are required. Forget them and some scanners will fail.
How to make a WiFi QR code in 30 seconds
- Open the QR Code Generator tool.
- Choose "WiFi" as the type.
- Enter the network name exactly as it appears on your router (case-sensitive).
- Enter the password (case-sensitive).
- Choose the security type. WPA for modern routers, WEP for very old ones, nopass if the network is open.
- Download the QR code as PNG or SVG.
If you are printing it for a cafe or hotel, use SVG. It scales to any size without blurring. A PNG blown up to poster size will be fuzzy and many phones will not scan it.
Custom colours, PNG or SVG, in your browser.
Create WiFi QR CodeSix mistakes that break WiFi QR codes
- Forgetting the closing semicolons. The format ends with ";;" (two of them). One or none will fail on Android.
- Wrong security type. If you pick WPA and the network is WPA3, some older phones will fail. If you pick WEP and the network is WPA, most modern devices will refuse to connect.
- Spaces in the SSID. Network names with leading or trailing spaces break the QR format unless the spaces are preserved. If your SSID has spaces, test carefully.
- Special characters in the password. Characters like ; : , " and \ need to be escaped in the QR format with a backslash. Good QR generators do this automatically. Verify by scanning before you print.
- SSID hidden flag wrong. If the network is hidden, H must be "true". If it is not hidden and you set H to true, most phones will fail to connect.
- Printing too small. The QR code should be at least 3 x 3 cm (about 1.2 inches) for a phone to scan reliably. Smaller codes work if the camera is very close and the printing is very sharp, but 3 cm is the safe minimum.
How to test before you print 500 of them
Never print a WiFi QR code without testing it on both an iPhone and an Android phone. The two platforms handle the format slightly differently, and a mistake in the format string may work on one and fail on the other.
- Generate the QR code.
- Open the Camera app on an iPhone and point it at the code.
- A popup should appear offering to join the network. Tap it. Do not just verify the popup appears.
- Repeat with an Android phone (use the built-in scanner or Google Lens).
- If both work, print with confidence.
Displaying the QR code beautifully
A QR code on a piece of printer paper taped to the counter looks unfinished. A few small things make it look intentional:
| Context | Best practice |
|---|---|
| Cafe or restaurant table | Print on a small acrylic stand with the WiFi icon above the QR code |
| Hotel room | Print on a card that matches the room decor, include the network name in text below |
| Airbnb or rental | Print A5, put it in a picture frame, place it on the counter |
| Office lobby | Print A4 with the network name and a QR code, laminate it |
| Event or conference | Print on a foam board, mount at eye level (1.5 to 1.7 m) |
| Home (for guests) | Print A6, tape to the fridge or router itself |
Also: put the network name in text below the QR code. If a guest's phone cannot scan (very old device, broken camera) they can at least read the name and connect manually.
Custom colours
Most QR generators let you set foreground and background colours. Two rules:
- Keep the contrast high. Dark foreground on a light background works. Light on dark works. Both being medium-brightness does not.
- Do not use blue or green as the foreground if you want maximum compatibility. Some older scanners prefer black. Black foreground on white is the most reliable choice.
Is a WiFi QR code safe?
The QR code contains the network password in plain text. Anyone who scans it can read the password from the QR string. They do not need to actually join the network to see it. If you print the code and stick it on the wall, you have effectively published your WiFi password.
For a guest network, this is fine. The whole point is to let guests in. For your main home network, this is a problem if you do not want neighbours joining.
The solution: create a separate guest network on your router (every modern router supports this), with its own password, and put the QR code for that network on your wall. The guest network is often rate-limited and isolated from the main LAN, which is good for security.
The bottom line
A WiFi QR code is one of those small quality-of-life improvements that guests notice immediately. It takes 30 seconds to make, costs nothing, and eliminates a small friction that everyone experiences but nobody complains about.
Test on both iPhone and Android before printing. Use SVG if you are printing at any size larger than a business card. And put your guests on a separate network. Nobody needs the code to your main router taped to the wall.
Tools mentioned in this article
Frequently asked
Do WiFi QR codes work on iPhone?
Yes, since iOS 11 (2017). Open the Camera app, point it at the code, and a popup appears offering to join the network. No third-party app is needed. The Camera app on modern iPhones recognises the WiFi format natively.
Do WiFi QR codes work on Android?
Yes, since Android 10 (2019). Modern Android devices have a built-in QR scanner. Older Android phones may need Google Lens or a dedicated app. The Camera app on Pixel devices and most modern Samsung phones scans WiFi codes natively.
What is the WiFi QR code format?
The format is WIFI:T:<security>;S:<ssid>;P:<password>;H:<hidden>;; where T is WPA, WEP or nopass, S is the network name, P is the password, and H is true or false for hidden networks. The string must end with two semicolons. Any decent QR generator handles this automatically.
Can a guest see my WiFi password from the QR code?
Yes. The password is encoded in plain text inside the QR string. Anyone who scans the code (even without joining) can decode it and read the password. This is why you should always put guests on a separate guest network, not your main one.
What security type should I choose?
WPA if your router uses WPA, WPA2 or WPA3 (all three are labelled WPA in the QR format). WEP only for very old routers. nopass only for open networks, which is not recommended. Modern routers should use WPA2 or WPA3.
Why is my WiFi QR code not working?
Three common causes. First, wrong case. Both the SSID and password are case-sensitive. Second, missing trailing semicolons. The format ends with two of them. Third, wrong security type. Check your router settings and regenerate. Test on both iPhone and Android before printing.
Can I put a logo in the middle of my QR code?
Yes, if the code is large enough and the logo is small (under 20 percent of the total area). QR codes have built-in error correction, so a small logo does not break them. Keep the logo centred and make sure the code still scans. Always test before printing.
How large should the WiFi QR code be?
For phone scanning, the minimum is about 3 x 3 cm (1.2 inches). At poster size, use SVG to avoid pixelation. The golden rule: scan it from the distance a guest would naturally stand. If it does not work, make it bigger.