How to Scan a QR Code From an Image

By QRPress Editorial Team|

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.

Frequently Asked Questions

Can I scan a QR code from a screenshot?

Yes. On iPhone, open the screenshot and long-press the code or use Live Text. On Android, open it in Google Photos and use Lens. On desktop, upload it to a browser scanner.

Is it safe to upload a QR code image?

Only to a scanner that decodes locally. The QRPress scanner decodes in your browser and never uploads the image. Avoid sites that require an account or send the file to a server.

Why will my phone not scan a QR code from a photo?

Usually resolution, blur, or a cropped quiet zone. A code needs about 3 to 4 pixels per module and a clear white margin. Screenshots work better than photos of a screen.

Can I scan a QR code inside a PDF?

Yes — screenshot the page, or upload the PDF page as an image to a browser scanner. Most phone gallery scanners cannot open PDFs directly.

Decode any QR image in your browser

Upload a screenshot, photo, or PDF page. Free, private, and no app to install.

Open the Free Scanner