How to Scan a QR Code on Your Mac Screen
macOS has no scanner app for a QR code that’s already on your screen, so most people end up pointing their phone at the display. To do it without your phone, freeze the screen with Nab, hover the code and click it: a web link opens in your browser on the Mac, and anything else is copied.
The built-in ways
Your iPhone’s camera. Point the Camera app at your Mac’s screen and tap the banner that appears. It’s the answer you’ll find everywhere, and it works — but the link opens on your phone, not your Mac.
Safari. For a QR code that’s a picture on a web page, Control-clicking it can offer to open the link. People report this on recent macOS versions; Apple doesn’t document it, so it may not show up for every code.
Chrome. Right-click a QR code on a web page and choose “Search with Google Lens”. The Lens panel shows what’s in the code and a button to open it. The picture goes to Google to be read.
No dedicated scanner. macOS doesn’t come with an app that scans a QR code shown on your own display. Guides that promise one usually mean the webcam, which is for codes on paper, not on your screen.
Where they fall short
- The phone is awkward. You hold it up to your own screen, wait for it to focus, and then the link opens on the wrong device. Getting it back to the Mac means sending it to yourself.
- The browser tricks only work on web pages. A QR code in a PDF, an email attachment, a slide in a Zoom call, a video or an app’s window isn’t a web-page image, so Safari and Chrome can’t help.
- Google Lens uploads the picture, which matters for codes that carry Wi-Fi passwords or login links.
What you need is something that reads whatever is showing on the display, the same way your eyes do.
With Nab
- With the QR code on screen, press ⌘⇧2.
- Hover the code — Nab outlines it — and click it. A web link opens in your browser; anything else is copied.
- Press Esc to unfreeze.
It works for codes anywhere on any of your displays: in a PDF, a slide someone is sharing, a paused video or a photo. Only links starting with http or https are opened; everything else is copied, so a code can’t launch anything you didn’t expect. The code is read on your Mac and nothing is uploaded.
Questions
What happens with QR codes that aren't web links?
Clicking the code copies what's in it, such as Wi-Fi details or plain text, so you can paste it anywhere.
Does it read barcodes too?
Yes. Nab finds QR codes and common barcodes on your screen; hover one and click it to open or copy what's in it.