A QR code in a screenshot, a photo, or a PDF cannot be scanned by pointing a camera at your own screen. You need a decoder that reads the image file. There are three reliable routes: the built-in photo scanner on iOS and Android, Google Lens, or a browser-based scanner that accepts an upload. This page covers all three, then the reasons image scans fail and what to do about them.
The fastest route: a browser scanner
Open the free QR code scanner, click Upload image, and pick the file. Decoding happens in your browser — the image is not uploaded to a server. This works on desktop and mobile, and it is the only route that handles PDFs and screenshots without installing anything.
If the code contains a link, the scanner shows the decoded URL before you open it. Check it first: a QR code can point anywhere, and image-based scams are common in email and chat attachments.
On iPhone and Android
iPhone: open the photo in Photos, tap the Live Text / scan icon, or long-press the code in the image. iOS 15 and later reads QR codes directly from photos.
Android: open the image in Google Photos, then use Lens (the camera icon). Most Pixel and Samsung devices also let you long-press the code in the gallery. If the phone offers a "scan QR code" share target, that works too.
Both routes depend on image quality. A screenshot decodes almost every time; a tilted photo of a screen often does not.
Why image scans fail
The four common causes are low resolution, blur, cropping, and glare. A code needs roughly 3 to 4 pixels per module to decode. Shrinking a screenshot to fit in a chat message can drop below that.
Cropping is the quiet one: people screenshot the code but cut off the white quiet zone around it, and the decoder can no longer find the edges. Keep at least a small white margin on all four sides.
Glare and screen moiré come from photographing a monitor. A screenshot avoids both, which is why it is the better source when the code is on a website.
If you only have a blurry photo
Try the original file before editing — messaging apps compress images, so the version in your gallery may be better than the one in the chat. If you have the physical item, re-photograph it flat, in even light, filling the frame.
Sharpening and contrast filters rarely rescue a code below the resolution threshold. Recreating the code from its destination is usually faster than restoring a bad photo.
