Use a phone or webcam to scan

Scan a QR code on your laptop screen using a smartphone camera or a webcam with QR-reading software. Most phones detect QR codes automatically when you point the camera at the screen.

  • Tool smartphone or webcam
  • Best method phone camera
  • Watch out screen glare and focus

How It Works

QR codes on screens are read the same way as printed ones — by capturing the pattern with a camera. The difference is that a screen emits light, which can cause glare or flicker that interferes with scanning. Most modern smartphones can read QR codes from screens without extra apps.

When you point your phone’s camera at the QR code on your laptop, the device’s software detects the square pattern and decodes the embedded URL or text. This happens almost instantly if the lighting and focus are right.

Some laptops have built-in webcams and QR-reading features in their preinstalled software. For example, Windows 10 and 11 include a QR scanner in the built-in Camera app and Microsoft Edge browser. If your laptop has a working webcam, you can use these tools instead of a phone.

Using a Smartphone

Point your phone’s rear camera at the laptop screen from about 6–12 inches away. Hold the phone steady and make sure the entire QR code is visible in the frame. Avoid direct light reflecting off the laptop screen, as glare can block parts of the code.

iPhones running iOS 11 or later do not need a separate app — the Camera app automatically recognizes QR codes and shows a notification at the top of the screen. Tap it to open the link.

Android phones with stock camera apps (like Pixel or Samsung Galaxy) also support QR scanning out of the box. If your phone doesn’t detect the code, check Settings > Apps > Default Apps > QR code reader to see if one is enabled.

If scanning fails, adjust the laptop screen brightness. Too dim, and the contrast drops; too bright, and glare washes out the pattern. A brightness level of 70–80% usually works best.

Using a Laptop Webcam

You can scan a QR code on one laptop using its own webcam if the software supports it. Open the built-in Camera app on Windows or macOS, position the laptop so the screen is visible in the camera frame, and wait for the code to be read.

On Windows, open the Camera app, point the webcam at the screen, and look for a pop-up notification. If nothing appears, try opening Microsoft Edge, clicking the three-dot menu, and selecting "Scan QR code." This feature lets you capture codes from any screen.

On macOS, open the Camera app or use Quick Look. If your Mac has a webcam, point it at the screen. You may need to use a third-party app like QR Reader for Safari if the system doesn’t detect the code automatically.

Keep the laptop lid at a 70–90 degree angle so the webcam has a clear view. Avoid tilting it too far back, which can cause the camera to focus on the ceiling instead of the screen.

Fix Common Scanning Problems

Glare, screen flicker, and poor focus are the top reasons QR codes fail to scan. Each has a simple fix.

If the laptop screen reflects light, turn off overhead lights or close blinds. Use a dark room if needed. Rotate the laptop slightly to change the reflection angle.

Some screens flicker at certain refresh rates, especially under fluorescent lighting. This flicker can confuse phone cameras. If the code blurs or pulses, lower the laptop’s brightness or switch to battery power, which often reduces flicker.

If your phone keeps focusing on the screen’s surface instead of the code, tap the screen to manually set focus on the QR pattern. Some phones let you lock focus by holding down the viewfinder.

Make sure the QR code is fully loaded and not cut off by the browser window. Resize the browser or zoom in so the entire code is visible and square.

When to Use a Different Device

If your laptop lacks a webcam or the code won’t scan, use a second device. This is faster and more reliable than troubleshooting software.

A smartphone is the most portable and accurate tool. Tablets also work well. Just open the camera app and point it at the screen.

If you’re in a meeting or presentation and need to scan a code quickly, a phone is the best backup. Even older models from the past five years support QR scanning.

Never rely on a single method. If the laptop’s camera software crashes or the screen flickers too much, switch to a phone. The goal is to get the link, not fix the system.

Security and Safety

Only scan QR codes from trusted sources, even if they’re on your own screen. Malicious codes can redirect to phishing sites or download malware.

If you generate a QR code yourself, verify the link before sharing it. A typo in the URL can send people to the wrong place.

Some QR readers show the destination link before opening it. Use this preview to confirm the site is correct. If the link looks suspicious — like a long string of random characters — don’t open it.

On public computers, avoid scanning personal codes. Someone may have installed screen-reading software that captures what you scan.

Alternatives to Scanning

If scanning fails repeatedly, copy the link manually. Right-click the QR code image, select "Copy URL" or "Inspect," and extract the link from the source if possible.

Some QR codes are generated from text you can see nearby. If the code links to a known website, type it directly into the browser.

For developers or power users, online QR code readers let you upload a screenshot to decode it. Just capture the screen (Windows: Win + Shift + S; Mac: Cmd + Shift + 4), upload the image, and get the result.

This method avoids camera issues entirely and works when the screen is too flickery or dim to scan.

Frequently Asked Questions

Can I scan a QR code with my laptop’s webcam?

Yes, if your laptop has a webcam and QR-reading software. Use the built-in Camera app on Windows or macOS, or try Microsoft Edge’s QR scanner. Point the webcam at the screen and keep the code in frame.

Why won’t my phone scan a QR code on screen?

Glare, screen flicker, or poor focus may block the scan. Adjust the laptop’s brightness, turn off lights, and hold the phone steady. Tap the phone’s screen to focus on the QR code.

Do I need an app to scan QR codes?

No. iPhones and most Android phones read QR codes using the default camera app. No extra app is needed unless your phone is older or uses a custom OS.

Can a QR code on a screen be dangerous?

Yes, if it leads to a malicious site. Always preview the link if possible. Only scan codes from trusted sources, even on your own devices.

What if the QR code is too small?

Zoom in on the browser or app window to enlarge the code. Make sure it’s square and not stretched. A minimum size of 2×2 inches on screen usually works best.

Further reading: Google Help