How to scan a QR code to connect to Wi-Fi on your phone screen

Modern technologies significantly simplify the process of connecting to wireless networks, eliminating the need for users to manually enter complex passwords. The need to quickly provide internet access to guests or connect a new device is a common occurrence. In such situations, technology comes to the rescue. QR codes, which allows you to transmit encrypted network data instantly.

However, users often encounter a situation where the code is already on the smartphone's screen, but there's nothing to scan it with, or standard methods don't work. This can be confusing, especially if you don't have a second device with a camera. Fortunately, the operating system Android offers built-in solutions that allow you to use your phone's screen as an image source for scanning.

In this article, we'll detail the steps for various operating system versions and shells. You'll learn how to activate the necessary features, which applications might be needed in unusual situations, and how to avoid common errors when reading data from the display.

Built-in scanning capabilities in Android

Since version Android 9, the QR code recognition function has been integrated directly into the system software. This means that third-party software is no longer required to read data from another device's screen or paper. Simply open the standard app. Camera and point the lens at the image.

In more recent versions such as Android 12 And Android 13, the process has become even more intuitive. The system automatically analyzes the video stream and, if a code is detected, prompts a pop-up notification with an action. If the code contains Wi-Fi connection information, the phone will offer to connect to the network without entering a password.

⚠️ Attention: On some smartphone models, especially those with heavily modified shells from manufacturers like Xiaomi or SamsungThis feature may be disabled by default. Check your camera settings, find the "Code Scanner" or "Google Lens" section, and make sure the toggle is enabled.

To scan a code displayed on your phone's screen (for example, after taking a screenshot or opening a PDF), you can use Google Lens. It's often built into the search bar or gallery. Simply open the image, tap the lens icon, and the system will scan the information.

  • 📱 Open the Camera app and point it at the code on another screen.
  • 🔍 Use the Google widget on your desktop for quick access to the scanner.
  • 🖼️ Open the saved image in Google Photos and click the "Lens" button.

It is important to understand that autofocus Camera issues can play tricks when trying to photograph another phone's screen. Display matrices have their own unique pixel structure, which can sometimes create a moiré effect that interferes with recognition. Try to keep the camera at an optimal distance to ensure a clear image, but not too close.

Using Google Lens and Google Photos

If the standard camera is not working or you want to scan a code that is already stored in the device's memory, the best tool is Google Lens (Google Lens). This service uses machine learning algorithms to analyze images and can recognize even damaged or poorly lit codes.

To work with an existing image, open the application Google PhotosFind the desired screenshot or downloaded image with a QR code. At the bottom of the screen, you'll see a button with a lens icon or the words "Search by image." Clicking it will start the analysis process.

⚠️ Note: The Google Photos app interface may be updated. If you don't see the scan button right away, try pinching the code (zooming in on the image) or tapping the three dots in the corner to open an additional menu.

Once recognized, the system will prompt you to follow the link or, if using Wi-Fi, connect to the network. This is especially convenient when you've received a code via messenger and don't want to exit the app or switch between windows.

Why does Google Lens work better than the camera?

Google Lens' algorithms are specifically trained to ignore JPEG compression artifacts and moiré patterns from screens, making them more effective for scanning digital images than standard camera algorithms designed for printing on paper.

Google Lens also lets you save your scan history. If you accidentally close a scan window, you can find it in your Google account activity history. This is a useful feature for those who frequently work with various access codes.

Scanning via Wi-Fi settings

Many users aren't aware that the wireless settings menu also has a built-in QR code reader. This makes sense, as it's context-specific and highly relevant. You don't need to search for a camera or third-party apps.

To use this method, go to Settings → Wi-Fi (or "Connections" on devices Samsung). At the top of the screen, next to the Wi-Fi switch, there's often a square icon with a barcode or magnifying glass. Tapping it activates scanning mode.

This method is preferable because it initiates the connection process immediately. Once the code is read, the phone will automatically enter the SSID and password, after which all you have to do is confirm the connection by clicking "Connect."

Action Path to the menu Result
Opening Settings Settings → Network & Internet Network Connections Main Menu
Activating the scanner Click on the QR icon next to the list of networks Launch the camera widget to scan
Connection Automatically after reading Save network profile and sign in

