How to make a Wi-Fi QR code on iPhone
On iOS 18 or later you don't need an app. Open Passwords ▸ Wi-Fi ▸ pick the network ▸ Show Network QR Code. Anyone who points their camera at it joins right away.
On older iOS, put the text format shown below into any QR generator.
Step by step
- Open the Passwords app
Open the Passwords app (the key icon, built in since iOS 18). If it isn't on your Home Screen, swipe down and search for “Passwords”. - Tap Wi-Fi
The Wi-Fi section lists every network this iPhone has joined. Tap the one you want to share. - Show the QR code
Tap Show Network QR Code. You may need to unlock with Face ID. - Let the other person scan it
On another iPhone, open the regular Camera app, point it at the code and tap the “Join network” banner. Most Android phones can scan it with their camera too. - Save it if you share often
Take a screenshot or print it. The image contains your password, so don't post it publicly.
Make the QR code yourself (iOS 17 or earlier)
A Wi-Fi QR code is just text in a fixed format. Paste this into any QR generator (a website, or the “Generate QR Code” action in the Shortcuts app):
WIFI:T:WPA;S:NetworkName;P:password;;
Tis the security type:WPAfor almost every modern router (WPA2 and WPA3 included),nopassfor an open network.- If the name or password contains
; , : \ ", put a\before that character. Skipping this is the most common reason a code scans but won't connect. - For a hidden network, add
H:true;at the end.
If the code doesn't show up or won't connect
- No Wi-Fi section in Passwords: check you're on iOS 18 or later (Settings ▸ General ▸ About).
- The network isn't listed: only networks this iPhone has joined appear. Build the code by hand with the format above.
- Scans but fails to join: usually the password changed or a special character wasn't escaped.
- Work or school Wi-Fi: enterprise networks that need a username and password can't be shared with a QR code.
A faster way: MyFi: Wi-Fi QR
MyFi recognizes the network you're on, so you only type the password and it makes the QR code. Send the code as an image, or keep it in a Home Screen or Lock Screen widget that opens a large code with one tap. You can share your hotspot the same way, and when you're the guest, snap a photo of a Wi-Fi sign and MyFi reads the name and password and connects.
Get it on the App Store About the app
Free to download
FAQ
Does a Wi-Fi QR code contain my password?
Yes. Anyone who scans it can read the network name and password as text. For guests, make the code for a guest network rather than your main one.
Can I see a saved Wi-Fi password on my iPhone?
Yes, on iOS 16 or later: Settings ▸ Wi-Fi ▸ tap (i) next to the network ▸ Password, then confirm with Face ID. You can copy it from there.
Can Android phones join from a QR code made on iPhone?
Usually yes. The Wi-Fi QR format is a standard, so Android cameras and the QR option in Wi-Fi settings can read it.