How to scan a QR code from a screenshot or photo
Scan a QR code from an image on iPhone, Android, Windows or Mac. Paste a screenshot into our scanner, or use Lens, and fix images that won't read.
The quickest way to scan a QR code from an image is to hand the image to a scanner instead of a camera. Take the screenshot, open our free QR scanner, choose Image or screenshot, and drop the file in or paste it with Ctrl V (⌘ V on a Mac). It reads the code on your device and shows where a link goes before anything opens. The built-in options on phones and computers work too, and they’re covered below.
You need this whenever a code reaches you as a picture: a WhatsApp forward, a PDF invoice, a poster someone photographed, or a code on the very phone you want to scan it with. The camera app is built for the real world, so it has nothing to point at. This is the part of the pillar guide on how to scan a QR code that most people get stuck on.
Paste it into the scanner
This route needs no app and works the same on every device with a browser, which is why it’s the one we’d start with.
- Save or screenshot the image. A photo of a printed code is fine; so is a screenshot of one on a screen.
- Open qr.ytools.in/scan/ and pick the Image or screenshot tab.
- Drop the file on the box, choose it from your files, or paste it. On a laptop, copy a screenshot to the clipboard and press Ctrl V or ⌘ V anywhere on the page.
- Read the result card. For a link it shows the domain in large type with any warning signs. Press the button only if you’re happy with what you see.
Here’s what the page does with your picture, taken from its code rather than from guesswork. If the image is larger than 1,600 pixels on its longest side, it scales a copy down to that size and tries to read it. If that fails, it tries again at the original size. It also tries the image both as it is and with light and dark swapped, so a white code on a black background is read as well. If the browser has its own barcode detector, the page asks it first and falls back to a bundled decoder (jsQR). When nothing is found, it tells you to crop closer to the code or find a sharper picture, which is the right advice, as the failure section below explains.
Nothing is uploaded. The image is decoded in the browser tab and not sent anywhere. That matters if the picture is a payment code or a ticket.
iPhone and iPad
Apple’s pages are clear about live scanning but quiet about saved pictures. The iPhone guide to Live Text says to open the photo, tap the Detect Text button, and then touch and hold the text you want. It describes quick actions at the bottom of the screen for making a call, visiting a website or starting an email, and says Live Text has to be turned on under Settings > General > Language & Region and isn’t available in every region or language. It doesn’t mention QR codes in a saved photo at all.
Third-party guides report that recent iPhones do recognise a code in Photos. MakeUseOf’s walkthrough says to open the image in Photos, tap the Live Text icon in the bottom-right corner, tap the highlighted QR code, and choose Open in Safari. Treat that as worth a try rather than a promise, because it isn’t in Apple’s documentation and it depends on your iOS version.
When it doesn’t work, which is often enough to plan for, there are two dependable options. Paste or choose the image in our scanner, which behaves the same on iOS as anywhere else. Or put the picture on another screen, such as a laptop, and scan it with the iPhone’s Camera app as you would a printed code.
Android
Google documents one route clearly. Per Google’s Chrome help for Lens on Android, you open a new tab in Chrome, tap the Lens icon in the search bar, choose the camera option, and then, to use an existing picture, select from the screenshots or images. For a QR code the page says to position it in the box and tap the link that pops up.
Guides report that Android phones also show a Lens button when you open an image in Google Photos. The Google help pages we found don’t document that button, so if you don’t see it, use the Chrome route above.
If none of this shows a result, the same fallback applies: the scanner on this site, in Chrome or any browser, takes a file picked from the Gallery or Files app.
Windows and Mac
On a Windows 11 PC, Microsoft says Snipping Tool can detect QR codes, so you don’t need your phone’s camera. In Microsoft’s Snipping Tool guide, once you have captured a snip, you select the Text actions button, and any link, contact or Wi-Fi details in the code are offered. Microsoft’s page gives no version numbers, and Snipping Tool is updated through the Microsoft Store, so what you see depends on your build. If the button shows nothing, don’t fight it. Use the browser route.
In desktop Chrome, Google’s Lens page says to right-click an image and choose Search with Google Lens, or to use More > Search this tab with Google Lens for part of a page. That page doesn’t mention QR codes, so look in the side panel for the decoded text. It does say something worth knowing about privacy: when you use Lens on page content, a screenshot of the page and page data are sent to Google. A scanner that decodes on your device doesn’t do that, which is the main reason we point to ours for anything sensitive.
For a Mac, we found no Apple support page that describes reading a QR code from a picture. The options that work are our scanner in Safari, Chrome Lens, or sending the image to an iPhone. Apple’s Live Text on Mac is documented for copying text from photos, not for codes.
Why an image won’t read
When a screenshot fails, the code is usually fine. The picture has lost something the decoder needs. In rough order of how often you’ll meet them:
| What went wrong | What you see | Fix |
|---|---|---|
| The crop cut into the white margin | The code is touching the edge of the picture | Take a new screenshot with space around it. Denso Wave says the format requires a four-module margin on every side |
| The code is a small part of a big picture | A tiny code in a long chat screenshot | Crop to the code, then re-save as PNG |
| The code was shrunk, then enlarged | Soft, blocky edges | Go back to the original file; don’t screenshot a screenshot |
| JPEG compression | Smudged edges, especially in dense codes | Ask for a PNG or request it again |
| Photographed at an angle | Skewed square, one side shorter | Retake straight on, filling the frame |
| Glare or a screen’s moiré pattern | Bright patch or bands across the code | Tilt the phone slightly, or step back and zoom |
| Light code on a dark background | Inverted colours | Use a scanner that tries both; ours does |
The quickest of these to feel is size. We measured how dense real codes get. The short link https://example.com/menu is a version 2 code, 25 by 25 modules. Add a long tracking address and you get a version 8 code at error correction M, 49 by 49, or a version 12 code at level H, 65 by 65. With the four-module margin, those need 33, 57 and 73 modules of space. If the code in your screenshot is 200 pixels wide, that’s about 6 pixels per module for the short code and under 3 for the dense H one. Fewer pixels per module means less room for compression and blur to hurt before a decoder can’t tell a dark square from a light one.
That’s arithmetic, not a promise about a given phone, because decoders differ. But it explains a pattern: the same chat screenshot decodes the simple code and not the busy one. If a code you generated yourself keeps failing from screenshots, shorten what it holds. Why QR codes fail to scan goes through density, size and contrast on the print side.
If it still won’t read
- Crop to the code with a small margin, then save as PNG.
- Open the original file, not a forwarded copy.
- Try the image in a second route: our scanner, then Lens.
- Show the picture on a screen at full brightness and scan it with a second phone.
- Ask whoever sent it for the link as text. A code is only a way to carry a short piece of text, and a plain message is often quicker. If you’re checking it for safety, is it safe to scan QR codes explains what to look at before you open it.
Ready to try it? Free, no sign-up, made in your browser.
Open the scanner