A Wi-Fi QR code stores your network name, security type and password, so anyone who scans it can join without typing. To make one on iPhone (iOS 18 and later), open the Passwords app, tap Wi-Fi, choose the network and tap Show Network QR Code, or create a printable code in a QR generator app. To connect, point the phone's camera at the code and tap the prompt to join.
A Wi-Fi QR code ends the "what's the password?" routine at home, in a holiday rental, a café or an office reception. You create it once, put it where guests can see it, and guests join by scanning it instead of typing the password. Below: what the code contains, how to create one on iPhone and Android, how guests connect by scanning it, and how to share it safely.
What is a Wi-Fi QR code?
A Wi-Fi QR code is a QR code that contains a network's name, security type and password in a standard text format that phone cameras recognize as a Wi-Fi network. Scanning it gives the phone everything it needs to join.
The format is documented in the open-source ZXing project's Barcode Contents reference. A Wi-Fi QR code decodes to text like WIFI:T:WPA;S:mynetwork;P:mypass;;, where S: is the network name (required), T: the security type (WEP, WPA, WPA2-EAP or nopass for an open network), P: the password, and an optional H:true marks a hidden network. The password is stored as readable text, not encrypted; our guide on seeing the Wi-Fi password from a QR code shows how to read it.
How do you make a Wi-Fi QR code on iPhone?
On iPhone, open the Passwords app (iOS 18 and later) and tap Show Network QR Code on a saved network, or create a Wi-Fi QR code in a generator app when you want to save, print or style it.
Method 1: The Passwords app (iOS 18 and later)
- Open the Passwords app on your iPhone.
- Tap Wi-Fi. The network you're connected to appears at the top, followed by networks you've saved before.
- Tap the network you want to share.
- Tap Show Network QR Code. Hold the screen up so your guest can scan it.
These steps follow Apple's iPhone User Guide page on finding and sharing your Wi-Fi password, which says friends and family can scan the network QR code to join. The Passwords app arrived with iOS 18, so on iOS 17 and earlier use Method 2. Apple devices that are nearby and in each other's contacts can also share the password without a code, through the Share Password prompt.
Method 2: A QR generator app (save, print or customize)
- Open the QR code generator in the free QR Code Scanner * Barcode Reader app (iPhone and iPad, iOS 16 or later) and choose Wi-Fi.
- Enter the network name (SSID) exactly as it appears in Settings → Wi-Fi, including capital letters and spaces.
- Enter the password and security type. If you're unsure of the security type, check your router's admin page or its label; the QR code on a router label often holds the default network details already.
- Style it if you like. Add colors or a logo, keeping the code dark on a light background (see our guide to creating a QR code with a logo for contrast rules).
- Save or share the image, then print it or add it to a welcome sheet. Test it with a second phone before you print copies.
The app creates codes on the device and works offline, so the network name and password aren't typed into a website. The same generator makes contact QR codes that let people save your name and number in one scan.
How do you make a Wi-Fi QR code on Android?
On Android, open the Wi-Fi network's Share screen in Settings or Quick Settings, and the phone shows a QR code for that network. On a Google Pixel:
- Open Settings → Network & internet → Internet and make sure you're connected to the network you want to share.
- Tap the Settings (gear) icon next to the network, then tap Share.
- Verify your identity with your fingerprint, face or PIN if asked.
- Show the QR code to the person who wants to join.
From Quick Settings, tap Internet, then Share Wi-Fi at the bottom left. These steps are from Google's Pixel Phone Help page on sharing a Wi-Fi network, which notes that some steps work only on Android 11 and up. Other phone makers use similar menus with different names.
How do you connect to Wi-Fi by scanning a QR code?
Point your phone's camera at the Wi-Fi QR code and tap the prompt that appears to join the network. The phone takes the name and password from the code, so nothing has to be typed.
- On iPhone, open the Camera app in Photo mode and position the code inside the frame. You can also open Control Center and tap the Scan Code control (add it from Control Center if it isn't there).
- Tap the network prompt that appears, then confirm to join.
- On Android, open the Camera app and point it at the code, then tap the prompt to connect. The wording varies by phone maker.
The Camera and Scan Code methods are described in Apple's guide to scanning a QR code with the iPhone camera. A scanner app such as QR Code Scanner * Barcode Reader reads Wi-Fi QR codes too and shows the network details stored in them. Windows 11 laptops and Chromebooks can scan the code with their own Camera app; the steps are in our guide to scanning a Wi-Fi QR code on any device. If the Wi-Fi QR code is a screenshot or photo rather than a printed code, follow our guide to scanning a QR code from a picture.
Is it safe to share Wi-Fi with a QR code?
Sharing Wi-Fi with a QR code is as safe as telling someone the password: anyone who scans the code can join the network and can read the password from it. Treat a printed code like a written-down password.
- Use a guest network. If your router offers one, make the code for the guest network so visitors stay separate from your own devices.
- Display it only where you'd hand out the password. Inside the home or behind the counter, not in a public window.
- Create it on your device. The Passwords app, Android Settings and an offline generator app keep your password off third-party websites.
- Replace it when the password changes. A Wi-Fi QR code is a fixed snapshot; a new password needs a new code.
Why won't a Wi-Fi QR code connect?
A Wi-Fi QR code that won't connect usually holds an old password, a misspelled network name, or a password with special characters that weren't escaped. Check these:
- The password or network name changed after the code was made. Create a new code.
- The SSID doesn't match exactly. Network names are case-sensitive.
- Special characters. The ZXing format requires a backslash before
\,;,,,"and:in the name or password. Good generators do this for you. - Hidden network. A hidden network needs
H:truein the code. - Out of range. The code carries only the details; the phone still has to pick up the signal.
Make your Wi-Fi QR code
Create Wi-Fi, link and contact codes with your own colors and logo. Free, no ads, works offline.
Frequently asked questions
How do I create a QR code for my wifi on my iPhone?
On iOS 18 and later, open the Passwords app, tap Wi-Fi, tap your network and tap Show Network QR Code. To save, print or style the code with your own colors and logo, create it in a QR generator app such as QR Code Scanner * Barcode Reader by choosing Wi-Fi and entering the network name and password.
Can I scan a qr code to connect to wifi without typing the password?
Yes. Point the iPhone Camera, or the camera app on most Android phones, at the Wi-Fi QR code and tap the prompt to join the network. The phone reads the network name and password from the code, so nothing has to be typed.
Do I need an app to scan a Wi-Fi QR code?
No. The iPhone Camera app and the Scan Code control in Control Center read QR codes, and so does the camera app on most Android phones. A scanner app is useful when you want to see the network details stored in the code, or to read a Wi-Fi QR code from a screenshot.
What happens to a Wi-Fi QR code if I change my Wi-Fi password?
The old Wi-Fi QR code stops working, because it holds the password from the moment it was made. Create a new code with the new password and replace every printed copy.