Format as of November 26, 2026: the WIFI: text format first published in the ZXing project and adopted in the Wi-Fi Alliance WPA3 specification, which iOS and Android cameras read.
Worked example
A home network called “Garden Flat” with the password blue;kettle:42 becomes the text WIFI:T:WPA;S:Garden Flat;P:blue\;kettle\:42;;. The semicolon and colon in the password are written as \; and \:, otherwise a phone would think the password ended at “blue”. A café’s open guest network turns into WIFI:T:nopass;S:Cafe Guest;;, with no password part at all. A hidden office network named Office "Back" with the password Pa,ss\word becomes WIFI:T:WPA;S:Office \"Back\";P:Pa\,ss\\word;H:true;;: the quotes, comma and backslash are each escaped, and H:true tells the phone to search for it.
How to make and use the code
- Find the exact network name and password, usually on a sticker on the router or in its app.
- Pick the security type. If your router says WPA2, WPA3 or “WPA2/WPA3 mixed”, choose the first option.
- Check the line under the code says it reads back as your network, then scan it with your own phone.
- Download the PNG for messages and screens, the SVG for printing at any size, or the card for the fridge, a guest room or a reception desk.
Keep your main network private
A Wi-Fi QR code is a password written in a different way. Anyone who photographs it can join, and so can anyone they share the photo with. For holiday lets, offices, cafés and parties, turn on your router’s guest network and put that one on the card. Guest networks keep visitors away from your computers, printers and smart devices, and you can change their password without reconnecting your own things. If you leave the password off the printed card, guests can still scan the code, and nobody can read it at a glance.
When a code won’t connect
- The name doesn’t match. Network names are case-sensitive, and “Home_5G” and “Home” are different networks on dual-band routers.
- Wrong security type. A WPA2 network given as WEP or open won’t join. Most routers built after 2006 use WPA2 or newer.
- Old phones. iPhones read Wi-Fi codes from iOS 11 and Android phones from version 10 in the camera; older Android phones may need Google Lens.
- Printed too small. Keep the code at least 2.5 cm (1 inch) wide with the white border around it.
Sources
Checked on November 26, 2026:
- ZXing: barcode contents, Wi-Fi network config (the WIFI: format and its escaping)
- Wi-Fi Alliance: WPA3 Specification (the Wi-Fi QR code for WPA3 networks)
- Apple: scan a QR code with iPhone
Related tools
Frequently asked questions
How do I scan a Wi-Fi QR code?
Does the code work with WPA3 routers?
Is it safe to make a Wi-Fi QR code here?
What happens if I change my Wi-Fi password?
Why does my password have backslashes in the code?
Can I make a code for a hidden network?
Last updated: 2026-11-26