It's worth noting that on some devices, this feature may be hidden in an additional menu accessible by clicking the three dots in the corner of the screen. Look for an option called "Add network via QR code" or something similar.

Problems scanning from the phone screen

Trying to scan a QR code from the screen of another smartphone or tablet often encounters technical difficulties. The main problem lies in the difference in sensor technologies. LCD screens emit light, while paper reflects it, confusing recognition algorithms tuned to the contrast of the ink.

Another common issue is the screen refresh rate. If you take a screenshot of a code and try to read it from the same device using the camera (in mirroring mode), or if the source device has a high refresh rate (120 Hz or higher), stripes or flickering may occur.

  • 📉 Reduce the brightness of the screen of the device you are scanning the code from to 30-40%.
  • 🔄 Change the camera angle to avoid direct glare.
  • 📏 Move your camera further away to include more of the surrounding area in the frame for focusing.

It is also worth considering permission Images. If the code on the screen is very small and the camera has a low resolution or poor macro mode, reading may be impossible. In such cases, it's best to zoom in on the source image.

⚠️ Warning: Do not attempt to scan the code from a screen with a strong anti-glare coating or cracks—this may completely block recognition. In critical situations, it is better to send an image file rather than show the screen in person.

If all else fails, try taking a screenshot of the code on the source device, sending it to your cloud or messenger, then opening it on the device you want to connect and using Google Lens to analyze the file.

Alternative scanning apps

When Android's built-in tools prove powerless, specialized apps from the store come to the rescue. Google PlayThey often have more flexible camera settings, allow you to work with a gallery, and have a scanning history.

A popular solution is the app QR & Barcode Scanner from Gamma Play or similar from KasperskyThese programs can not only read codes, but also generate them and save the history as a convenient list with dates.

📊 How do you usually scan QR codes?
Built-in camera
Google app
Third-party scanner
I don't use QR codes

A key feature of good scanners is the ability to upload images from your gallery. You can take a screenshot, save it, open it in the scanner app, and select "Upload from Gallery." The software algorithm will process the file without the limitations of a live video stream.

In addition, many antivirus programs such as Kaspersky Internet Security or Dr.Web, have built-in QR code virus scanning modules. This adds a layer of security, as attackers can create codes that lead to phishing sites.

Security when connecting via QR code

Using QR codes for Wi-Fi is convenient, but it carries certain risks. The code contains clear text and a password. Anyone who can photograph this code (even from a distance with a good camera) will gain full access to your network.

Therefore, it is not recommended to place home network QR codes in public places or post photos of them on social media without first securing them. If you provide guests with access through your screen, be sure to ensure the code does not contain any unnecessary data.

  • 🔒 Use your guest Wi-Fi network to generate codes for visitors.
  • 👁️ Do not leave the screen with the code unattended in public places.
  • 🔄 Change your Wi-Fi password regularly if the code may have been compromised.

It's also worth remembering the possibility of creating fake access points. If, after scanning the code, your phone asks you to install a certificate or VPN profile, this is a warning sign. A genuine Wi-Fi code only requires connection confirmation.

Frequently Asked Questions (FAQ)

Why can't the camera see the QR code on another phone's screen?

Most often, the issue is with the screen brightness or refresh rate. Try reducing the brightness to 50%, cleaning the camera, and slowly changing the distance to the subject. Also, make sure the code scanning feature is enabled in the camera settings.

Is it possible to connect to Wi-Fi if the code is damaged or partially obscured?

QR codes have a built-in error correction system. If less than 30% of the code's surface is damaged (especially if the three corner markers are intact), modern scanners like Google Lens will likely be able to read the information.

Is it safe to scan codes of unknown origin?

No, not always. The code could lead to a malicious website or initiate a call to a premium number. Always check the pop-up notification: if it shows a strange URL instead of "Connect to Wi-Fi," it's best to cancel.

How to create your own QR code for Wi-Fi so guests don't have to ask for the password?

This can be done in the router settings or using dedicated generator apps on Android. Router settings often have a "QR code" tab where you can download an image for printing.

☑️ Pre-scan check

Completed: 0 / 4