You can scan a QR code that only exists in a photo - a screenshot, a picture someone texted you, or an image you downloaded - and it works in almost every case, because you are not scanning anything at all. You are asking your phone to read the code from a stored image file. On iPhone this is built into the Photos app and takes about three seconds. On Android, Google Lens inside Google Photos or the Google app does the job, and Samsung phones can do it through Gallery or Bixby Vision. The one thing you need first is a photo where the QR code is sharp, fully inside the frame, and reasonably large. A blurry code cannot be read by any app.
Menu labels differ slightly between iOS and Android versions, phone makers and regions, so if a label in these steps is worded a little differently on your device, look for the closest match.
What You'll Need
- An iPhone with iOS 15 or later (for the built-in Photos method) or an Android phone with Google Lens available through Google Photos or the Google app
- The photo containing the QR code, saved to your camera roll, gallery or downloads folder
- An internet connection if the code points to a website - the scan itself works offline, but opening the link usually does not
- Enough screen brightness and a steady hand if you plan to photograph a code with a second device rather than use an existing file
Step-by-Step
On iPhone
- Open the Photos app and navigate to the picture that contains the QR code. You can also open it from a message, Mail attachment or any app that saves to Photos - tap the image so it fills the screen.
- Look at the photo. If iOS recognises a QR code, a small link preview appears just below the image, showing the destination or a button such as Open in Safari or Open in Maps. This works on photos saved to the library, including screenshots.
- Tap that preview to open the link. If it is a website you will be sent to Safari; if it is a Wi-Fi code the phone may offer to join the network; if it is a contact card it will offer to add the contact.
- If no preview appears, long-press the image itself. This opens the system Live Text menu, which can contain a detection option for the code. Tap it to follow the link.
- If neither works, the code is probably too small or too soft. Go back to step 1 of the fallback below.
On Android (Google Lens)
- Open Google Photos and select the picture with the QR code, or open the Google app and tap the camera icon in the search bar to bring up Lens with the photo picker.
- In Google Photos, tap the Lens button (it may appear as a small lens icon in the row of actions at the bottom). In the Google app, tap Search with your camera, then choose the photo from your gallery.
- Lens analyses the image. When it finds the code you get a chip or card with the decoded content - usually a website link, a phone number, Wi-Fi credentials or plain text. Tap it to act on it.
- Samsung phones offer a second route: open the image in Gallery, tap the menu or look for a code-scanning icon in the corner, and let Bixby Vision read the image. The exact placement varies by One UI version.
- If your phone manufacturer ships its own camera app with a scanning mode, the same photo-picker option is often available there too - open the camera, switch to the code or Lens mode, and use the gallery thumbnail beside the shutter button.
When you have to photograph a printed code
- Put the code flat on a plain surface with even light. Avoid glossy screens and plastic packaging that reflect a light source back at the lens.
- Hold the phone parallel to the code, about 15-25 cm away, so the code fills roughly half the frame but sits fully inside it with a small margin.
- Tap the code on screen to focus, wait for the focus to settle, then take the photo. Do not move during the shot - motion blur is the single most common cause of failure.
- Open that new photo in Photos or Google Photos and follow the steps above. Scanning the live code directly with the camera app is usually faster if you can, but the photo method works fine as a fallback.
Common Mistakes
- Cropping too tightly. QR readers use the quiet zone - the blank margin around the code - to find its edges. A crop that touches the pattern often fails.
- Using a thumbnail or low-quality copy. Screenshots of screenshots and heavily compressed images lose the fine detail needed to decode. Work from the original file when you can.
- Scanning a photo of a screen. Photographing a monitor introduces moiré patterns and scan lines that confuse the decoder. Take a screenshot instead of a photo whenever the code is displayed on a device.
- Assuming every code is a link. Some codes contain only text, a Wi-Fi password, a contact card or coordinates. If nothing opens, the code may still have scanned correctly - check whether your app displayed plain text instead of a URL.
- Tapping the code instead of tapping the preview. Reading the decoded content and opening it are two separate actions. The small banner or card is what opens the result.
- Trusting the destination blindly. A QR code is a hyperlink in a picture. Scammers paste their own codes into stickers on parking meters, restaurant tables and posters. Check the domain before you sign in or pay anything.
Tips
- If the preview banner in Photos will not appear, try rotating the image in the edit view, then save. A code captured at an odd angle sometimes decodes better when re-oriented.
- Increase the size of the photo on screen - pinch to zoom into the code, then long-press the image. Live Text in particular works better when the code is large on screen.
- For images from a browser or email, save the file to Photos first, since some in-app viewers do not expose the detection menu.
- Many third-party scanner apps exist, but the built-in routes above avoid ads and reduce the chance of landing in a fake browser. If you install one, use only the official store listing.
- Remember that the photo stays on your device; the decoding itself is done locally. Only the final link you tap goes online.
- If you handle codes often, keep the original unedited image - re-saving as a compressed JPEG can make a previously readable code unreadable.
Troubleshooting
If nothing on screen reacts to the photo, first confirm the code is actually a QR code and not something similar. Data Matrix and Aztec codes look different and are not always recognised by the quick-detect features; Google Lens and dedicated scanner apps handle more formats than the Photos preview does. Try Google Lens first on any Android device, and on iPhone try an officially distributed scanner app from the App Store.
If the code is recognised but the link refuses to open, check your connection and try copying the address manually. In Lens the detected text is tappable and selectable, so you can copy the URL into a browser. On iPhone, if the preview keeps vanishing, close the app fully (swipe up on the app card) and reopen the photo; this clears a stuck detection layer.
If the code looks damaged - a torn sticker, a reflection across the middle, a smudge - try a different copy or ask the person who sent the image for a cleaner version. Error-correction built into QR codes tolerates some damage but not a missing corner marker or an erased chunk of the pattern. No amount of zooming will recover data that is not in the file.
If several codes appear in one image and the phone picks the wrong one, crop a copy of the photo so the target code is the only one in frame, then scan that copy. And if your phone's Photos app has no detection at all, that is a version limitation rather than a fault - use Google Lens, or the scanner built into the camera app of a manufacturer that offers one.
Frequently Asked Questions
Does scanning a QR code from a photo need internet?
No. Reading the image and decoding the content happens on the phone. You only need a connection if the code points to a website or app store page and you choose to open it.
Why does my iPhone not show the QR code preview in Photos?
Usually because the code is small in the frame, at a sharp angle, or the image has been heavily compressed. Zoom into the code and long-press the image to use Live Text, or crop a clean copy and reopen it.
Can I scan a QR code from a screenshot?
Yes. Screenshots generally work better than photographing a screen, because they contain no reflections, scan lines or motion blur. Look for the code in Google Lens or the Photos preview as usual.
Is it safe to open a link from a QR code in a photo?
Treat it like any unknown link. Read the domain in the preview before tapping, never enter passwords or card details on a page that opened from a code you did not expect, and be wary of codes stuck over original signage.
What if the code contains Wi-Fi details or a contact card?
The app will offer to join the network or add the contact instead of opening a browser. Check the network name or contact details before confirming, since you cannot see where the data came from.
Do I need a scanner app?
No for most phones. iOS and Android both decode stored images natively. A scanner app only helps with unusual code formats, very poor-quality images, or saving a scan history.