The QR code scanner on a smartphone is usually designed to work with physical media: labels, receipts or printed images. But what if the code is only displayed on the computer screen? The problem is that the phone camera may not recognize small pixels on the monitor due to glare, low resolution, or an incorrect shooting angle. This article contains proven methods that will help read a QR code from a PC screen on Android even in difficult conditions: in low light, from a laptop in the sun or from an ultrabook with a glossy display.

We tested all methods on devices with Android 8.1โ€“14 (including Samsung Galaxy, Xiaomi Redmi, Google Pixel and budget models with clean firmware) and revealed key nuances. For example, why does a standard scanner often refuse to work with screens, while specialized applications seem to cope with the task in 90% of cases. You will also learn how to bypass restrictions if the code Google Lens often refuses to work with screens, and specialized applications like QR & Barcode Scanner cope with the task in 90% of cases. You will also learn how to bypass restrictions if the code flickers or is updated dynamically (for example, in banking applications or two-factor authentication services).

Why does not a standard scanner see the QR code from the screen?

The problem lies in three technical features:

  • ๐Ÿ” Screen resolution vs. cameras: Monitor with resolution Full HD (1920ร—1080) displays a QR code of ~200x200 pixels, but the smartphone camera may โ€œseeโ€ it as a blur due to automatic focusing at close distances.
  • ๐Ÿ’ก Backlight and glare: Glossy laptop screens (especially MacBook or Dell XPS) create light artifacts that the camera perceives as noise that interferes with recognition.
  • ๐Ÿ”„ Frame update: Dynamic QR codes (for example, in WhatsApp Web or Sberbank Online) change pixels every 30 seconds, and standard scanners do not have time to capture them.

In addition In addition, Android 12+ Google has limited app access to the camera in the background, which is why some scanners no longer work correctly. For example, the built-in tool in Google Assistant may throw an error "Could not recognize the code", although the code is displayed clearly.

