QR Code Guides · 12 min read

How to Scan a QR Code on a Laptop or PC: 4 Ways That Work

By Toolsque Team · July 28, 2026 · Updated October 31, 2026

Yes, a computer can scan a QR code, whether it is a laptop, a desktop PC or a Mac, and you do not need to install anything to do it. There are four ways that work, and the right one depends on where the code is: on your screen, on paper, or somewhere you need the link to end up on your phone instead. This covers all four on Windows, Mac and Chromebook.

Need to scan a QR code right now? Use the scanner just below: it reads a code straight from your screen, from your webcam, or from an image you drop or paste. For more options, the full online QR code scanner also checks the link and reads WiFi codes. No camera, no install.

Scan a QR code on this laptop or PC
Read a code on your screen without a screenshot, hold one up to your webcam, or drop an image. Everything runs in your browser; nothing is uploaded.
Or drop an image here, or press Ctrl+V (Cmd+V on a Mac) to paste a screenshot.
Looking for a QR code...

Can a computer scan a QR code at all?

It can. People assume it cannot because laptops never made QR codes as easy as phones did, and the built-in options are patchy. The Windows Camera app has a Barcode mode on some versions, and newer versions of the Windows Snipping Tool can read a QR code in a screenshot. A Chromebook's Camera app has a Scan QR code mode, but only through the camera. A Mac has nothing built in. What every laptop does have is a browser, and a browser can read a QR code two ways: from an image file, or from a live webcam feed. Both work well, and neither one needs a download or an account.

Method 1: use the webcam your laptop already has

Most laptops built in the last ten years have a webcam above the screen. It is a weaker camera than the one on your phone, but a QR code is a high contrast pattern and a webcam handles that fine at about 20cm away. No webcam at all? Your phone will do it in a second, and how to scan a QR code on your phone has the steps for iPhone and Android.

Open a browser based scanner, allow camera access when the browser asks, then hold the printed code up to the webcam. Keep it flat and hold it still. Webcams focus slowly compared to a phone, so give it two or three seconds before you decide it is not working.

This is the method for codes on paper: a business card, a poster, a parking sign, a menu, a letter from your bank.

Some machines let you skip the website. A Chromebook's Camera app has a Scan QR code mode, and on Windows versions that have it, the Camera app's Barcode mode does the same job.

Two things stop it. Plenty of desktop PCs have no webcam at all. And on Windows, either a physical privacy shutter or the setting under Settings, Privacy and security, Camera can block browser access while the hardware itself is perfectly fine. If the browser says it cannot find a camera, check that setting before you blame the laptop.

Method 2: upload the image or a screenshot

When the code is already on your screen, inside an email, a PDF, a booking confirmation or a web page, using the webcam is the long way round. Capture the code as an image and read the image instead.

If the code is a picture on a web page, right click it and choose Save image as. That is one step. If it sits inside a PDF viewer or an app where right click does nothing useful, take a screenshot of that part of the screen.

Then open our scan a QR code without a camera tool and drop the file in. Decoding happens inside your own browser, so the image never gets sent anywhere.

This is the fastest option for anything already on screen, and it is the only one that works if your machine has no camera at all.

Screenshot shortcuts for Windows, Mac and Chromebook

  • Windows 10 and 11: press Win + Shift + S and drag a box over the QR code. On recent Windows 11 versions the Snipping Tool may spot the code and offer to open the link. If it doesn't, paste the capture straight into the scanner or find it in your Pictures folder.
  • Mac: press Cmd + Shift + 4 and drag over the code. The image lands on your desktop.
  • Chromebook: press Ctrl + Shift + Show Windows, which is the key shaped like a rectangle with two lines beside it. Pick the area and the capture saves to Downloads. Our Chromebook guide walks through the rest.

Crop reasonably tight around the code. Extra page content around it will not stop the decode, but a tight crop helps a lot when the code is small on screen to begin with.

Method 3: right click and send it to Google Lens

In Chrome there is a shortcut hiding in the right click menu. Right click the QR image and choose Search with Google Lens. A panel opens on the right side and reads the code, usually showing you the link within a second or two.

It is quick, but two catches are worth knowing. It uploads the image to Google, so it is not the private choice. And it only shows up when the code is a real image on the page. It does nothing for a code inside a PDF viewer, or for a screenshot you have not saved yet.

Method 4: point your phone at the laptop screen

Obvious, and people still forget it. Open the camera app on your phone and point it at the code on your laptop screen. Phone cameras read screens without any trouble as long as the code is big enough and your brightness is turned up.

Use this one when the link needs to end up on your phone anyway. Login codes, WiFi codes, app downloads and boarding passes all fall into that group. Scanning them on the laptop just leaves you retyping something later.

If it will not catch, raise the screen brightness. A dim screen plus a glossy finish is the usual reason, not the phone.

How to scan a QR code on a Mac or MacBook

A Mac has no QR scanner built in, but every method above works on it. Pick by where the code is:

  • On your screen: press Cmd + Shift + 4, drag over the code, and drop the screenshot from your desktop into our QR code decoder.
  • An image on a web page, in Chrome: right click it and choose Search with Google Lens.
  • On paper: open a browser based scanner and hold the code up to your MacBook's built-in camera, about 20cm away.
  • You want the link on your iPhone: point the iPhone camera at the code, or at your Mac's screen.

