Scanning a QR Code on Android sounds simple — but the exact method varies considerably between brands and system versions. Samsung, Xiaomi and Motorola each have their own shortcut, and stock Android (Pixel, for example) works differently.

In this guide you'll learn how to scan a QR Code on any Android device: native camera, Google Lens, manufacturer-specific apps and even how to read a QR Code from a photo saved in your gallery. In under two minutes you'll master the whole process.

The general rule: Android 9 or higher

Starting with Android 9 (Pie), Google added native QR Code reading directly in the camera app. Just point the camera at the code — a notification appears on screen, you tap it and you're done.

If the camera does not recognize the QR Code automatically, there are three possible reasons:

  1. The option is disabled in the camera settings.
  2. The device runs Android 8 or lower.
  3. The manufacturer uses a custom camera app that needs adjustment.

How to enable QR Code scanning in the camera

On many Android phones this option is off by default. To enable it:

  1. Open the Camera app.
  2. Tap the gear icon (Settings) — usually in the top corner.
  3. Look for "Scan QR Codes", "Code scanning" or "Google Lens".
  4. Toggle it on.

Now when you point at a QR Code → the link appears on screen → tap to open.

Google Lens: the method that works on any Android

Google Lens is the most universal way to scan QR Codes on Android, regardless of brand or version.

Via shortcut in the native camera

Many phones have a Google Lens icon inside the camera app (a star or magnifying glass icon). Tap it and point at the QR Code.

Via the Google app

  1. Open the Google app (Google Search).
  2. Tap the camera/lens icon next to the search bar.
  3. Point at the QR Code or select a photo from your gallery.

Via Google Photos

  1. Open the photo containing the QR Code.
  2. Tap Lens (magnifying glass with star icon).
  3. Lens identifies the QR Code and displays the link.

This last method is perfect for reading a QR Code from a photo or screenshot you received via messaging apps.

Step-by-step: native camera (stock Android / Pixel)

  1. Open the Camera app.
  2. Point it at the QR Code — center the code on screen.
  3. Wait 1-2 seconds: a banner with the link or information appears.
  4. Tap the banner to open it.

No extra app needed, no need to take a photo. The code is read in real time.

How to scan QR Codes by Android brand

The table below summarizes the recommended method per manufacturer:

Brand / system How to scan QR Code
Stock Android (Pixel, Motorola stock) Native camera (Android 9+) or Google Lens
Samsung (Galaxy) Native camera or Bixby Vision (eye icon in camera)
Samsung — lock screen Quick shortcut: swipe up / scanner icon
Xiaomi / MIUI "Scanner" app (app drawer) or native camera
Motorola (My UX) Native camera (Google Lens integrated)
Others / older Android Code2Scan QR Code Scanner app

Samsung Galaxy

Samsung offers two main routes:

Option 1 — Native camera: Open the camera, point at the QR Code. A notification appears automatically (if it doesn't, go to Camera Settings → enable "QR Codes").

Option 2 — Bixby Vision: Inside the camera app, tap the eye icon (Bixby Vision). It analyzes the QR Code and displays the result.

Option 3 — Lock screen (Galaxy with One UI 3+): On the lock screen, pull down the quick panel. There is a QR Code scanner shortcut in the quick controls — add it if it's not visible (hold and edit the shortcuts).

Xiaomi / MIUI

MIUI has a dedicated app called Scanner (or "Scan"). Find it in the app drawer or device search. Point at the QR Code → result on screen. The MIUI native camera also reads QR Codes directly.

Motorola

Motorolas running near-stock Android use the Google camera, with Google Lens integrated. Just open the camera and point at the code. If the Google Lens icon appears in the camera, tap it for more options.

Reading a QR Code from a photo or screenshot

Couldn't scan in the moment? Saved a screenshot? Two options:

Google Lens (recommended):

  1. Open Google Photos or the Google app.
  2. Select the image with the QR Code.
  3. Tap Lens → the code is read.

Google Photos directly:

  1. Open the photo in Google Photos.
  2. Tap Lens (magnifying glass icon).

See the full guide on how to read a QR Code from a photo or screenshot.

Security: be careful with unknown QR Codes

Before tapping the link that appears, check the address. QR Codes can point to fake websites or trigger file downloads.

Best practices:

  • Check the full URL before opening — be suspicious of URL shorteners on QR Codes from unknown sources.
  • Don't scan QR Codes that look like they've been stuck over another code (a common physical scam in restaurants and banks).
  • If the URL looks strange, close it without tapping.

Learn more at Is QR Code safe?

Common mistakes

❌ Camera doesn't recognize the QR Code

The option is probably disabled. Go to camera app settings and enable "Scan QR Codes" or "Google Lens". If your Android is version 8 or lower, use Google Lens or a dedicated scanner app.

❌ Blurry image / code too small

Hold the phone steady, move closer (but don't touch the QR Code) and wait for autofocus. Good lighting helps a lot.

❌ Damaged or low-quality QR Code

Torn, faded or low-contrast QR Codes may fail. Try different angles and distances. If it's a screenshot, enlarge the image before scanning.

❌ Wi-Fi QR Code doesn't connect automatically

This can be a limitation of Android or the manufacturer. Read the guide on how to create a Wi-Fi QR Code to understand the correct format and compatibility.

❌ Opens a link instead of performing the action

Wi-Fi, contact (vCard) or email QR Codes sometimes open a confirmation screen — that's normal. Confirm the action on screen.

Summary

  1. Android 9+: native camera already reads QR Codes — enable in settings if needed.
  2. Google Lens works on any Android and also reads QR Codes from saved photos.
  3. Samsung: use native camera, Bixby Vision or lock screen shortcut.
  4. Xiaomi/MIUI: dedicated Scanner app or native camera.
  5. Motorola: native camera with integrated Google Lens.
  6. Always check the URL before opening links from unknown QR Codes.

Want to scan QR Codes of any type — Wi-Fi, WhatsApp, vCard? Use the free Code2Scan QR Code Scanner directly in your browser, no installation needed.