The question sounds simple, but it covers two different situations, and the fix depends on which one you’re in.
The first case is when the code is sitting on your own screen. It might be a WhatsApp Web login, a payment page, a PDF or a picture someone sent you. In the second, the code is printed on a box, a flyer or a visiting card, and you’d like your laptop’s webcam to read it. Phones are built for this job. Laptops mostly aren’t, so you end up improvising a little. Here’s how.
TRY THE TOOLQR ScannerScan and decode QR codes instantly.If the code is on your screen
Use your phone. Hold the phone’s camera a short distance from the screen and wait for the link to pop up. It sounds too easy to be useful, but it handles most cases. If it struggles, turn the laptop’s brightness up, tilt the screen so there’s no glare, and press Ctrl and + a few times to make the code bigger.
This is also how WhatsApp Web and some other apps log you in. The laptop only displays the code, and the scanning happens in the app on your phone, under linked devices.
Use Google Lens in Chrome. Right-click an empty part of the page, choose the Google Lens option, and select the code. Lens reads the code and puts the link in a panel on the right. Any code you can see in the browser works, even one embedded in a picture, and the steps are identical on Windows, Mac and Linux. One thing to know: the area you select is sent to Google so it can be read.
If the code is printed on paper
Your webcam can handle it too, though there are two catches.
Some versions of the Windows Camera app include a barcode or QR mode, which shows up next to Photo and Video. When that mode is there, switch to it, hold the code up to the lens, and the link comes up on screen. If you don’t see that mode, your version doesn’t have it.
The other route is a browser-based scanner site. It asks for permission to use your camera, then reads whatever you hold up. These work, but you’re giving a website your webcam, so stick to a site you already trust and shut the tab when you’re done. The AllTools4U QR Scanner is one option. It can scan with your webcam or read an image file, all in your browser.
Many laptop webcams have a fixed focus, which means they can’t sharpen on something held close. If the code stays blurry, move it further back than feels natural. Good light helps more than anything else.
For a printed code, though, your phone will save you the trouble.
Which method fits
| Method | Best for | What you need | Watch out for |
|---|---|---|---|
| Phone camera | Codes shown on your screen | A phone | Glare and tiny codes |
| Google Lens in Chrome | Codes on a page or in an image | Chrome and internet | The selected area goes to Google |
| Windows Camera app | Printed codes | A webcam and a version with barcode mode | Missing on some versions |
| Browser-based scanner site | Printed codes | Webcam and camera permission | Only use a site you trust |
| Browser extension | Scanning a lot | An extension in Chrome or Edge | Read the permissions first |
If it won’t scan
- Make the code larger on screen. A small code on a high-resolution display is harder to read than it looks.
- Clean the webcam lens. Fingerprints blur more than you’d think.
- Hold the printed code flat and still. A curled or creased page can break the pattern.
- Check the colours. Some readers can’t handle light squares on a dark background, so switch off dark mode if the code sits in a dark page.
- Move the code away from the lens if the picture stays soft.
- Try a different method from the table before you decide the code is broken.
Check the link before you open it
A QR code can lead anywhere, and on a laptop it’s easy to click through without looking. Read the full address first. A page that asks for your password right after a scan deserves suspicion, particularly when it claims to be your bank. And be wary of any website that wants camera access when you didn’t ask it to scan anything.
Extensions need the same attention. A QR reader that wants permission to read every site you visit is asking for more than it needs.
TRY THE TOOLQR ScannerScan and decode QR codes instantly.