Skip to content

How to Scan QR Codes on Windows PC

By Codexengr, QR Systems Engineer · Last reviewed

Scanning QR Codes on Windows PC

Windows PCs were not designed as QR scanners, but they manage fine with two approaches: the Camera app's barcode mode (where available) or a web-based QR scanner using your webcam.

Method 1: Windows Camera app

  1. Open the Camera app from the Start menu.
  2. Look for a barcode or QR mode in the app's options.
  3. Point your webcam (or connected camera) at the code.
  4. The decoded result appears — copy it or click through.

Not every Windows build includes the barcode mode. If yours does not, Method 2 is the reliable path.

Method 2: Web-based scanner (recommended)

  1. Open Edge or Chrome.
  2. Navigate to a web-based QR scanner served over HTTPS.
  3. Allow camera access when the browser asks.
  4. Hold the QR code up to the webcam.

This works on any Windows PC with a webcam and is generally more capable than the Camera app mode.

Webcam realities

Laptop webcams have small sensors and focus tuned for faces at arm's length — not for close-up codes. Counterintuitively, holding the code 30 to 50 cm away under bright light decodes better than pressing it against the lens. If the webcam will not cooperate, photograph the code with your phone and decode the photo in the web scanner instead.

Camera permissions

If the browser refuses camera access, click the camera icon in the address bar and set it to Allow. Also confirm the scanner page uses HTTPS — browsers block camera access on plain HTTP pages entirely.

Choosing the right camera

With both a built-in webcam and a USB camera connected, scanners may default to the wrong one. Switch the video source in the scanner's settings (or in Windows camera settings) to the camera actually pointed at the code.

Wi-Fi codes on Windows

Windows will not auto-join from a scanned Wi-Fi code the way phones do. The scanner shows you the network name and password — copy them into the Wi-Fi settings manually.

Where the scanner lives on this device

Built-in scanner: Camera app (barcode mode, where available).

How to reach it: Open the Windows Camera app and look for a barcode/QR mode, then point the webcam or connected camera at the code. If the Camera app lacks a QR mode, use a web-based QR scanner in Edge or Chrome with webcam permission.

Common failure modes and fixes

Windows Camera app has no QR or barcode mode

Why it happens: The QR mode is not present in all Windows builds and Camera app versions.

Fix: Use a web-based QR scanner in Edge or Chrome instead — grant the site camera permission and point the webcam at the code.

Webcam image is too dark or blurry for decoding

Why it happens: Built-in laptop webcams have small sensors and fixed focus tuned for faces, not close-up codes.

Fix: Hold the code 30 to 50 cm from the webcam under good light, or use a phone to photograph the code and decode the photo with a web scanner.

Browser will not let the web scanner access the camera

Why it happens: Camera permission was denied, or the page is not served over HTTPS.

Fix: Check the camera icon in the address bar and allow access. Use an HTTPS scanner page — browsers block camera access on insecure pages.

External USB camera is not picked up by the scanner

Why it happens: The browser or Camera app defaulted to the built-in webcam instead of the USB camera.

Fix: In the web scanner settings (or Windows camera settings), switch the video source to the USB camera before scanning.

What this guide covers in testing

  • URL QR codes (webcam)
  • Wi-Fi QR codes (credentials copied manually)
  • Plain-text QR codes
  • QR codes photographed with a phone, decoded on PC

Performance notes

Windows PCs scan QR codes through the Camera app barcode mode (where present) or, more reliably, through web-based scanners in Edge or Chrome. Laptop webcams are the weak link: small sensors and face-tuned focus make close-up codes hard to read. Holding the code further away under bright light works better than jamming it against the lens. For anything important, photographing the code with a phone and decoding the photo on the PC is the most reliable workflow.

Frequently asked questions

Does Windows have a built-in QR scanner?
The Windows Camera app includes a barcode/QR mode on some builds, but not all. The dependable route on any Windows PC is a web-based QR scanner in Edge or Chrome using your webcam.
Why is my laptop webcam so bad at scanning QR codes?
Laptop webcams have small sensors and focus tuned for faces, not close-up detail. Hold the code 30 to 50 cm away under bright light, or photograph the code with your phone and decode the photo on the PC.
The browser will not give the scanner camera access. Why?
Either permission was denied (check the camera icon in the address bar) or the page is not HTTPS — browsers block camera access on insecure pages. Allow the permission and use an HTTPS scanner page.
Can I use an external USB camera for scanning on Windows?
Yes. Connect it, then switch the video source to the USB camera in the scanner settings or Windows camera settings. USB document cameras often outperform built-in webcams for this.