How to Scan a QR Code on a Laptop
Sign up to save QR Codes and create up to 2 Dynamic QR Codes completely freeBy the QR Penguin team · Updated
On a Windows laptop or computer: the Camera app
Windows has a Camera app that, in Microsoft's words, can scan QR codes and barcodes through the laptop's built-in webcam or a plugged-in one. If yours has no Barcode button, use one of the other ways below. The steps from Microsoft's Camera app guide:
- Select Start, type Camera and open the Camera app.
- Select the Barcode button on the right-hand side of the app.
- Hold the code in front of the webcam until it's in focus; the app scans it by itself.
- Select the link that appears at the bottom of the app.
Hold the paper about a hand's width from the lens, flat and steady. Many laptop webcams have fixed focus, so moving the code much closer can make it blurrier, not bigger.
In your browser: the reader on this page
Scan a QR code from a picture
This tool needs JavaScript turned on. Or use one of the other ways on this page.
This reader can use the webcam: press Use the camera, allow access when the browser asks, and hold the code up to it. It can also read a picture you choose, drop or paste. The browser does the decoding itself, so no image or video leaves your laptop, and the camera switches off as soon as a code is found.
It works in Chrome, Edge, Firefox and Safari, on Windows as well as Mac and Linux. Where the browser has no barcode reader of its own, the page loads a small open-source decoder to do the same job.
When the code is on your laptop's screen
The webcam can't see its own display, so a code in an email, a PDF or a meeting invite needs a different route:
- On a web page in Chrome: right-click the code and pick Search with Google Lens. Lens reads it in a side panel, with the link to open. To search the whole visible page instead, open Chrome's More menu and choose Search this tab with Google Lens, as Chrome's Lens help describes.
- Anywhere else: take a screenshot, then paste it into the reader above, or upload it at google.com with the Search by image button.
- With your phone: often the fastest way. Point the phone's camera at the laptop screen; turn the screen brightness up if it struggles.
On a Mac or MacBook
Apple's Mac help doesn't describe a way to scan QR codes with the built-in camera, so on a Mac you need a browser tool or a phone. The reader above uses the FaceTime camera in Chrome or Safari. Or reach for your iPhone: its Camera app reads a code shown on the Mac's screen, and you can then send the link back to yourself by AirDrop, Messages or email.
Webcam scanning tips
- Light the code from the front. A bright window behind it turns it into a silhouette.
- Hold glossy cards at a slight angle so the screen's own glow doesn't reflect off them.
- Small codes on receipts or labels are hard for a webcam. Photograph them with a phone and drop the photo here.
- Codes printed in pale colors are hard for every camera, and a webcam's low resolution makes it worse. If you're the one designing the code, keep it dark on a light background.
Showing a code to other people's laptops
Running a meeting or a class where people scan from their laptops? Share the link in the chat as well as the code; a webcam is the least reliable scanner in the room. If you need a code for slides or a printed handout, make one with the free QR code generator, and give it a short, plain web address so that people who can't scan it can type it.
Frequently asked questions
Related pages
All QR code guidesQR Penguin isn't affiliated with or endorsed by Apple, Google, or Microsoft. Apple, Google, and Microsoft are trademarks of their owners.