Yes using a phone or webcam
You can scan a QR code displayed on a computer screen using a smartphone camera or a webcam with QR-reading software. The code must be clearly visible and not distorted by screen glare or resolution issues.
- Works with phone camera or webcam
- Must be clearly visible, not pixelated
- Avoid screen glare and reflections
How It Works
QR codes on computer screens are no different from printed ones. They store data in a grid of black and white squares that a scanner interprets. The screen displays this pattern using pixels, and as long as the contrast is high and the image is sharp, a scanner can read it.
Most modern smartphones can scan QR codes directly through the default camera app. No extra app is needed on iPhones running iOS 11 or later, or on many Android devices with updated software.
The scanning device must focus clearly on the screen. This means avoiding blurry images, screen glare, or viewing the screen at a sharp angle. If the QR code appears stretched or pixelated, the scanner may fail.
Devices That Can Read It
Smartphones
Any smartphone with a rear-facing camera and a built-in QR scanner can read a QR code from a computer screen. The camera must be able to focus at short range — typically 6 to 12 inches from the screen.
Open the camera app, point it at the QR code on the monitor, and wait for the notification to appear. On iPhones, a banner shows at the top of the screen. On Android, a pop-up or notification may appear.
If the code doesn’t scan, try adjusting the distance. Move closer if the code looks small, or farther if it’s blurry. Hold the phone steady for 2–3 seconds.
Webcams
You can also use a computer’s built-in webcam or an external one to scan QR codes displayed on another screen. This requires QR-reading software.
Free tools like Webcam Barcode Scanner or browser extensions allow real-time scanning through the webcam feed. Open the program, position the screen so the QR code is centered in the webcam’s view, and wait for detection.
Webcam scanning works best when the lighting is even and the screen is not reflective. Avoid backlighting or bright windows behind the screen.
Screen and Display Factors
Resolution and Size
The QR code must be large enough to read. A minimum size of 1 inch by 1 inch (2.5 cm) on the screen is reliable. Smaller codes may not have enough pixel density for accurate scanning.
High-resolution monitors (e.g., 1080p or higher) display sharper images, improving scan success. But if the code is scaled down too much in a web browser or document, it may become pixelated when enlarged.
Always display the QR code at 100% scale or larger. Avoid stretching or distorting it using browser zoom unless the original image is high quality.
Glare and Reflections
Screen glare is a common reason scanning fails. Light from windows or overhead lamps can wash out the contrast between black and white squares.
To reduce glare, adjust the angle of the monitor or use matte screen protectors. Lower ambient lighting or close blinds during daytime use helps.
Turn off auto-brightness if it causes flickering. Some LED screens pulse at frequencies invisible to the eye but detectable by cameras, making the code appear unstable.
Color and Background
Standard QR codes are black on white. Some custom designs use color, but these may not scan reliably on screens due to color rendering differences between devices.
Never place a QR code over a busy background image. Even on screen, low contrast or patterned backgrounds reduce readability.
If you create a QR code, use solid black modules on a pure white background. Test it on a screen before finalizing.
Common Mistakes
Trying to Scan with the Same Device
You cannot scan a QR code on a laptop screen using that same laptop’s webcam unless a second device displays it. A single computer cannot simultaneously display and scan a QR code with its own camera in most cases.
Some specialized software allows loopback scanning, but it’s not standard. For reliable results, use a separate phone or another computer.
Using Screenshots Incorrectly
Some users take a screenshot of a QR code and try to scan it from the same device. This often fails because the camera focuses on the screen surface rather than the image.
If you must scan a screenshot, open it on one device and use a second device’s camera to read it. Do not hold the phone too close — keep it 8–10 inches away.
Ignoring Pixelation
Enlarging a low-resolution QR code in a browser or PDF stretches the pixels, making the squares fuzzy. This confuses scanners.
Always generate QR codes at a high resolution (at least 300 dpi) and scale them up only if the original supports it. A vector-based QR code (e.g., SVG) scales perfectly without pixelation.
Worked Example
You’re working on a Windows laptop and need to scan a QR code that logs you into a website. The code is displayed in your browser.
Take your iPhone, unlock it, and open the Camera app. Hold the phone about 8 inches from the laptop screen, making sure the entire QR code fits in the viewfinder.
The screen is slightly reflective from a nearby lamp. You turn off the lamp and reposition the phone to avoid the glare. Within 2 seconds, a notification appears at the top of the iPhone screen.
You tap the notification, and it opens Safari, redirecting to the login page. The QR code contained a URL, and scanning it saved you from typing the address manually.
QR Codes for Sharing Files and Links
People often use QR codes on screens to share Wi-Fi credentials, URLs, contact info, or documents during meetings or presentations.
For Wi-Fi, the QR code contains the network name (SSID), password, and security type. When scanned, phones can auto-fill and connect without manual entry.
To create one, use a trusted QR generator like the one built into Google’s WiFi settings or third-party tools that follow ISO/IEC 18004 standards.
Always double-check the data before displaying it. A typo in a password field will cause failed connections.
Security Considerations
Never scan a QR code from an untrusted source, even on a screen. It could redirect to a phishing site or download malware.
Some phones show a preview of the URL before opening it. Use this to verify the destination. If the link looks suspicious, don’t open it.
Similarly, avoid displaying sensitive QR codes (e.g., one-time passwords or login tokens) on public screens where others might scan them.
Scanning QR Codes on Different Screen Types
LED and LCD Monitors
Most desktop and laptop screens use LED or LCD technology. These display QR codes well if the resolution is adequate and brightness is properly set.
Set brightness to 50–70%. Too dim, and the white areas appear gray; too bright, and the screen washes out.
OLED Screens
OLED screens have perfect blacks and high contrast, which benefits QR code scanning. However, they may introduce flicker at certain brightness levels due to PWM (pulse-width modulation).
If scanning fails on an OLED screen, adjust brightness to avoid flicker zones — often below 20% or above 80%.
Touchscreens
Touchscreens work the same as non-touch monitors. However, fingerprints and smudges can blur the code. Clean the screen with a microfiber cloth before display.
QR Codes for Remote Access and Pairing
Some apps, like WhatsApp Web or Microsoft Authenticator, use QR codes to pair a phone with a computer.
The computer displays the code, and the phone scans it to establish a secure connection. This avoids manual login and ensures only the authorized device links.
These codes expire quickly — usually within 30 to 60 seconds. If scanning takes too long, refresh the page to generate a new one.
QR Codes on Screens for Events and Work
At conferences or training sessions, organizers display QR codes on projectors or monitors to share resources.
Ensure the projected image is large enough — at least 12 inches wide — and the projector is focused. Scanning from a distance requires larger codes.
For remote meetings, share the QR code in the video feed. Participants can screenshot it and scan from another device.
Always test the code before the event. A failed scan during a live session causes delays and frustration.
Further reading: Google Help