How to make a Wi-Fi QR code
- Type the network name (SSID) exactly as it appears in your phone's Wi-Fi list. Capital letters and spaces matter.
- Type the password and pick the encryption: WPA/WPA2 for almost every home and office router, WEP for very old ones, None for an open network.
- Tick Hidden network if your router does not broadcast its name.
- Optional: change the colors, the size and the error correction level.
- Choose PNG or SVG and press Download. The file saves as qr-code.png or qr-code.svg.
- Scan the downloaded file with a phone that is not already on the network, and check that it joins.
What is inside a Wi-Fi QR code
A Wi-Fi QR code is a short line of text in a format phones understand, for example WIFI:T:WPA;S:MyNetwork;P:MyPassword;;. T is the security type, S is the network name and P is the password. A hidden network adds H:true. Symbols such as ; , : \ and quotes in the name or password are escaped for you, so they work as typed.
The password sits inside the pattern as readable text. Anyone who can scan the code can see the password with a QR reader app, so treat a printed Wi-Fi code like the password written on a card.
Which security type to pick
| Option | Use it when | Notes |
|---|---|---|
| WPA/WPA2 | Almost every router, including ones set to WPA2/WPA3 mixed mode | The right choice if you are not sure |
| WEP | Very old routers only | WEP is easy to break; replace the router if you can |
| None | Open networks with no password | The password field is ignored |
If your router is set to WPA3 only, pick WPA/WPA2 and test the code with both an iPhone and an Android phone before you print it. Phones differ in how they handle WPA3-only networks.
Use a guest network for the code
If your router has a guest network, make the code for that one. Guests get internet without reaching your computers, printers or smart-home devices, and you can change the guest password without reconnecting everything you own.
A long random password is fine here because nobody has to type it. The Password Generator can make one. When you change the network name or password, the old code stops working: make a new one and replace the print.
Where to put a Wi-Fi QR code, and how big
- Rentals and guest rooms: in a frame by the desk, or on the fridge.
- Cafés, salons and waiting rooms: on the counter or on table cards.
- Offices: in meeting rooms, for the guest network only.
- At home: inside a cupboard door or on a card near the router.
Print it at least 0.8 inches (2 cm) wide for close-up scanning. If people scan from further away, make it about one tenth of the scanning distance. Use the SVG download for print so the edges stay sharp, and keep the white border around the code.
Wi-Fi QR code not working? Check these
- The name doesn't match exactly. Network names are case-sensitive, and a trailing space counts.
- Wrong security type. Use WPA/WPA2 unless the network is truly open or uses WEP.
- Hidden network not ticked. A phone can't find a hidden network unless the code says it is hidden.
- The camera doesn't offer to join. iPhones on iOS 11 or later read Wi-Fi codes in the Camera app. On Android, use the camera or the QR icon in Wi-Fi settings (Android 10 and later).
- The code won't scan at all. Keep dark squares on a light background, don't crop the white border, and print it larger.

