How to Scan a QR Code on iPhone (iOS 11+)
Apple built QR code scanning directly into the iPhone Camera app starting with iOS 11 in 2017. If your iPhone is running iOS 11 or later — which covers every iPhone from the 6s onward — you already have everything you need. No App Store download required.
iPhone: Scan with the Camera App
Open the Camera app. Swipe left from the lock screen or tap the Camera icon on your home screen. Make sure you're in Photo mode (the default).
Point the camera at the QR code. Hold your iPhone steady so the entire QR code is visible in the viewfinder. You don't need to tap the shutter button or focus manually — the camera detects QR codes automatically.
Tap the notification banner. A yellow banner will appear at the top of the screen showing the detected URL or action. Tap it to open the link in Safari or trigger the encoded action (joining Wi-Fi, adding a contact, etc.).
If the camera doesn't seem to recognize QR codes, go to Settings → Camera and make sure "Scan QR Codes" is toggled on. It's enabled by default, but occasionally gets turned off.
You can also scan QR codes from your iPhone's Control Center. Swipe down from the top-right corner (or up from the bottom on older models) and tap the QR code scanner icon. This opens a dedicated scanning interface with a flashlight option — useful in low light.
How to Scan a QR Code on Android
Android's QR code scanning experience varies slightly by manufacturer, but every modern Android phone (Android 9+) supports it natively through Google Lens or the built-in camera app. Samsung, Pixel, OnePlus, and most other brands all include QR scanning out of the box.
Method 1: Google Lens
Android: Scan with Google Lens
Open Google Lens. Tap the Lens icon in the Google Search widget on your home screen, or open the Google app and tap the camera icon in the search bar.
Point at the QR code. Aim your camera so the QR code is visible on screen. Google Lens will automatically detect and highlight it with a white overlay.
Tap the link. The decoded URL or action will appear at the bottom of the screen. Tap it to open the link in Chrome or execute the action.
Method 2: Camera App Quick Tile
On Samsung Galaxy phones, swipe down the notification shade and tap the "Scan QR code" quick tile. On Google Pixel phones, the camera app detects QR codes automatically — just point and tap the chip that appears. For other brands, check your camera app's settings for a "Scan QR codes" or "Google Lens suggestions" toggle.
On Android 13 and later, you can add a QR code scanner to your lock screen. Go to Settings → Lock Screen → Shortcuts and select the QR scanner. This lets you scan codes without even unlocking your phone.
How to Scan a QR Code on Mac
macOS doesn't have a single built-in "QR scanner" app, but there are several reliable ways to decode QR codes on your Mac without installing third-party software.
Mac: Three Ways to Scan
Use Visual Look Up in Preview. Open a screenshot or image containing a QR code in Preview. Right-click (or Control-click) the QR code in the image. If macOS recognizes it, you'll see an option to open the detected URL. This works on macOS Ventura (13) and later.
Use Live Text in Quick Look. Select an image file in Finder and press the Space bar to open Quick Look. If the image contains a QR code, Live Text may detect it — you can hover over the code and click the link that appears.
Use a web-based scanner. Open any browser and navigate to a QR code reader website. Upload the image or grant webcam access to scan a physical QR code in front of your Mac's camera. No installation required.
How to Scan a QR Code on Windows
Windows PCs can scan QR codes through the built-in Camera app and browser-based tools. Here are the most practical methods.
Windows: Two Ways to Scan
Use the Windows Camera app. Open the Camera app from the Start menu. Switch to Barcode mode (if available on your version of Windows). Point your webcam at the QR code — the app will detect it and display the decoded URL, which you can click to open in your default browser.
Use a browser extension. Install a QR code reader extension for Chrome or Edge (such as "QR Code Reader" from the Chrome Web Store). These extensions let you right-click any QR code image on a web page and decode it instantly, or scan from your webcam.
Use a web-based scanner. Just like on Mac, you can use a browser-based QR code reader. Upload an image file or screenshot containing the code, and the website will decode it and show you the result.
Need to Create a QR Code?
Generate free, permanent QR codes for URLs, Wi-Fi, text, and more. No signup needed.
How to Scan a QR Code from a Screenshot or Image File
You don't always have a physical QR code in front of you. Maybe someone texted you a QR code image, or you saved one from a website. Here's how to scan it on every platform without printing it out.
On iPhone (iOS 15+)
Open the screenshot in the Photos app. If your iPhone is running iOS 15 or later, Live Text will automatically detect the QR code. Long-press the QR code in the image and tap "Open in Safari" from the menu that appears. Alternatively, you can use Google Lens inside the Google app to scan images from your camera roll.
On Android
Open Google Lens and tap the gallery icon (instead of using the live camera). Select the screenshot containing the QR code. Lens will detect and decode it instantly, showing you the URL or action at the bottom of the screen.
On Mac & Windows
On Mac, open the image in Preview and use Visual Look Up as described above. On Windows, use a browser-based QR scanner — just upload the image file and it will decode the contents. You can also drag and drop a QR code image into Google Lens on the web at lens.google.com.
Every platform now supports scanning QR codes from saved images — not just from the live camera. This is especially useful for codes received digitally via email, messaging apps, or social media. If you're new to QR codes, our beginner's guide to QR codes covers the fundamentals.
What Happens When You Scan a QR Code
Understanding what happens behind the scenes helps you know what to expect — and why things sometimes go wrong. The scanning process works the same way regardless of device.
The Scanning Process: 4 Steps
Image capture. Your camera captures the QR code pattern. The software identifies the three finder patterns (the large squares in three corners) to determine the code's orientation and boundaries.
Decode. The software reads the grid of black and white modules, applies error correction (QR codes can be read even when up to 30% damaged), and extracts the raw data encoded in the pattern.
Interpret the data type. The decoded data includes a header that tells the device what kind of content it is: a URL, plain text, Wi-Fi credentials, a vCard contact, a calendar event, an email address, or a phone number.
Execute the action. Your device takes the appropriate action based on the data type. URLs open in your browser. Wi-Fi credentials prompt you to join the network. vCards offer to save the contact. The entire process takes under a second.
For static QR codes, the data is read directly from the image — no internet connection is needed for the decode step itself. For dynamic QR codes, the decoded data is a redirect URL, so your device needs internet access to follow the redirect to the final destination.
If you want to understand the technical structure of a QR code in more detail, our what is a QR code article breaks down the anatomy of the pattern, including finder patterns, timing patterns, and error correction levels.
QR Code Not Scanning? Quick Fixes
If your QR code won't scan, the problem is almost always one of these five things:
5 Common Issues and Fixes
Poor lighting. QR codes need contrast to be read. Move to a brighter area or turn on your phone's flashlight. Glare on a glossy surface can also interfere — angle the code to reduce reflections.
Too close or too far. Most phones need the QR code to fill roughly 30–60% of the viewfinder. If you're too close, the camera can't focus. If you're too far, the modules are too small to resolve. Experiment with distance.
Damaged or distorted code. If the QR code is torn, faded, wrinkled, or printed too small, the error correction may not be enough to compensate. Try a different copy of the code if one is available.
Camera lens is dirty. Smudges and fingerprints on your camera lens reduce clarity. Wipe the lens with a soft cloth and try again.
QR scanning is disabled. On iPhone, check Settings → Camera → Scan QR Codes. On Android, check your camera app settings for a QR/barcode scanning toggle.
For a deeper dive into scan failures, our dedicated QR code not scanning troubleshooting guide covers 12 common causes and fixes, including problems with low-contrast designs, inverted colors, and overly customized codes.
Always check the URL preview before tapping. QR codes can encode malicious links just as easily as legitimate ones. If a code sends you to an unfamiliar domain or asks you to download something unexpected, don't proceed. Learn more in our QR code security guide.
Frequently Asked Questions
No. iPhones running iOS 11 or later and most modern Android phones can scan QR codes using the built-in camera app or Google Lens. No third-party app is required. On desktop, you can use built-in tools like macOS Visual Look Up or web-based scanners.
Common causes include poor lighting, the camera being too close or too far from the code, a damaged or blurry QR code, or having the QR scanning feature disabled in your camera settings. Try improving lighting, adjusting distance, and cleaning the camera lens. See our full troubleshooting guide for 12 detailed fixes.
Yes. On iPhone, open the image in Photos and use Live Text (iOS 15+) or long-press the QR code. On Android, open Google Lens and select the image from your gallery. Both methods decode the QR code without needing a printed copy.
Scanning a QR code itself is safe — it simply reads data from the image. However, the link it contains could lead to a phishing site or malicious download. Always check the URL preview before tapping, and avoid scanning codes from untrusted sources. Read our QR code security guide for detailed advice.