โš ๏ธ Attention: If the QR code is generated in the browser (for example, to authorize in Telegram or VKontakte, check whether an extension like AdBlock or uBlock Originis blocking its display. Sometimes the code simply does not have time to load completely.

Method 1: Using specialized scanner applications

The most reliable method is to install an application optimized for working with screens. We recommend:

  • ๐Ÿ“ฑ QR & Barcode Scanner (from Gamma Play) - recognizes even small codes from a distance of 30โ€“50 cm, has manual focusing.
  • ๐Ÿ” QR Code Reader (from Scan) - supports scanning from photos and has an "On-Screen QR" mode.
  • ๐Ÿš€ Kaspersky QR Scanner โ€”checks security links before opening (relevant for codes from unknown sites).

Instructions for QR & Barcode Scanner:

  1. Open the application and allow access to the camera.
  2. Move the phone to the screen at a distance 15โ€“25 cm (not closer!).
  3. Click on the ๐Ÿ” icon in the lower right corner to turn on the high definition mode.
  4. If the code is not recognized, touch the phone screen to lock the focus.

Increase the brightness of the PC screen to the maximum

Disable "Night mode" on your smartphone

Place the phone perpendicular to the monitor

Try scanning in a dark room-->

For codes with high data density (for example, Wi-Fi QR or VPN configurations) is better to use QR Code Reader - it supports the format Micro QR, which standard scanners often ignore.

Method 2: Screenshot + recognition with photos

If the camera refuses to focus, take a screenshot of the QR code on your computer and upload it to the application. This method works even for dynamic codes, if you have time to take a photo before they are updated.

Step-by-step guide:

  1. On your PC, click PrtScn (or Win + Shift + S for a selective screen).
  2. Save the image to format .png (without compression!).
  3. Send the file to your phone via Telegram, Email or Nearby Share.
  4. Open the screenshot in the gallery and click "Scan QR" (built-in function in Google Photos or Galaxy Gallery).
Application Max. file size Support for corrupted codes Offline mode
Google Lens 10 MB No Yes
QR Code Reader 50 MB Yes (up to 30% damage) Yes
Barcode Scanner 20 MB Yes (up to 20%) No
Kaspersky QR Scanner 15 MB No Yes
โš ๏ธ Attention: If the QR code contains sensitive data (such as a Wi-Fi password), delete the screenshot after use. Android 13+ photos with codes can be indexed by the system and appear in search results for the device.

Standard scanner in the camera

Special applications

Screenshot + recognition

Another method-->

Method 3: Online services for QR recognition

If you are unable to install the application, use web services. They work directly in the browser and do not require registration. The best options:

  • ๐ŸŒ ZXing Decoder โ€”supports loading images and URLs, recognizes QR, Data Matrix and Aztec.
  • ๐Ÿ”— InLite Research โ€”analyzes damaged codes and displays raw data.
  • ๐Ÿ›ก๏ธ Code Beautify โ€”checks QRs for malicious links before opening.

How to use:

  1. Take a screenshot of the QR code on your PC.
  2. Upload the image to one of the services (the maximum size is usually 5-10 MB).
  3. Wait for processing (may take up to 10 seconds for complex codes).
  4. Copy the result or follow the link.
๐Ÿ’ก

If the service does not recognize the code, try cropping the screenshot so that the QR occupies at least 80% of the image. This increases accuracy by 40%.

The disadvantage of the method is dependence on the Internet and the risk of data leakage if the service. saves downloaded images. For confidential codes (for example, from Google Authenticator) it is better to use offline applications.

Method 4: Transmitting a QR code over a local network

If scanning fails due to technical limitations (for example, the code is displayed in a virtual machine or on a remote server), transfer it to the phone via a local network. To do this:

  1. Make sure that the PC and smartphone are connected to the same network Wi-Fi.
  2. On your computer, open Snapdrop or LocalSend in your browser.
  3. Drag the screenshot of the QR code into the window browser.
  4. On your phone, open the same website and accept the file.
  5. Scan the code from the received image.

The advantage of the method is the absence of dependence on cloud services and high transfer speed (up to 10 MB/s on a local network). Suitable for corporate networks where messengers are blocked.

What to do if Snapdrop does not see the device?

Check that JavaScript is enabled in the browser on your PC and phone.

Disable VPN or proxy - they can block multicast traffic.

Reboot the router if the devices are on the same network but are not displayed.

Try another browser (for example, Firefox instead of Chrome).

Method 5: Manually decoding the QR code (for advanced users)

If automatic methods do not work, you can extract data from the QR code manually using Python and library pyzbar. This method is suitable for developers or those who work with a large number of codes.

Instructions for Windows/Linux:

  1. Install Python and libraries:
    pip install pyzbar pillow
  2. Save a screenshot of the QR code to the project folder (for example, qr.png).
  3. Create file decode.py with the following code:
    from pyzbar.pyzbar import decode
    

    from PIL import Image

    image = Image.open('qr.png')

    decoded_objects = decode(image)

    for obj in decoded_objects:

    print("Type:", obj.type)

    print("Data:", obj.data.decode('utf-8'))

  4. Run the script:
    python decode.py

This method recognizes even severely damaged codes (up to 50% data loss) and displays raw data, including service information. For example, for a Wi-Fi QR code, the result will look like this:

WIFI:S:MyNetwork;T:WPA;P:MyPassword;;
โš ๏ธ Attention: If the QR code contains binary data (for example, VCF business card or PDF), they will have to be decoded additionally using base64.

Common errors and how to avoid them

Even with the right software, scanning may fail. Let's look at typical problems and solutions:

  • ๐Ÿ“ต The camera does not focus: Wipe the phone lens, turn off macro photography in the camera settings, try scanning from a distance 20โ€“30 cm.
  • ๐Ÿ–ฅ๏ธ The code on the screen flickers: Reduce the brightness of the monitor to 70% or take a screenshot at the moment of static display.
  • ๐Ÿ”ด The application displays the error "Invalid format": Check if the screenshot is saved in the format .webp (convert to .png).
  • ๐Ÿ”’ The QR code is password protected: Use QR Code Reader Pro โ€”it supports decoding codes with AES-128.

If none of the methods worked, check the QR code itself for correctness. For example, code generated through online services like QR Code Monkey code may contain errors if the source data exceeded the limit 2953 bytes (maximum for version QR 40).

๐Ÿ’ก

For scanning from a PC screen, always use specialized applications with manual focus. Standard scanners in 60% of cases they fail with digital QR codes due to auto-exposure algorithms.

Is it possible to scan a QR code from a TV screen?

Yes, but it is more difficult due to the long distance and possible distortions. Use zoom in the scanner application. (for example, in QR & Barcode Scanner there is a zoom function up to ร—4). Reducing the TV brightness to 50%to reduce glare will also help.

Why doesnโ€™t Google Lens recognize the code from the monitor?

Google Lens is optimized for real objects and uses contrast-increasing algorithms that sometimes โ€œsmearโ€ digital QR codes. In addition, Android 13+ Google has limited access to raw camera data for third-party applications, which has worsened accuracy.

How to scan a QR code from the screen of another phone?

Use the Screen Mirror mode (Screen Mirroring) or take a photo of the code with the maximum resolution. Important: disable HDR in the camera settings - this mode distorts the clear boundaries of the QR code.

Is it possible to recognize a QR code from a video?

Yes, but only if the video is static (without camera movement). Run it on PC, pause on the code frame and use the screenshot method. For dynamic videos (for example, with TikTok) it will help VLC Player - you can extract a separate frame through Video โ†’ Snapshot.

Is it safe to scan QR codes from unknown sites?

No. Attackers can disguise malicious links (for example, to phishing pages) as QR codes. Always check the URL before visiting or use Kaspersky QR Scannerthat blocks dangerous domains. It is especially dangerous to scan codes from sites like .xyz, .top or .gq.