How to Make a Wi-Fi QR Code (Guests Join Without Typing)
Create a QR code that connects phones to your Wi-Fi: the WIFI: format, choosing WPA or WEP, testing on Android and iPhone, special characters and safety tips.
The short answer
A Wi-Fi QR code stores your network name, password and security type in a short text like WIFI:T:WPA;S:HomeNet;P:mypassword;;. When a phone scans it, it offers to join the network without anyone typing the password. To make one, open the QR code generator, choose WiFi, enter the network name (SSID) and password, pick the security type, and download the PNG.
What is inside a Wi-Fi QR code
A Wi-Fi QR code is not a link. It is plain text in a format that phone cameras recognise:
WIFI:T:WPA;S:network_name;P:password;;
| Field | Meaning | Example |
|---|---|---|
T: | Security type: WPA, WEP or nopass (open network) | T:WPA |
S: | The network name (SSID), exactly as it appears in the Wi-Fi list | S:Sharma_Home |
P: | The password | P:blue-river-42 |
H: | Optional: true if the network is hidden | H:true |
The text ends with two semicolons. Because the details are written into the code itself, the QR code keeps working for as long as the network name and password stay the same. Nothing has to be online for it to work.
How to make one, step by step
HomeNet and homenet are different networks.qrcode_lazyblink.png.Which security type to choose
- WPA is the right choice for almost every home and office router, including WPA2. Most phones also accept it for WPA2/WPA3 mixed-mode routers.
- WEP is an old, insecure standard. Only use it if your router really uses WEP, and consider changing the router setting.
- nopass is for open networks with no password, such as some café guest networks. Leave the password empty.
If your router is set to WPA3 only, test the code on the phones your guests are likely to use. Support for WPA3 in Wi-Fi QR codes varies between phones and Android versions.
Test before you print
Scan the code with at least two phones, ideally one Android and one iPhone:
- iPhone: open the Camera app and point it at the code. A "Join network" banner should appear.
- Android: use the camera app or Google Lens, or the QR scanner in Wi-Fi settings (Settings → Wi-Fi → the QR icon next to "Add network" on many phones).
If the phone joins, the code is good. If it says "unable to join" or asks for a password, check the network name and password for typos first.
Special characters in the name or password
The Wi-Fi QR format uses ;, : and , as separators. If your network name or password contains a semicolon, colon, comma, backslash or double quote, the format expects that character to be escaped with a backslash (for example My\;Network).
The Lazyblink generator inserts the name and password exactly as typed and does not add these backslashes. So:
- If your password uses only letters, numbers, spaces and symbols such as
@ # ! - _ ., the code works as normal. - If your password contains
;:,\or", a phone may read the password wrongly. Test it. If it fails, the simplest fix is to choose a router password without those characters.
Where to put the code
- Home: on the fridge, near the router, or in a guest room.
- Office or shop: at the reception desk or on each table.
- Rentals and homestays: in the welcome card or house manual.
For a code people scan from a table or wall, aim for about 2 to 2.5 cm across for a card scanned at hand distance, and larger if people scan from further away. The guide to QR code print size explains how distance affects size.
Security: who can see your password?
Anyone who scans the code can read the password. Phones show it on screen or in the network details, and anyone with a photo of the code can decode it. The guide to reading a Wi-Fi password from a QR code shows how easy this is.
Good practice:
- Use a guest network. Most routers can create a separate guest Wi-Fi. Put that in the QR code, not your main network.
- Do not post it publicly. A code in a shop window or a social media photo is the same as posting the password.
- Change the password if needed. If the code has been shared more widely than you wanted, change the router password and make a new code. The old code then stops working.
Note on how this tool works: the Lazyblink QR generator builds the image through the free QRServer API (api.qrserver.com), so the Wi-Fi text, including the password, is sent to that service to draw the code. If you prefer that the password never leaves your device, use an offline method such as your phone's built-in "Share Wi-Fi" option.
Built-in alternatives on phones
Many phones can show a Wi-Fi QR code for the network they are connected to:
- Android (most recent versions): Settings → Wi-Fi → tap the connected network → Share. You may need to confirm with your fingerprint or PIN.
- iPhone: iPhones can share a Wi-Fi password to a nearby Apple device that asks to join. Recent iOS versions can also show a network QR code from the Passwords app (open the Wi-Fi section, pick the network and look for the QR code option). Menu names can vary between iOS versions.
A built-in QR code is fine for showing on screen. A generated PNG is better when you want to print it or put it in a document.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Phone does not react to the code | Code too small, blurry or low contrast | Download a larger size, print sharply, keep dark-on-light colours |
| "Unable to join network" | Wrong password or network name | Check spelling and capital letters, then regenerate |
| Works on Android, not iPhone (or the reverse) | Security type mismatch or WPA3-only router | Try WPA, or switch the router to WPA2/WPA3 mixed mode |
| Joins a different network | Two networks with similar names | Use the exact SSID, including spaces |
Password with ; or : fails | Separator characters are not escaped | Change the router password to one without those characters |
Quick reference
- Format:
WIFI:T:WPA;S:name;P:password;; - Choose WPA for nearly all modern routers.
- Test on two phones before printing.
- Use a guest network for codes you put on display.
- Make the code in the QR code generator (WiFi type).
Frequently asked questions
How do I make a QR code for my Wi-Fi?
Choose the WiFi type in a QR code generator, enter the exact network name and password, pick the security type (WPA for most routers) and download the image. Test it with a phone before printing.
Does a Wi-Fi QR code expire?
No. The network name and password are stored in the code itself. It keeps working until you change the network name or password.
Which security type should I choose?
WPA for almost all modern routers, including WPA2. Use WEP only for very old routers and nopass for open networks without a password.
Can people see my Wi-Fi password from the QR code?
Yes. Anyone who scans or photographs the code can read the password, so use a guest network for codes you put on display.
Why does my Wi-Fi QR code not connect?
Usually a typo in the network name or password, a wrong security type, or special characters such as ; or : in the password. Check spelling and capital letters and regenerate the code.
Put this guide into practice with our free online tool — no signup required.
Open tool