Which method should you pick?

  • Code is on your screen and you want the link on your laptop: save or screenshot the image, then upload it.
  • Code is printed on paper: hold it up to the webcam.
  • Code is on your screen but you want the link on your phone: point your phone at the screen.
  • Code is a plain image on a web page and you are in a hurry: right click, then Search with Google Lens.
  • No camera anywhere and the code is on paper: ask someone to photograph it and send it to you, then upload that photo. Slightly blurry photos still decode as long as all three corner squares are visible.

Do you need a QR scanner app for a laptop?

No, and most of the ones in the Microsoft Store and the Chrome Web Store are worth skipping. Reading a QR code is a small, well solved job. Anything that wants install rights, access to your browsing history, or a monthly fee to do it is charging you for something a web page already does for free.

The one real exception is scanning codes all day as part of a job, such as warehouse stock or ticket entry. There a proper handheld scanner that types the result like a keyboard beats every method on this page.

How to connect a laptop to WiFi using a QR code

The QR codes printed on routers and cafe walls hold the network name and password as plain text. Scan one with a general scanner and you get a raw string like WIFI:T:WPA;S:NetworkName;P:password123;;, which is correct but awkward to read.

  1. Get the code onto the laptop: save the image, take a screenshot, or photograph the router sticker with your phone and send the photo to yourself.
  2. Open the WiFi QR decoder and upload the image. It shows the network name, the security type and the password.
  3. Click the WiFi icon on the Windows taskbar or the Mac menu bar, pick that network and type the password.

If a phone is already connected to the network, you can skip the scan. On most Android phones, open the WiFi settings and tap Share: the password is shown under the QR code, ready to type into the laptop.

To pull the parts out cleanly, use our WiFi QR decoder. It separates the network name, the security type and the password so you can type them into another device. If you want to understand what that string is actually saying, our WiFi QR code format guide breaks it down field by field.

How to share your laptop's WiFi with a phone using a QR code

This is the other direction: the laptop is already on the network and a phone needs to join. Phones scan a WiFi QR code with the normal camera app, so the job is to get a code onto the laptop screen.

  • Any laptop: open the WiFi QR code generator, type the network name and password, and point the phone camera at the code on screen. The phone offers to join the network.
  • Windows 11: go to Settings, Network and internet, Wi-Fi, then the properties of your network. On recent updates, View Wi-Fi security key shows the password and a QR code the phone can scan. If your version shows only the password, put it into the generator above.
  • Mac: open System Settings, Wi-Fi, choose Details next to your network, and copy the password (macOS asks for your Mac password first). macOS shows no QR code, so paste the password into the generator.

The code holds the password in plain text, so show it only to people you would tell the password to. For a code to leave on a fridge or a rental welcome sheet, see share WiFi with guests using a QR code.

Is scanning this way safe?

Safer than a phone camera scan, in fact, because you get to read the link before anything opens. A phone often jumps straight to the page. On a laptop you see the destination first and decide.

Our safe QR code scanner shows you exactly where a code points, flags link shorteners and redirects, and waits for you before opening anything. Worth using for codes on posters, parking meters and anywhere else a sticker could have been placed over the real one.

Frequently asked questions

Can I scan a QR code from a website without screenshotting it?

Yes. Press Scan my screen in the scanner near the top of this page and share the window or tab that shows the code: it is read straight from the screen. You can also right click the QR image and choose Save image as, or in Chrome choose Search with Google Lens.

Why will my laptop webcam not read the code?

Usually one of three things. The code is too close, so hold it around 20cm back. The webcam has not finished focusing, so hold still for a few seconds. Or camera access is blocked, either by a privacy shutter on the lid or by the camera permission in your system settings. Check the browser address bar for a blocked camera icon.

Can I scan a QR code inside a PDF?

Yes. Drop the PDF on the PDF QR code reader: it searches every page and finds each code, with no screenshot needed. You can also press Scan my screen above while the PDF is open.

Does Windows 11 have a built in QR code scanner?

Partly. The Camera app has a Barcode mode on some versions, and newer versions of the Snipping Tool can read a QR code in a screenshot and offer to open the link. Neither is on every PC, so the reliable route is still a browser based scanner, using either the webcam or an uploaded image.

How do I scan a QR code on a Mac?

Press Cmd + Shift + 4, drag over the code and upload the screenshot to a QR decoder. macOS has no scanner of its own, so that, Google Lens in Chrome, or your iPhone camera are the quick routes.

Can I scan a QR code on a Chromebook without a camera?

Yes, and this is the most common no camera case of the lot. Screenshot the code with Ctrl + Shift + Show Windows and upload it to the scanner. No extension and no Android app required. Our Chromebook guide covers it step by step.

Does any of this work offline?

Once the tool page has loaded, the decoding runs entirely in your browser, so losing your connection part way through does not break it. Opening the link it gives you obviously still needs a connection.

Related: all QR code tools

Something did not scan? Report a bug. Changelog: 31 October 2026, added the on-page scanner (scan your screen, webcam or an image), a section on sharing a laptop's WiFi with a phone, and the PDF reader.

Related guides

QR Code to Link: Get the URL Out of a QR Code Image Turn a QR code image or screenshot into a link you can copy and check before… How to Translate a QR Code in Another Language Scanned a QR code in a language you cannot read? Translate the page or the text… Scan a Location QR Code Online: See the Address and Map Pin Scan a location QR code from a photo, screenshot or camera. See the coordinates, place name…
About Toolsque
Every tool and guide here is built and tested by hand. QR codes follow ISO/IEC 18004 and barcodes follow the GS1 rules, and every reader is tested with real images and a real scanner before release. Read how we build and test.