QR codes have long become an integral part of digital life: they are found on product packaging, in advertising brochures, on websites and even in instant messengers. But what to do if the code came to you in pictures or screenshotsform, and not in live form? On Android there are several ways scan a QR code directly from the image without having to print it or look for the original source.

In this article we will look at all current methods for modern versions of Android (from Android 10 to Android 15), including built-in tools and third-party applications. You will learn how to do without additional software, which apps are best to use for complex cases, and why some QR codes may not be read from photos. And also - how to protect yourself from fraudulent codes that can steal your data.

Why a QR code from a picture may not be scanned?

Before moving on to the instructions, it is important to understand why some QR codes are not recognized from photographs. Here are the main reasons:

  • ๐Ÿ“ธ Low resolution โ€”if the picture is compressed or blurred, the scanner will not be able to read the pixels.
  • ๐Ÿ” Perspective distortion โ€”the code on the photo may be taken at an angle, which interferes with recognition.
  • ๐ŸŽจ Color filters โ€”some applications (for example, Instagram) change colors, making the code unreadable.
  • ๐Ÿ”’ Dynamic QR codes โ€” if the code is generated on the fly (for example, for one-time passwords), its screenshot may be useless.

If you If you are trying to scan a code from the screen of another device, try increase the brightness and remove glare. Sometimes it even helps to simply rotate the screen it changes the angle of incidence of the light.

โš ๏ธ Attention: Some scammers distribute QR codes in the form images that lead to phishing sites. Never scan codes from unverified sources (for example, sent in instant messengers from strangers).

Method 1: Built-in QR scanner in Google Lens (without installing applications)

