How to Scan a QR Code From a Screenshot

The camera trick fails when the code is already on the screen you are holding. Every platform has an answer, they are just all hidden in different places.

By QRotto · Published · 7 min read

Someone sends you a QR code in a message. You cannot point your phone camera at your own screen, and there is no obvious button for it. This turns out to be one of the most searched QR questions there is, and the answer is different on every platform.

All of them work. None of them are where you would expect.

iPhone

The quickest way: Photos

  1. Open the screenshot in Photos.
  2. Press and hold on the QR code itself.
  3. A banner or menu appears with the link. Tap it.

This uses Live Text, which is on by default on recent iOS versions. If nothing happens, check Settings, General, Language and Region, Live Text is enabled.

If that fails: Live Text button

Open the image in Photos and look for the Live Text icon, a small square with lines inside it, usually bottom right. Tap it, then tap the code.

Third option: the Code Scanner

iOS has a dedicated Code Scanner in Control Centre. Add it under Settings, Control Centre. It scans from the camera rather than from an image, so for a screenshot on the same device you would need a second screen. Useful to know it exists, not the answer here.

Android

Google Lens, the reliable route

  1. Open the screenshot in Google Photos.
  2. Tap the Lens icon at the bottom.
  3. Lens reads the code and offers the link.

Lens is on essentially every modern Android device, either standalone or inside Google Photos and the Google app.

Straight from the screenshot notification

On many Android versions, taking a screenshot of a QR code shows a preview with a Lens or Scan shortcut right there. Tap it before the preview disappears.

Samsung devices

Samsung's Gallery has its own Bixby Vision or Lens option. Open the image, tap the three dot menu, and look for a scan or vision entry. Samsung also has a QR scanner in the quick settings panel.

Advertisement

Desktop and laptop

No built in scanner on Windows or macOS, so you have two practical options:

If the code is in a PDF or a document, take a screenshot of just the code first. A tighter crop decodes far more reliably than a full page.

What we found about image quality

We wanted to know what actually breaks a screenshot scan, so we generated a code, then shrank and compressed it and tried to decode each version.

The same QR code screenshotted at 370, 185, 92 and 55 pixels. The first three decoded correctly; the 55 pixel version failed.
The same code at four screenshot sizes. It decoded down to 92px and failed at 55px.

Size is what matters. A 29 x 29 module code decoded fine at 370px, 277px, 185px, 129px and 92px. At 55px it stopped. That works out at roughly three pixels per module before detection breaks down.

Compression barely matters. We saved the same code as JPEG at qualities from 95 down to 5, taking the file from 35KB to 5KB. Every single one still decoded. That surprised us, JPEG artefacts are usually the first thing blamed when a code will not scan.

The practical rule: if a screenshot of a QR code will not scan, it is almost certainly too small, not too compressed. Ask for the image again at full size, or screenshot the code on its own rather than as part of a full page.

One caveat worth stating: this was software decoding of clean digital images. A phone camera pointed at a screen has to deal with reflections, focus and screen refresh, and is less forgiving than the decoder we used.

Scanning a code off another screen

If you are using a second device to scan a screen, three things make it work:

If it still fails, try zooming the image on the source screen so the code is physically larger.

When nothing works

The image is too small

Ask the sender for the original file rather than a forwarded copy. Messaging apps often downscale images, and a code that arrived through two apps may have been shrunk twice.

The code is partly covered

QR codes tolerate some damage through error correction, but the three large squares in the corners are position markers. If one of those is cropped or covered, detection usually fails completely rather than degrading gracefully.

It is a screenshot of a screenshot

Each round trip loses resolution. Two or three generations in, there may not be enough pixels per module left.

It scans but nothing useful happens

The code may hold plain text rather than a link, in which case the text is the whole content. Or it may be a WiFi code, which some image based scanners read but will not act on.

Before you tap what it opens

A screenshot of a QR code that arrived in a message deserves more suspicion than one printed on a menu. You did not choose the source, and codes sent by message are a common phishing route.

Read the URL preview before tapping. If the domain is not what you expected, or the page asks for a payment or a login you did not initiate, stop. Our guide on spotting a malicious QR code covers what to look for.

Making your own codes easier to scan

If you are the one sending codes, a few things help the person on the other end:

All of our generators produce codes at a size that survives this comfortably: WiFi, vCard, URL, text, email and SMS.

QRotto

QRotto builds free browser based QR code generators and writes the guides that go with them. Every generator is verified by decoding the codes it produces and confirming the output matches the input exactly. See our editorial standards.