How WiFi QR codes work
A WiFi QR code stores your network name, password and security type in a standard format that phone cameras understand. Point the camera at it and the phone offers to join the network. It is ideal for cafés, offices, rental homes, events and anyone tired of spelling out a long password.
This page opens the QR Code Generator in WiFi mode, with fields for the network name (SSID), password, security type and hidden networks. The code is built in your browser, so your WiFi password is never sent anywhere. Download it as an image, print it, and stick it where guests can see it.
At a glance
| Works with | iPhone camera (iOS 11 and later), Android camera or Google Lens (Android 10 and later) |
|---|---|
| Security types | WPA/WPA2/WPA3, WEP or none (open network) |
| Stored data | Network name, password, security type, hidden flag |
| Privacy | Generated on your device; the password is not uploaded |
What is inside a WiFi QR code
A WiFi QR code is plain text in a fixed format: WIFI:T:<security>;S:<network name>;P:<password>;;. The characters \ ; , : " have special meaning, so they are escaped with a backslash. The generator does this for you:
| Network name | Password | Text stored in the QR code |
|---|---|---|
CafeGuest | latte2024 | WIFI:T:WPA;S:CafeGuest;P:latte2024;; |
Home;5G | p@ss:word | WIFI:T:WPA;S:Home\;5G;P:p@ss\:word;; |
Library Free WiFi | (none) | WIFI:T:nopass;S:Library Free WiFi;; |
How to create a WiFi QR code
- Type your network name (SSID) exactly as it appears on your phone, including capitals.
- Enter the password and choose the security type (most home routers use WPA2 or WPA3).
- Tick "Hidden network" only if your network does not show in the WiFi list.
- Scan the code with your own phone to test it, then download or print it.
Tips
Test before you print
Scan the code with a phone that is not yet connected, or forget the network first. A typo in the name or password is the most common problem.
Use a guest network
Most routers can run a separate guest network. Put that on the QR code so visitors cannot reach your computers or printers.
Print it big enough
A QR code at least 3 cm (about 1.2 in) wide scans easily from a table or wall. Add a line of text such as "Scan to join WiFi" next to it.
Need different settings? Use the full QR Code Generator.
Frequently asked questions
Is it safe to put my WiFi password in a QR code?
Anyone who can scan the code can join the network, just like anyone who can read the password on a card. Use a guest network for public places.
Why does my phone not offer to join?
Check that the network name matches exactly, including capitals and spaces, and that you chose the right security type. Very old phones may need a QR scanner app.
Does the QR code still work if I change my password?
No. The password is stored inside the code, so make a new QR code whenever you change it.
Do special characters in my password work?
Yes. Characters such as ; , : and " are escaped automatically, as the table above shows.