QR codes are designed to be scanned by pointing a phone camera at them. That is fine for a poster on a wall, but increasingly the code is on the device you are holding: in an email, a PDF ticket, a screenshot a colleague sent, a slide in a video call, or a photo you took earlier. You cannot point your phone's camera at its own screen.
Fortunately, you do not have to. A QR code is just a pattern in an image, and any image containing one can be decoded. This guide explains how to read a QR code from a screenshot or saved photo on any device, why some codes refuse to scan, and how to check what a code really contains before you act on it.
What a QR code contains
A QR code stores text. What that text means depends on its format:
| Starts with | Meaning |
|---|---|
https:// |
A web link |
WIFI: |
Wi-Fi network name, security type and password |
BEGIN:VCARD |
A contact card with name, phone, email |
mailto: / tel: / sms: |
Start an email, call or text |
| Plain text | Anything else: a code, a serial number, a message |
A phone camera app usually acts on this immediately: it opens the link or offers to join the network. A scanner that shows you the content first is safer, because you can read it before anything happens.
Why scans fail
QR codes include error correction, so they survive some damage, but a few things reliably break scanning:
- Missing quiet zone. Codes need a blank margin around them. Tightly cropped screenshots often cut it off.
- Too small or too blurry. Each tiny square (module) must be distinguishable.
- Strong perspective or curvature. Photos taken at a steep angle, or codes on bottles and cups.
- Low contrast or inverted colours. Light codes on dark backgrounds confuse some readers.
- Glare on glossy paper or screens.
- Huge photos with a tiny code, where the code is a small fraction of the image.
Scan a QR code in your browser
The QR Code Scanner reads codes from images, pasted screenshots or your camera, and processes everything on your device.
From a screenshot or saved image
- Take a screenshot of the code, or save the image.
- Open QR Code Scanner. On the Image / screenshot tab, drop the image onto the page, or simply press Ctrl+V (⌘+V on a Mac) to paste a screenshot straight from the clipboard.
- The result appears below with a label describing the type of content and where it came from.
The scanner tries several image sizes and adds a white margin automatically, which fixes most tightly cropped screenshots and large photos with small codes. It also tries inverted colours.
With your camera
- Switch to the Camera tab and click Start camera. Allow camera access when your browser asks.
- Point the camera at the code. When it is found, the result appears and the camera stops.
Camera scanning needs a secure (HTTPS) page and a browser that supports camera access.
Using the results
- Links show the address first. Click Open link… and the tool displays a warning with the domain before offering Open anyway.
- Wi-Fi codes show the network name and the password (hidden until you click the eye icon), each with a copy button.
- Contact cards can be saved with Save contact (.vcf).
- Any result can be copied with Copy content.
Other ways to scan a code on your screen
On a phone
Recent phone systems can often recognise QR codes in photos and screenshots: on iPhone, text and code recognition in the Photos app may offer to open a code in a saved image, and on Android, Google Lens (in the camera, Photos or Google app) can read codes in screenshots. The exact menus vary by device and version, so if you cannot find the option, a browser-based scanner works on any phone.
On a computer
Some desktop browsers and operating systems include lens-style image search that can decode QR codes, and some password managers and authenticator apps can read codes from the screen for setting up two-factor authentication. For a quick, general-purpose read of a saved image, a browser scanner is the simplest route.
Command line
The open-source zbarimg tool from the ZBar project decodes QR codes and barcodes in image files, which is useful for processing many files at once.
Staying safe: QR phishing
Because a QR code hides its content until scanned, it has become a popular way to trick people, sometimes called "quishing". Fake parking-payment stickers on meters, emails with a code to "re-verify your account", and forged invoices are common examples.
Good habits:
- Read the domain before opening a link. Look for misspellings, extra words or unexpected domains.
- Be wary of codes that ask for passwords or payment, especially from emails or stickers.
- Never scan codes to "unlock" an account that you did not initiate.
- Treat Wi-Fi codes from unknown sources with caution, particularly in public places.
If you want to share a code yourself, create one with QR Code Generator or, for networks, WiFi QR Code Generator, so you know exactly what it contains.
Tips and troubleshooting
"No QR code found"
Crop closer to the code, but leave a little white space around it. If it is a photo, retake it straight on, closer and in good light. Try again with a sharper screenshot at a higher zoom level.
The code is in a PDF
Take a screenshot of the page while zoomed in, then paste it. If the PDF contains several codes, capture them one at a time. Alternatively, convert the page to an image with PDF to PNG.
Several codes in one image
The scanner reads one code per image. Crop each code separately with Image Cropper and scan them in turn.
It is a barcode, not a QR code
Traditional one-dimensional barcodes use a different format and are not read by this tool.
Frequently asked questions
How do I scan a QR code that is on my screen?
Take a screenshot of it, then open the image in a QR scanner, or paste the screenshot directly with Ctrl+V or ⌘+V. The code is decoded without needing a camera.
How do I scan a QR code from a photo in my gallery?
Upload the saved photo to a scanner that reads images, or use your phone's built-in image recognition if it supports QR codes.
Why won't my QR code scan?
The usual reasons are a missing white margin, blur, a steep angle, low contrast or glare. Crop with some space around the code and use a sharp, straight-on image.
Is it safe to scan any QR code?
Not always. Codes can lead to phishing sites. Check the link's domain before opening it, and never enter passwords or payment details on pages reached from unknown codes.
Are images uploaded when I scan them?
No. Images and camera frames are decoded in your browser, so nothing is sent to a server.