QR Penguin

How to Scan a QR Code on a Laptop

Sign up to save QR Codes and create up to 2 Dynamic QR Codes completely free

By the QR Penguin team · Updated

Yes, you can scan a QR code on a laptop or a desktop computer, whether the code is printed on paper in front of you or showing on the laptop's own screen. Here are the steps for Windows, for a Mac or MacBook and for Google Chrome, plus a reader below that works in your browser without installing anything.

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:

  1. Select Start, type Camera and open the Camera app.
  2. Select the Barcode button on the right-hand side of the app.
  3. Hold the code in front of the webcam until it's in focus; the app scans it by itself.
  4. 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

Yes. Hold a printed code up to the webcam in the Windows Camera app, or use a browser tool that reads the camera or a picture. For a code on your own screen, take a screenshot and open it in Google Lens or the reader on this page.

Open the Camera app from the Start menu, select the Barcode button on the right-hand side, and hold the code in front of the webcam until it's in focus. The link appears at the bottom of the app; select it to open the website.

Apple's Mac help doesn't describe a QR scanner in the Mac's own apps. In Chrome or Safari on a Mac, the reader on this page can use the FaceTime camera or read a screenshot. Google Lens in Chrome also reads codes that appear on web pages.

If it's on a web page in Chrome, right-click the code and choose Search with Google Lens. Otherwise take a screenshot and paste or drop it into a reader, or simply point your phone's camera at the screen.

Many webcams have fixed focus and blur anything held very close. Hold the code about a hand's width away, keep it flat and still, and add light from in front rather than behind it. A larger printed code helps too.

Right-click the code on the web page and choose Search with Google Lens; a side panel reads it and shows the link. For a code in a PDF or an app, take a screenshot first, then upload it at google.com with the Search by image button.

Make your own QR code

Free with no sign-up: add your link, pick colors, a logo or a frame, and download it.

Related pages

All QR code guides
A black and white QR code that opens this guide, to screenshot and read back for practice
Loading A black and white QR code that opens this guide, to screenshot and read back for practice

How to Scan a QR Code From a Screenshot

Scan a QR code from a screenshot on Android, iPhone or a computer without a second phone, with Google Lens or our reader.
A plain black and white QR code that opens this guide, a test picture to drop into the image scanner
Loading A plain black and white QR code that opens this guide, a test picture to drop into the image scanner

QR Code Scanner From Image

Use a free QR code scanner from image: read a photo or screenshot in any browser with no upload, or with Google Lens on a phone.
A black and white QR code that opens this guide, for practicing a scan with iPhone
Loading A black and white QR code that opens this guide, for practicing a scan with iPhone

How to Scan a QR Code on iPhone

Scan a QR code on iPhone with the Camera app or the Scan Code control, read one in a photo, and fix one that won't scan.
A plain black and white QR code that opens this troubleshooting guide
Loading A plain black and white QR code that opens this troubleshooting guide

QR Code Not Working? How to Find and Fix It

Fix a QR code not working: check the phone, the printed code and the link inside it, with a fix for each cause.
A navy QR code with bold square corner frames around rounded centers, in a navy frame that says Join the call
Loading A navy QR code with bold square corner frames around rounded centers, in a navy frame that says Join the call

Zoom QR Code Generator

Make a Zoom QR code that joins a meeting in one scan. Copy the invite link, check the passcode is embedded, and download the code.
A black and white QR code that opens this guide to making QR codes in Chrome and Edge
Loading A black and white QR code that opens this guide to making QR codes in Chrome and Edge

How to Make a QR Code in Chrome or Microsoft Edge

Make a QR code in Chrome or Edge for the page you're on, with steps for computer, Android and iPhone, and when to use a generator.

QR Penguin isn't affiliated with or endorsed by Apple, Google, or Microsoft. Apple, Google, and Microsoft are trademarks of their owners.