ThisCalculator

Everyday

Scan QR Code from Image on Mobile: How-To

Updated · Standard formula, shown below

To scan a QR code from an image on your mobile phone, open the image in your phone’s default Photos or Gallery app and tap the QR code link that appears above it, or use a dedicated QR scanner app that can import an image from your camera roll. On most modern phones, this built-in method works without installing anything extra. If your phone doesn’t show a link, you can use a free scanner app’s “import from gallery” option.

Why You Might Need to Scan a QR Code From an Image

QR codes are everywhere, but you don’t always have the physical code in front of you. Common situations include:

  • A friend sends you a screenshot of a ticket, boarding pass, or event pass.
  • You saved a QR code for a Wi-Fi network or a payment link and need to use it later.
  • A PDF or email attachment contains a QR code that you need to open on your phone.
  • You took a photo of a QR code on a screen or paper, but the camera didn’t recognize it at the time.

In all these cases, you don’t need to point your camera at another screen—you can scan the code directly from the saved image.

How It Works: Why Your Phone Can Read a QR Code From a Photo

QR codes are designed to be read by cameras, but the decoding process doesn’t require a live camera feed. The code is a grid of black and white squares that encodes data—typically a URL, text, or a string of numbers. When you open an image, the phone’s operating system runs the same image-recognition algorithm on the static picture that it would run on a live camera frame. If the code is clear, well-lit, and not too distorted, the software can extract the data and show you a notification or link.

On iPhones (iOS 11 and later), the Camera app can scan QR codes, and the Photos app also recognizes them. On Android, Google Lens is integrated into Google Photos and many camera apps. The processing happens on-device, so you don’t need an internet connection to decode the code itself—though you will need a connection to open the URL it contains.

How to Scan a QR Code From an Image: Step-by-Step

The exact steps vary by phone, but the general process is the same.

On iPhone (iOS)

  1. Open the Photos app and find the image with the QR code.
  2. Tap the image to view it full screen.
  3. Look for a small QR code icon or a banner at the bottom of the screen—iOS automatically detects the code and shows a link.
  4. Tap that banner or icon to open the link in Safari, or long-press the QR code in the image to see options like “Open URL” or “Copy.”

On Android (using Google Lens)

  1. Open the Google Photos app or your default Gallery app.
  2. Open the image with the QR code.
  3. Tap the Google Lens icon (a small camera-shaped icon) in the bottom toolbar or overflow menu.
  4. Lens will scan the image and show a card with the link or text. Tap it to open.

If your phone doesn’t have these built-in options, you can use a third-party QR scanner app. Most of them have an “Import” or “Gallery” button that lets you choose an image from your library.

Common Problems and How to Fix Them

Sometimes the phone won’t recognize the code. Here are the usual culprits and solutions:

  • Blurry or low-resolution image: The code needs to be sharp. If the image is pixelated, try to get a higher-resolution version or zoom in on the code before scanning.
  • Reflections or glare: If the code was photographed on a glossy surface, glare can break the pattern. Try to find a different photo or edit the image to increase contrast.
  • Cropped or partially cut off: The three large squares in the corners (the finder patterns) must be fully visible. If they’re missing, the code won’t decode. Crop the image to include the entire code.
  • Wrong orientation: QR codes are rotation-invariant, so this is rarely an issue, but if the image is heavily skewed or tilted, the algorithm may fail. Try to straighten the image.
  • Old phone or outdated OS: If your phone doesn’t have built-in QR scanning, you may need to update your operating system or install a scanner app.

How to Choose a QR Scanner App (If You Need One)

If your phone’s built-in tools don’t work, you’ll need a third-party app. Here’s what to look for:

  • Privacy: Choose an app that processes images on-device and doesn’t require an account. Free apps often show ads, but they shouldn’t need your personal data.
  • Import feature: Make sure the app explicitly supports “import from gallery” or “scan from image.” Some older apps only work with the live camera.
  • No unnecessary permissions: A QR scanner should only need camera access (and photo access if you’re importing). Avoid apps that ask for contacts, location, or SMS permissions.
  • History: Some apps save your scan history. If you’re scanning a sensitive code (like a payment link), consider an app that doesn’t store history.

Safety and Security When Scanning QR Codes From Images

QR codes are just links—they can lead anywhere. A code in an image is no safer than one on a poster. Be cautious about these points:

  • Check the URL before opening: After scanning, the phone will show you the destination. Look at the domain name carefully. If it’s a shortened URL or a misspelled domain, don’t tap it.
  • Don’t enter personal information: If a scanned code leads to a login page or a payment form, be suspicious. Legitimate services don’t usually require you to enter passwords via a QR code.
  • Beware of “quishing” (QR phishing): Attackers can put malicious QR codes on stickers over legitimate ones, or send them in emails. An image sent by an unknown sender could contain a malicious code.
  • Treat it like an email attachment: If you didn’t expect the image or it comes from an untrusted source, don’t scan it.

Alternatives: When You Can’t Scan the Image

If the image is too damaged or you don’t have a scanner, you have other options:

  • Type the URL manually: If the QR code encodes a URL, you might be able to read it with your eyes if it’s short enough. But most encoded URLs are long and not practical to type.
  • Use a desktop computer: You can upload the image to a website that decodes QR codes. Many free online tools exist, but be careful about uploading sensitive codes to unknown sites.
  • Ask for the link directly: If you received the image from a person, simply ask them to send the URL as text. This is often the easiest and safest solution.

Frequently Asked Questions

Why doesn’t my iPhone show a QR code link when I open a photo?

Make sure you’re running iOS 11 or later, and that the image is clear. If the code is small or low-contrast, the Photos app may not detect it. Try zooming in on the code, or use the Camera app to scan the photo on your screen (point your camera at the screen).

Can I scan a QR code from a screenshot on Android?

Yes. Open the screenshot in Google Photos, tap the Google Lens icon, and it will scan the code. Alternatively, some Android phones have a “Scan with Lens” option in the screenshot preview toolbar.

Is it safe to scan a QR code from an image sent by a friend?

Generally yes, but only if you trust the friend and the context. A friend might forward a ticket or a link, but if the image was forwarded from someone else, the code could have been altered. Always check the destination URL before opening.

What if the QR code is in a PDF or a document?

You can take a screenshot of the PDF page (or export it as an image) and then follow the same steps as for a photo. On iPhone, you can also open the PDF in the Files app and use the markup tool to copy the image, but the simplest method is to screenshot and then scan the screenshot.

Do I need an internet connection to scan a QR code from an image?

No. The decoding happens on your phone. However, you need an internet connection to open the URL or access the content the code points to. If you’re offline, the phone will show the decoded text but won’t be able to load the link.

Can I scan a QR code from an image without installing an app?

On most modern phones, yes. Both iOS and Android have built-in QR scanning in their camera and photo apps. If your phone is older or you’ve disabled the feature, you may need to update the system or install a third-party app.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.