Guide

How to scan a QR code on a computer

Open a QR code scanner in your browser and either hold the code up to your webcam or paste in a screenshot of it. On Windows, the built-in Camera app also reads QR codes. In Chrome, right-click an image and choose Search with Google Lens. None of these need any software installed.

How to do it

  1. 1

    Open the scanner in any browser

    Go to our QR code scanner in Chrome, Edge, Safari or Firefox.

  2. 2

    Paste, drop or use the webcam

    Paste a screenshot with Ctrl+V (Windows) or Cmd+V (Mac), drop in an image file, or allow the camera and hold the code up to it.

  3. 3

    Read what's inside

    The scanner shows the link, Wi-Fi details or text the code holds. Copy it, or click to open.

Pick the route by where the code is

The code is…Fastest route
On your screen (email, PDF, web page)Screenshot it to the clipboard and paste into the browser scanner
An image on a web page in ChromeRight-click it and choose Search with Google Lens
On paper, and your phone is nearbyUse the phone: iPhone or Android
On paper, and you only have the computerWebcam, through the browser scanner or the Windows Camera app

Most codes people need to scan on a computer are already on the screen, which is why the screenshot route comes first.

Screenshot to the clipboard, then paste

The trick is a screenshot that goes to the clipboard rather than a file:

  • Windows: press Windows key + Shift + S, drag a box around the code, then press Ctrl+V on the scanner page.
  • Mac: press Cmd + Ctrl + Shift + 4, drag a box around the code, then press Cmd+V on the scanner page. Without Ctrl, the Mac saves a file to your desktop instead, which you can drag onto the scanner.

The scanner reads the picture in your browser and doesn't upload it. It also pads the image with a white border, which rescues screenshots cropped tight against the code.

Windows Camera app

Microsoft's Camera app guide says it reads QR codes and barcodes with any webcam:

  1. Open Camera from the Start menu.
  2. Select the Barcode (QR code) button on the right side of the window.
  3. Hold the code in front of the webcam until it's in focus. The app scans it on its own.
  4. A link appears at the bottom of the app. Select it to open the site.

If the barcode button isn't there, the Camera app may need an update from the Microsoft Store, or you can use the browser scanner.

Mac and Chromebook

On a Mac, use the browser scanner with the FaceTime camera or a pasted screenshot, or Chrome's Lens. If there's a phone nearby, its camera is usually quicker than any webcam for a printed code.

On a Chromebook, the Chrome routes above work as they do anywhere, and many Chromebooks also have a scan mode in the ChromeOS Camera app.

Getting a webcam to read a printed code

Laptop webcams are made for faces at arm's length, and many have fixed focus. When one won't lock on:

  • Move the code slowly toward and away from the camera until the squares look sharp in the preview.
  • Turn on a lamp; webcams get grainy in dim rooms.
  • Tilt glossy paper to get rid of the reflection.
  • For a code on a phone screen, turn the phone's brightness up.

If it still won't read, take a photo with your phone and drop the photo onto the scanner. Codes that fail on every device have a fault of their own, covered in why is my QR code not working.

Codes that arrive by email on a work computer are a favorite of QR phishing, because a picture of a code can slip past filters that check links. Read the address the scanner shows before you click; what is quishing has the common tricks.

Written by Last updated