A printed QR code in a wooden stand beside a laptop, ready to hold up to its webcam

A computer reads QR codes as well as a phone does, it just hides the option. There are two cases. A printed code, on a letter, a parcel or a badge, is read through the webcam. A code that already sits on your screen, in an email, a PDF or a web page, cannot face the webcam, so you read it from a screenshot.

Our webcam QR code scanner covers the first case and the image scanner covers the second. Both run in the browser and decode the code on your own computer. The sections below also show the tools built into Windows, macOS, ChromeOS and Chrome. For phones, see the general scanning guide.

Scan a QR code with your webcam

This works on any laptop with a built-in camera, and on a desktop with a USB webcam.

  1. Open the scanner

    Open the online QR code scanner in Chrome, Edge, Firefox or Safari.

  2. Allow the camera

    Click Allow when the browser asks to use the camera. The video stays on your computer and nothing is recorded.

  3. Hold the code up

    Hold the printed code 20 to 40 cm (8 to 16 in) from the webcam, flat and still, so it fills about a third of the video.

  4. Read the result

    The scanner shows the full text of the code with a copy button, and an open button for a link. Read the address before you open it.

Laptop webcams have a fixed focus and a wide lens, so a code held too close turns blurry. If nothing happens after a few seconds, move the code back a little and turn on a lamp in front of you, not behind.

Scan a QR code that is already on your screen

A code in an email, a PDF, a slide or a web page is read from a picture of it. Take a screenshot, then give that picture to the QR code image scanner: choose the file, drag it in, or paste it straight from the clipboard.

SystemScreenshot of an areaWhere it goes
Windows 10 and 11Windows + Shift + SClipboard, ready to paste with Ctrl + V
macOSCommand + Control + Shift + 4Clipboard, ready to paste with Command + V
macOSCommand + Shift + 4A file on the desktop
ChromeOSCtrl + Shift + Show windowsA file in Downloads, and the clipboard

In Chrome on a computer, Google Lens can do the same without a screenshot. Right-click an empty spot on the page, choose the Google Lens search option, and drag a box around the code. A panel opens with the link it holds.

A QR code shown on a web page on a desktop monitor, ready for a screenshot

Scan a QR code on a Windows PC

Recent versions of the Windows 11 Camera app include a barcode mode that reads QR codes. Open Camera and look for Barcode next to Photo and Video. When it reads a code, a banner shows the text or the link. If your Camera app has no such mode, update it from the Microsoft Store, or use the browser scanner, which works on Windows 10 as well.

For a code on the screen, Windows + Shift + S and a paste into the image scanner is the quickest route. The Snipping Tool copies the selection by itself, so there is no file to save.

Scan a QR code on a Mac

Photo Booth and FaceTime show the camera but do not read codes, so a Mac needs the browser. For a printed code, open the webcam scanner in Safari or Chrome and allow the camera. For a code on the screen, press Command + Control + Shift + 4, select the code, and paste it into the image scanner.

If an iPhone is close by, its camera is often faster for printed codes. The iPhone scanning guide shows the camera and the Code Scanner in Control Center.

Scan a QR code on a Chromebook

The Camera app on a Chromebook has a Scan mode. Open Camera, choose Scan, and point the camera at the code. A link or a line of text appears at the bottom, ready to open or copy. On older models without the mode, the browser scanner does the same job.

A phone camera scanning a QR code shown on a laptop screen

Webcam not reading the QR code? Try these fixes

  • The browser never asked for the camera: click the camera or lock icon in the address bar and set the camera to Allow, then reload.
  • Another app holds the camera: close Teams, Zoom or the Camera app, then reload the scanner.
  • The image is blurry: move the code back to 30 or 40 cm. A fixed-focus webcam cannot focus up close.
  • Glare on a glossy code: tilt the paper a little and light it from the side.
  • A code on a phone screen: turn the brightness up and hold the phone still, a little farther away than paper.
  • Still nothing: take a photo of the code with any device and use the image scanner.

Check the link before you open it

A scan on a computer has one advantage: the whole address is in front of you on a large screen. Read the domain before you click, and be wary of a code that asks you to log in, pay or download a file. Our guide to QR code scams shows the tricks to look for.

Questions about scanning QR codes on a computer

A code that will not scan or a type you are missing? We answer every message.

Ask a question
A phone showing a QR code beside a laptop with an empty image upload box on screen

Can I scan a QR code on my laptop without a phone?

Yes. Open a browser scanner and hold the printed code up to the webcam, or take a screenshot of a code on your screen and give it to an image scanner. Neither needs an app or a phone, and both work on Windows, macOS and ChromeOS. The code is decoded in the browser.

How do I scan a QR code on my PC screen?

Press Windows + Shift + S, select the area with the code, then paste it with Ctrl + V into an image scanner. The scanner reads the picture and shows the link or the text. In Chrome you can also right-click the page and use Google Lens to select the code.

Does Windows have a built-in QR code scanner?

Recent versions of the Windows 11 Camera app have a barcode mode that reads QR codes through the webcam. If you do not see it, update the app from the Microsoft Store. On Windows 10, or for a code already on the screen, use a browser scanner or a screenshot instead.

How do I scan a QR code on a Mac?

Open a browser scanner in Safari or Chrome and allow the camera for a printed code. For a code on the screen, press Command + Control + Shift + 4, select it, and paste the screenshot into an image scanner. Photo Booth and FaceTime use the camera but do not read codes.

Is it safe to scan a QR code on a computer?

Scanning itself only reads text, so nothing installs or runs. The risk is the link inside. A computer shows the full address on a large screen, which makes a fake domain easier to spot. Do not log in, pay or download a file from a code you were not expecting.