Most modern Android smartphones (starting from Android 8.0have a built-in tool Google Lens, which can recognize QR codes directly from photographs. Here's how to use it:

  1. Open Gallery and find a photo with a QR code.
  2. Touch the icon Google Lens (usually it looks like a circle with a dot inside or an inscription "Lens"). On some phones (for example Samsung Galaxy), you need to click "More" โ†’ "Lens".
  3. Wait while the application analyzes the image. If the code is recognized, a notification will appear asking you to follow the link.

If there is no Lens icon, update the application Google Photos or Google Search via Play Market. On some firmware (for example MIUI from Xiaomi), the function may be hidden in the "Tools" menu.

Manufacturer Where to look for Google Lens Supported Android versions
Samsung Gallery โ†’ More โ†’ Lens Android 9.0 and later
Xiaomi/Redmi/Poco Gallery โ†’ Tools โ†’ Lens Android 10.0 and later
Google Pixel Google Photos โ†’ Lens at the bottom of the screen All versions
Huawei/Honor Requires installation of Google Services Android 10.0+ (with restrictions)
โš ๏ธ Attention: On Huawei devices without Google services (for example, on HarmonyOS), the Google Lens function will not work. Use the alternative methods in the following sections.
๐Ÿ“Š What is the brand of your Android smartphone?
Samsung
Xiaomi
Google Pixel
Huawei/Honor
Other

Method 2: QR scanner in Google Photos (Lens alternative)

If Google Lens does not find the code or it is not in your gallery, try the built-in scanner in the application Google Photos. It works even on older versions of Android and does not require additional permissions.

Instructions:

  1. Open the application Google Photos and find the image with the QR code.
  2. Tap the icon "Lens" in the bottom panel (next to the "Favorites" and "Trash" buttons).
  3. If the code is recognized, a pop-up window will appear with a suggestion Go to link or Copy text.

This method is especially useful for screenshots from the screenbecause Google Photos automatically improves image quality before analysis. If the code is not recognized, try cropping the photo so that it takes up at least 50% of the frame.

Crop excess edges|Increase contrast|Rotate code evenly|Remove highlights and shadows-->

Method 3: Third-party applications for scanning QR from pictures

If the built-in tools fail, specialized applications will come to the rescue. We tested several and selected the best:

  • ๐Ÿ“ฑ QR & Barcode Scanner (from Gamma Play) - supports scanning from the gallery, has a scan history and checks security links.
  • ๐Ÿ” QR Code Reader (from Scan) - can recognize codes even from highly distorted images thanks to technology Super Resolution.
  • ๐Ÿ›ก๏ธ Kaspersky QR Scanner โ€” checks links for viruses and phishing before opening.

How to use (for example QR & Barcode Scanner):

  1. Install the application from Play Market.
  2. Open it and click on the icon "Gallery" (usually in the lower right corner).
  3. Select a photo with a QR code and wait for recognition.
  4. If the code contains a link, the application will offer to open it in the browser or copy it.

The advantage of third-party scanners - additional functions, such as:

  • Creating your own QR codes.
  • Saving scan history.
  • Checking security links (in Kaspersky QR Scanner).
โš ๏ธ Attention: Some applications for scanning QR codes require access to geolocation or contactsThis is not necessary for operation - refuse unnecessary permissions.
How to check the security of a QR code before transferring?

Before opening the link from the QR code, check it through services like VirusTotal or URLVoid. To do this, copy the link from the scanner and paste it into the verification field on one of these sites. If the service shows warnings about phishing or malware, do not click on the link. Also pay attention to the domain: scammers often use similar addresses (for example, paypa1.com instead of paypal.com).

Method 4: Online services for recognizing QRs from pictures

If you do not want to install applications, you can use online scanners. They work directly in the browser and are suitable for one-time tasks. Here are proven services:

  • ๐ŸŒ ZXing Decoder Online (zxing.org/w/decode.jspx) - supports uploading images up to 10 MB.
  • ๐Ÿ”— QR Code Monkey (qrcode-monkey.com) - in addition to scanning, allows you to create your own codes.
  • ๐Ÿ›ก๏ธ QR Stuff (qrstuff.com) - checks codes for validity before decoding.

Instructions for use ZXing Decoder Online:

  1. Open the site in a browser (it is better to use Chrome or Firefox).
  2. Click "Choose File" and upload a photo with a QR code.
  3. Click "Decode" - the result will appear at the bottom of the page.

Warning: Do not. download sensitive images Online scanners may save downloaded files on their servers. For sensitive data, use offline methods.

๐Ÿ’ก

If the QR code contains a Wi-Fi password or other sensitive data, use offline scanners (such as the one built into Google Lens) instead of online services.

Method 5: Manual QR code decoding (for advanced users)

If automatic methods did not work, you can try manually extract the data from the QR code. This is a complex method, but it works even with damaged images. You will need:

  • ๐Ÿ–ฅ๏ธ A computer with Python and library pyzbar.
  • ๐Ÿ“ File with a QR code in the format PNG or JPEG.

Instructions for Windows/Linux:

  1. Install Python from the official website (python.org).
  2. Open the command line and run:
    pip install pyzbar pillow
  3. Create a file decode_qr.py with the following code:
    from pyzbar.pyzbar import decode
    

    from PIL import Image

    image = Image.open('qr_code.png') # replace with the name of your file

    decoded_objects = decode(image)

    for obj in decoded_objects:

    print("Type:", obj.type)

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

  4. Place the script and the image in the same folder, then run:
    python decode_qr.py

This method is suitable for technicians or cases when you need to recognize a code from a heavily damaged image. For ordinary users, the previous methods are sufficient.

๐Ÿ’ก

Manual decoding is the only way to read a QR code if automatic scanners do not recognize it.

Common mistakes and how to avoid them

Even with the right software, users often encounter problems when scanning QRs from pictures. Here are top 5 errors and their solutions:

Problem Cause Solution
The code is not recognized Low photo resolution Use the original image or take a new screenshot
The scanner is hanging on loading The file is too large Crop the image to the minimum size with the code
Following the wrong link The code is dynamic (one-time use) Ask to send the code live form, not a screenshot
The application asks for unnecessary permissions Fraudulent software Uninstall the application and use trusted scanners
The code is recognized, but the link does not open Outdated version of the browser Update Chrome or use another browser

If none of the methods helped, check:

  • ๐Ÿ” File format โ€”some scanners do not work with WEB or HEIC (use PNG/JPEG).
  • ๐Ÿ“ Size of the code in the photo โ€”it must occupy at least 1/3 of the screen.
  • ๐ŸŽจ Color scheme โ€”the code must be clearly contrasting (usually black on a white background).
Is it possible to scan a QR code from the screen another phone?

Yes, but for this it is better to use a live scan (with a camera) rather than a photo. If you need to take a screenshot from another screen, increase the brightness and make sure that there is no glare on the code. Some phones (for example Samsung Galaxy S23) have a โ€œScreen scannerโ€ mode in the camera settings.

Why doesn't Google Lens see the QR code on my Xiaomi?

On Xiaomi phones with firmware MIUI sometimes integration with Google Services is disabled. Check:

  1. Update the application Google in Play. Market.
  2. Go to Settings โ†’ Applications โ†’ Manage applications โ†’ Google and enable all permissions.
  3. Restart your phone.

If there is a problem remains, use third-party scanners.

How to scan a QR code from a PDF file?

Open the PDF in the application Google Drive or Adobe Acrobat Reader, take a screenshot of the page with the code, and then scan it using any of the methods described above. you can convert PDF to image through online services (for example, ilovepdf.com).

Is it safe to scan QR codes from pictures?

Scanning itself is safe, but Following links from unverified QR codes can be dangerous. Fraudsters often distribute through codes:

  • Phishing pages (fake banking sites).
  • Links to download malicious APK files.
  • Pages with automatic redirect to paid subscriptions.

Always check the URL before opening!

Is it possible to scan a QR code from a black and white printout?

Yes, but the quality of recognition depends on contrast and resolution print. If the code is not scanned:

  • Try to move the phone closer to the printout.
  • Use additional lighting (for example, a flashlight).
  • Take a photo of the code with close distance and increase the contrast in the photo editor.

For old printouts, manual decoding can help (Method 5).