How to scan a QR code on a computer or laptop

Scan QR codes on Windows, Mac and Chromebook: use your webcam, read a code on your screen with Google Lens, or let your phone do the work.

Add LearnQRCode as a preferred source on Google
A laptop on a desk with a webcam and microphone set up
Photo: Антон Пищулин, CC BY-SA 4.0, via Wikimedia Commons.

Quick answer

  • Windows: open Camera, select Barcode and hold the code up to the webcam. Chromebook: Camera > Scan > QR code.
  • Code on your screen: in Chrome, right-click the image and choose Search with Google Lens.
  • Mac: no QR mode in the camera, so use Google Lens in Chrome or your iPhone.

Scan on a computer

  1. 1Windows: Camera, select BarcodeHold the code up to the webcam
  2. 2Chromebook: Camera, Scan, QR code
  3. 3On screen: Search with Google LensRight-click the image in Chrome
  4. 4Mac: scan with your phone
Scanning a QR code: point the camera, check the link preview, then open itLink foundlearnqrcode.com1 · Point the camera2 · Check the link3 · Open it
The same three steps work on iPhone, Android, tablets and computers with a camera.
In this guide
  1. Which method should you use?
  2. Windows: Camera app barcode mode
  3. Chromebook: Camera app scan mode
  4. Mac: what works
  5. Any computer: read a code on your screen
  6. The phone-as-scanner workaround
  7. Troubleshooting
  8. Stay safe on desktop too

The method depends on your operating system and where the code is: printed (hold it up to a webcam) or already on your screen.

Which method should you use?

Your situation Best method
Printed code, Windows laptop Windows Camera app in Barcode mode
Printed code, Chromebook Chromebook Camera app, Scan > QR code
Printed code, Mac Scan it with your phone instead
Code on your screen, any computer Google Lens in Chrome (right-click the image)
No webcam, no Chrome Scan the screen with your phone

Windows: Camera app barcode mode

  1. Open Camera from the Start menu.
  2. Select the Barcode button on the right-hand side.
  3. Hold the QR code in front of your webcam; it scans automatically.
  4. Select the link that appears at the bottom to open it.

Wi-Fi codes open Settings, where you confirm joining the network.

No Barcode button? Update the Camera app from the Microsoft Store and install pending Windows updates.

Webcam tip: laptop webcams have fixed focus and low resolution. Start about a forearm’s length away, move closer slowly, and use good front lighting.

Chromebook: Camera app scan mode

  1. Open Camera from the Launcher.
  2. At the bottom, choose Scan, then QR code.
  3. Hold the code in front of the camera.
  4. Open the link or copy the text that appears.

Pointing the viewfinder at a code without switching modes can also work, but QR code mode is most reliable.

Mac: what works

The built-in Mac camera apps have no QR mode. Your options:

  1. Use your phone for printed codes, then share the link to your Mac (AirDrop, Messages or email).
  2. Use Google Lens in Chrome for on-screen codes (below).
  3. Install a scanner app from the Mac App Store; check reviews and permissions first.

Any computer: read a code on your screen

  1. If the code is in a file, drag the image into Chrome.
  2. Right-click the code and choose Search with Google Lens.
  3. Click the link in the side panel.

For a code inside a PDF, right-click an empty part of the page, choose the Google Lens option, and drag a box around the code.

  • Google says the option requires Google as Chrome’s default search engine.
  • The image is sent to Google, so avoid this for sensitive codes such as two-factor setup codes.

More options: scanning a QR code from a screenshot or photo.

The phone-as-scanner workaround

  1. Open the code full-screen and raise the brightness.
  2. Point your phone’s camera at the monitor; tilt slightly if you see glare or stripes.
  3. Tap the link on your phone, or send it back to your computer.

Step-by-step guides: iPhone and Android.

Troubleshooting

  • Webcam can’t focus: move the code further away.
  • Reads on phone but not webcam: the webcam’s resolution is too low for a small or dense code; use the phone.
  • Lens option missing: update Chrome, set Google as default search engine; work or school devices may have Lens disabled.
  • Won’t read anywhere: the code may be damaged. See our QR code troubleshooting checklist.

Stay safe on desktop too

A code on a computer screen moves you to your phone, where the address is harder to inspect. Be cautious with unexpected emails asking you to “verify your account” or “pay now”. See our guide to QR code scams.

Frequently asked questions

Can I scan a QR code with my laptop camera?
Yes on Windows and Chromebook, which have QR scanning in their built-in Camera apps. On a Mac, the built-in camera apps don't read QR codes, so use your phone or an image tool such as Google Lens.
How do I scan a QR code on my computer screen?
Right-click the code in Chrome and choose Search with Google Lens, or point your phone's camera at the screen. Both work on Windows, Mac and Chromebook.
How do I open a QR code on my computer without a camera?
Use Google Lens in Chrome on the image, or take a photo of the code with your phone and send the link to your computer.
Do I need to install software to scan QR codes on Windows?
Usually not. The Windows Camera app includes a barcode mode that reads QR codes. You only need extra software for features like batch scanning.

Sources

  1. How to use the Windows Camera app (Microsoft Support)
  2. Use camera features on your Chromebook (Chromebook Help)
  3. Search with Google Lens in Chrome, Computer (Google Chrome Help)
  4. Scan a QR code with your iPhone or iPad (Apple Support)