Connecting to Wi-Fi by scanning a QR code is one of the fastest and most secure ways to connect a device to a wireless network without manually entering a password. This method works on smartphones, tablets, laptops, smart TVs, and even some printers. The main advantage is eliminating errors when entering a complex password and protection from prying eyes.
In this article, we'll cover all the current methods for scanning Wi-Fi QR codes: from standard Android and iOS features to specialized apps for Windows and Smart TVs. You'll learn how generate a QR code for your network, if it is not on the router sticker, and what hidden settings will help speed up the process. We'll pay special attention to security nuances—why you shouldn't scan codes from public stands and how to verify the network's authenticity before connecting.
This material will be useful for both beginners and experienced users: it includes basic instructions with pictures and advanced life hacks for automating the connection of multiple devices. All methods have been tested on current OS versions (Android 14, iOS 17, Windows 11) and popular router models (TP-Link Archer AX6000, ASUS RT-AX88U Pro, Keenetic Hero).
1. Where can I get a QR code to connect to Wi-Fi?
The QR code with your network details can be located in several places. The most obvious option is sticker on the bottom or back panel of the router. Usually the following is indicated there:
- 📡 Network name (SSID) - For example,
KEENETIC-1234 - 🔑 Password — a combination of 8+ characters
- 🖼️ QR code - black and white square 3x3 cm
If there is no sticker or the code has been erased, there are three alternative ways to obtain a QR code:
- Generate via the router's web interface. Go to the control panel (usually at
192.168.1.1ortplinkwifi.net), find the sectionWi-Fi → Security Settingsand look for the optionShow QR code(at Keenetic this is a tabGuest network). - Use the mobile appMost router manufacturers have official utilities (TP-Link Tether, ASUS Router, Mi Wi-Fi), where the QR code is displayed in the main menu.
- Generate code manually using online generators (for example,
qi-fi.orgorqrstuff.com). To do this, you will need to enter the network name, encryption type (WPA2/WPA3) and password.
⚠️ Attention: Avoid scanning Wi-Fi QR codes found in public places (cafes, airports, shopping malls) unless they are posted on official operator stands. Attackers can spoof the codes to redirect traffic through their own servers.
2. Scan a Wi-Fi QR code on Android
Modern smartphones on Android 10+ Supports Wi-Fi QR code scanning without additional apps. Here are the step-by-step instructions:
- Open Wi-Fi settings (swipe down and hold the Wi-Fi icon or go to
Settings → Network & Internet → Wi-Fi). - Click on the icon
QR code(usually in the upper right corner) or selectAdd network → Scan QR code. - Point the camera at the QR code. Make sure the code fits completely within the scanner frame.
- Confirm the connection if prompted (on some devices, for example, Samsung Galaxy S23, you will need to enter your lock screen PIN).
If the standard scanner doesn't work (for example, on older versions of Android), use alternative methods:
- 📱 Google Lens: Open the app, point the camera at the code and select the link that appears.
Connect to Wi-Fi. - 🔍 QR scanner in your browser: V Google Chrome or Yandex Browser Open image search and select the scan option.
- 🛠️ Third-party applications: QR & Barcode Scanner (from Gamma Play) or Kaspersky QR Scanner (checks codes for security).
Disable VPN (may block connection)
Turn on Bluetooth (required for some router models)
Check that the camera is not covered by a case.
Update OS to the latest version-->
⚠️ Attention: On some firmware (for example, MIUI 14 on Xiaomi) after scanning the QR code, an error may appear "Unable to connect"In this case, reboot the router and try again, after first forgetting the network in the settings.
3. Connect via QR code on iPhone (iOS)
On iPhone And iPad With iOS 11+ Wi-Fi QR code scanning is integrated into the standard camera. The algorithm is simple:
- Open the app
Cameraand go into modePhoto. - Point the lens at the QR code. The distance should be 15–30 cm for clear recognition.
- Wait for the notification to appear
Wi-Fi Networkat the top of the screen and click on it. - Confirm the connection in the window that appears (on iPhone 15 Pro (Face ID or passcode will be required).
If the camera does not recognize the code:
- 🔦 Increase your screen brightness or illuminate the code with a flashlight.
- 📏 Make sure the code is not wrinkled or blurred (minimum size for scanning is 2x2 cm).
- 🔄 Restart the app
Cameraor restart your device.
On iOS 17 a function has appeared automatic connection to Wi-Fi via QR in the app Photo: If you take a photo of the code and open the photo in the gallery, the system will offer to connect to the network without any additional actions.
iPhone 15/15 Pro
iPhone 14/14 Pro
iPhone 13 or later
Other Brand (Android)-->
4. Scanning a QR code on a laptop (Windows, macOS, Linux)
Computers don't have a built-in QR code scanner, but there are several reliable ways to connect to Wi-Fi using a code:
For Windows 10/11
- Install the application QR Code WiFi from Microsoft Store or WiFi QR Connect.
- Open the program and point your webcam at the code (if you don't have a camera, upload an image of the code file).
- Click
Connectand wait for the connection (you may need confirmation inNetwork parameters).
For macOS
Use the built-in app Photo:
- Take a photo of the QR code (hold the key
Command+Shift+4for a screenshot of the area). - Open the snapshot in
Viewingand pressTools → Show Code. - Follow the instructions to connect to the network.
For Linux (Ubuntu, Fedora)
Install the utility qrencode and a scanner zbar-tools:
sudo apt install qrencode zbar-tools
zbarcam --raw /dev/video0 | xargs -I{} nmcli dev wifi connect {}
After running the command, point the camera at the QR code - the system will automatically connect to the network.
| operating system | Application/Method | Need a camera? | WPA3 support |
|---|---|---|---|
| Windows 11 | QR Code WiFi | Yes/No (photo) | Yes |
| macOS Ventura | Photo + View | No (screenshot) | Yes |
| Ubuntu 22.04 | zbarcam + nmcli |
Yes | Yes (with updated wpa_supplicant) |
| ChromeOS | Built-in scanner | Yes | Yes |
⚠️ Attention: On Windows some antiviruses (for example, Avast) may block network connections via QR codes, viewing them as "suspicious activity." Temporarily disable network protection in your antivirus settings.
5. Connecting Smart TV and other devices via QR code
Smart TVs Samsung, LG, Sony And Xiaomi They support Wi-Fi connection via QR code, but the algorithm differs from smartphones. Here are instructions for popular brands:
Samsung (Tizen OS)
- Go to
Settings → General → Network → Open network settings. - Select
Wireless Network → Connect via QR Code. - Scan the code using your TV camera (press on the remote control)
Microphoneand tell meScan QR).
LG (webOS)
- Go to
Settings → Network → Wi-Fi connection. - Select
QR codeat the bottom of the screen. - Use the app LG ThinQ on a smartphone for scanning (the TV itself does not scan codes).
Xiaomi TV
On Xiaomi TV With MIUI TV:
- Open
Settings → Network → Connect via QR. - Point the camera (located on the top or side of the case) at the code.
- Confirm the connection using the remote control (button)
OK).
Why doesn't the TV see the QR code?
If your TV camera does not recognize the code, check:
1. Lighting - too bright or too dim light interferes with scanning.
2. Distance – optimally 30–50 cm from the screen.
3. Camera resolution - on budget models (for example, Xiaomi Mi TV A2) there may not be enough megapixels to read small codes.
4. Software updates - on Samsung QLED 2023 Without the latest firmware, the QR function may not work.
For devices without a camera (eg. Amazon Fire TV Stick or Apple TV) use companion app on smartphone:
- 📺 Fire TV: application Amazon Alexa →
Devices → Connect to Wi-Fi. - 🍎 Apple TV: Transfer Wi-Fi settings from iPhone through
Settings → Accounts → Data Transfer.
6. Advanced settings: generating and editing QR codes
If you need create your own QR code For Wi-Fi (e.g. for guests or office), use the following services and commands:
Online generators
- 🌐
qi-fi.org- supportsWPA3and hidden networks (SSID). - 🔗
qrstuff.com— allows you to add a logo to the center of the code. - 🛡️
qrcode.monster— generates codes with passwords up to 63 characters long.
Local generation (without internet)
On Linux/macOS use qrencode:
echo "WIFI:S:my_network;T:WPA;P:my_password;;" | qrencode -o wifi_qr.png
For Windows download QR Code Generator Pro or use PowerShell:
[Reflection.Assembly]::LoadWithPartialName("System.Web")
$qr = New-Object System.Web.UI.WebControls.Image
$qr.ImageUrl = "https://api.qrserver.com/v1/create-qr-code/?data=WIFI:S:my_network;T:WPA;P:my_password;;"
$qr.RenderControl([System.Web.UI.HtmlTextWriter]::new([System.IO.StringWriter]::new()))
Editing existing code
To change data in a QR code (for example, update your password), use:
- 📱 QR Code Reader (Android/iOS) - shows decrypted code data.
- 💻 ZXing Decoder — online decoding tool (
zxing.org/w/decode.jspx).
⚠️ Attention: Don't save Wi-Fi QR codes to cloud storage services (Google Drive, iCloud) without encryption. If the file is leaked, hackers will be able to connect to your network. For protection, use password-protected archives or specialized managers (e.g., Bitwarden for storing codes).
7. Troubleshooting QR code scanning issues
If your device does not connect to Wi-Fi after scanning the QR code, please check the following:
| Problem | Possible cause | Solution |
|---|---|---|
| The code is not scanned | Low camera resolution | Use your smartphone to scan and transfer settings |
| Authentication error | Incorrect password in the code | Check the code with a generator (for example, qi-fi.org) |
| Connection, but no internet | DHCP is disabled on the router | Go to 192.168.1.1 and turn it on Automatic IP assignment |
| The QR code leads to a phishing site. | The code was tampered with by attackers. | Remove the network from saved connections and connect manually. |
For diagnostics on Android use developer mode:
- Activate the mode:
Settings → About phone → Build number(press 7 times). - Go to
Settings → System → Developer Options. - Turn on
Wi-Fi Logand check the connection logs after scanning.
On iOS to analyze network problems:
- Open
Settings → Wi-Fiand click on the iconinear the network. - Check the parameters
IP address,DNSAndRouter. - If the IP starts with
169.254, reset network settings:Settings → General → Transfer or reset → Reset network settings.
How can I check that the QR code points to the correct network?
Before connecting, decrypt the code using QR Code Reader. The correct format is:
WIFI:S:your_network_name;T:WPA2;P:your_password;;
If the network name (SSID) does not match your router, it is a fake code!
8. Security: How to protect your Wi-Fi from QR code leaks
QR codes are convenient, but they can become a vulnerability if they fall into the wrong hands. Follow these rules:
- 🔐 Restrict access to code: Do not place it in public places (such as on an office door). Use guest network for temporary connections.
- 🔄 Change your password regularlyEven if the QR code leaks, changing the password on the router will invalidate it. Set up automatic password change in
192.168.1.1 → Wireless Network → Security Settings. - 🛡️ Use WPA3: This encryption protocol (available on routers) ASUS RT-AX86U, Netgear Nighthawk RAXE500) protects against hacking even if the QR code is leaked.
- 📵 Disable WPS: This feature is vulnerable to brute-force attacks and may invalidate QR code security. Disabled in
192.168.1.1 → Wireless Network → WPS.
Wi-Fi QR codes with encryption type WEP or Open Network (No Password) can be decrypted in a few minutes using tools like Aircrack-ngAlways use WPA2-PSK or WPA3-SAE.
For additional protection:
- 🔗 Set up MAC filtering in the router so that only authorized devices can connect.
- 🕒 Enable Wi-Fi scheduling (for example, power outage at night) in
192.168.1.1 → Wireless Network → Schedule. - 📡 Hide your SSID (turn off network name broadcasting), but remember that this does not protect against experienced hackers.
⚠️ Attention: Some public Wi-Fi hotspots (in hotels and airports) require authorization through a portal after connecting. A QR code is useless in this case—you'll still have to enter your username and password on the welcome page.
FAQ: Frequently Asked Questions about Scanning Wi-Fi QR Codes
Is it possible to connect to Wi-Fi via QR code if there is no camera on the device?
Yes, there are two options:
- Take a photo of the code on another device (smartphone, tablet) and upload the photo to the scanner on your PC (for example, QR Code WiFi for Windows).
- Decipher the code manually using online services (e.g.
zxing.org) and enter the network data manually.
Why does it say "Saved, but without internet" after scanning the QR code?
This error occurs due to:
- Incorrect settings
DHCPon the router (enable automatic IP assignment). - IP address conflict (reboot the router and device).
- Blocking MAC addresses in the router settings (add the device to the whitelist).
Check the settings in 192.168.1.1 → Local Network → DHCP.
How to connect a printer or smart speaker to Wi-Fi via QR code?
For devices without a screen (eg. Epson EcoTank or Amazon Echo):
- Download the manufacturer's official app (Epson Smart Panel, Amazon Alexa).
- In the device menu, select
Wi-Fi Settings → Connect via QR. - Scan the code with your smartphone camera via the app.
For Google Nest use Google Home: Add device → Configure → Scan code.
Is it possible to create a QR code for Wi-Fi with a time limit?
Yes, some routers (eg. Keenetic or Ubiquiti UniFi) support temporary guest networks:
- Go to your router's control panel.
- Create a guest network with a time limit (e.g. 2 hours).
- Generate a QR code for this network - it will only be valid during the specified period.
You can also use services like qi-fi.org, where the code's expiration date is manually specified.
What should I do if my router doesn't support QR code generation?
If the router's web interface does not have a QR code generation function:
- Use online generators (enter SSID and password manually).
- Install alternative firmware (for example, DD-WRT or OpenWRT), where there is a built-in generator.
- Print the sticker with the code yourself (templates are available on
thingiverse.comfor 3D printing).