How to Scan a QR Code on Windows 10 and 11 — featured illustration
Tutorials

How to Scan a QR Code on Windows 10 and 11

6 min read
Create a QR code

A client pastes a QR code into a Teams message. You are on a desktop tower with no webcam, and asking them to just send the link feels like admitting defeat. Windows has no single "scan a QR code" command, but there are four routes to the same answer, and at least one of them works on every PC.

Windows treats QR codes as an image problem

There is no system-wide scanner in Windows the way there is in a phone camera. What Windows gives you instead is a set of tools for capturing and handling images, plus a browser. A QR code is just an image that happens to encode text, so the job becomes: get the code into a file or a clipboard, then hand that file to something that decodes it.

That framing matters because it explains why the same four steps work for a code in an email, a code on a web page, a code on a printed invoice, and a code stuck to the side of a router. If you are new to the format itself, what is a QR code explains what is stored inside those black squares.

If your PC has a camera: check the Camera app first

The Camera app included with Windows supports barcode scanning on some hardware. Support depends on the camera driver, so it appears on certain laptops and tablets and not on others.

Open the Camera app and look through its available modes. If a barcode option is listed, select it and hold the printed code steady in the frame at a distance where it fills roughly a third of the view. If no such option exists, the feature is not available on that device and no setting will add it. Do not spend twenty minutes hunting for it. Move to the next method.

Two things help when the mode does exist: even lighting with no reflection across the code, and a camera that has actually focused. Many built-in webcams have fixed focus and a close minimum distance, so hold the code farther back than feels natural.

Capture what is on screen with Snipping Tool

For a code displayed inside another app, a screen capture is the cleanest starting point.

Press Windows-Shift-S. The screen dims and the pointer becomes a crosshair. Drag a box around the code, leaving a bit of white space on all four sides rather than cutting tight to the edges. That margin is part of the specification and decoders rely on it. The capture goes to your clipboard, and a notification lets you open it in Snipping Tool to save it as a file.

Microsoft keeps adding recognition features to the screenshot and image tools, so it is worth checking whether the version on your machine offers to act on the captured code directly. Treat that as a bonus rather than the plan. The reliable move is to save the capture and decode the file.

Decode the saved image in the browser

This is the method that never fails for hardware reasons. Open a QR code reader in Edge, Chrome, or Firefox and give it the image. Most readers accept three inputs: a file chosen from disk, a file dragged onto the page, and a straight paste from the clipboard. That last one means a Windows-Shift-S capture can be decoded without ever touching your Downloads folder.

The reader prints the decoded text rather than opening it, which is exactly what you want when you did not create the code yourself. Our walkthrough on how to scan a QR code from a picture covers the upload flow and what makes an image easy or hard to read.

This same route handles a printed code with no camera involved. Photograph it with your phone, send the photo to yourself, and upload the file on the PC.

Right-click the code in Edge or Chrome

When the code is on a live web page, both browsers can send the image to a visual search service. Right-click the code and look for the entry that offers a Lens or visual search on the image. The label has changed several times across releases, so read the menu rather than hunting for exact wording. The service recognizes QR codes and hands back the link.

The Photos app has a related trick on newer builds, offering a visual search action on an open image that passes it to Bing. Photos is also the fastest place to clean up a capture before decoding it: crop away the surrounding page, straighten a photo taken at an angle, and bump the contrast if the code was printed lightly.

Both of these upload the image to a third party. Fine for a marketing link. Not what you want for a code holding a Wi-Fi password. For those, keep the decoding local or use a reader that processes the image in your browser.

When the code refuses to decode

Work through the likely causes rather than trying random apps. A capture cropped too tightly removes the quiet zone. A crop that clips one of the three large corner squares removes a finder pattern, and all three are required. Screenshots scaled down to a small size lose the module edges the decoder needs, so recapture at full size instead of shrinking. Photos of a glossy screen pick up reflections that flatten contrast in exactly the wrong place.

Damaged printed codes are a separate case with a known limit. Error correction can recover roughly 7%, 15%, 25%, or 30% of a damaged code depending on the level it was generated with. Beyond that, the data is gone. If the code is one you produced and scans are failing in the field, QR code not working sorts the causes by how often they turn out to be the problem.

Connecting a Windows laptop to Wi-Fi from a code

A common reason people end up scanning on a PC: the router sticker or the guest card carries a Wi-Fi code, and phones join from it in one tap while Windows offers nothing. Decode the image in a browser reader and you get a plain string listing the network name, the security type, and the password. Type those into the Windows network dialog manually.

If you are the one making the card for guests, a Wi-Fi QR code generator builds that string correctly, including the escaping rules for passwords containing semicolons or backslashes, which is where hand-typed versions usually break. Print it at a size someone can scan from arm's length and tape it where the router already is.

Share this article