Skip to content

How to Scan a QR Code on Mac: Every Method, Ranked

By Eduard Bruch, developer of Optic · Updated

How you scan a QR code on a Mac depends on where the code is: on your screen (a Zoom slide, a web page, a PDF, a 2FA setup page), in a screenshot or image file, or printed on paper in front of you. Each case has a different best method, and some need no app at all.

Short answer: for a code that is already on your Mac screen, my pick is Optic: click it in the menu bar, choose Capture QR Code, drag a box around the code and its content is on your clipboard ($4.99, a one-time purchase). With no app installed, point your iPhone's Camera at the Mac screen. For a printed code, use your phone, or a webcam app such as QR Capture.

Disclosure: I build Optic. Third-party details checked 2026-10-10 from each vendor's own page or App Store listing.

Which method for which situation

Situation Method Needs
Code on your Mac screen (our pick) Optic: Capture QR Code, drag a box Optic, $4.99, a one-time purchase
Code on your Mac screen, no app installed, iPhone at hand iPhone Camera pointed at the screen An iPhone, nothing on the Mac
Code in a screenshot or image file on the Mac Open it in Preview, then Optic (or try Live Text first) Optic, or nothing
Code on an image in a Chrome tab Google Lens in Chrome, or Optic Chrome (uploads the image to Google), or Optic
Printed code, no phone Mac webcam with a webcam QR app such as QR Capture A camera QR app
Code you want to keep for later Optic's history (last 20 captures) Optic
A barcode on a product (EAN/UPC) Your phone, or a scanner app that supports 1D barcodes Not Optic: it reads 2D codes only

Method 1: Optic, for codes on your Mac screen (our pick)

Optic is a menu bar app that reads QR, Micro QR, Aztec, Data Matrix and PDF417 codes from any area of the screen and copies their content to the clipboard.

  1. Click the Optic icon in the menu bar and choose Capture QR Code.
  2. Drag a box around the code. A loose box is fine; Optic pads the selection so a tight box works too.
  3. The decoded content is on your clipboard. Paste it with Command-V. If it is a link, you can open it from Optic's history with one click.

It works on any app and any connected display: a Zoom or Teams screen share, a slide, a PDF in Preview, an authenticator setup page, a web page. Recognition runs on the Mac with Apple's Vision framework and the app has no network access. With "Auto-detect QR codes alongside text" on (the default), a normal text capture that contains a QR code copies the code's content instead of the text. More: QR code reader for Mac.

Limits: Optic reads what is on screen, so it does not use the camera and does not open files. It does not read 1D barcodes (EAN, UPC, Code 128).

Get Optic on the Mac App Store

Method 2: Your iPhone's Camera (built in, free)

If your iPhone is nearby and you do not want to install anything on the Mac, this is the built-in answer.

  1. Open the Camera app on your iPhone.
  2. Point it at the QR code on your Mac screen and hold still.
  3. Tap the link banner that appears.

Downsides: the link opens on the phone, not on the Mac, and copying a long code (a Wi-Fi password, a 2FA secret, a crypto address) back to the Mac is awkward. Screen glare and moiré sometimes need a slightly different angle.

Method 3: Screenshots and image files on the Mac

If the code is in a screenshot or image file:

  1. Open the file in Preview (double-click it, or select it and press Space for Quick Look).
  2. Try macOS first: on recent macOS versions, Live Text may offer the link when you hover over or Control-click the code. Apple's Preview guide does not document QR codes, so whether you see this depends on your macOS version.
  3. If nothing appears, use Optic's Capture QR Code on the open image.

If the screenshot is still on your iPhone, Apple's Photos app on the iPhone can read it there. More: scan a QR code from a screenshot on Mac.

Method 4: Google Lens in Chrome

If the code is an image in a Chrome tab, Control-click it and choose to search the image with Google Lens; Lens shows the code's link. This sends the image to Google, so skip it for anything private, such as 2FA setup codes.

Method 5: A printed code and your Mac's webcam

macOS does not include a camera QR scanner that we know of, so a printed code needs an app. QR Capture is a free Mac App Store app whose listing says it scans QR codes from the screen, the clipboard, files or a camera, including a Mac webcam or an iPhone used as a camera; camera scanning has a 7-code limit that an in-app purchase removes (App Store listing, checked 2026-10-10). Built-in FaceTime cameras have a fixed focus, so hold the code at a distance where it looks sharp.

Method 6: Other Mac apps that read QR codes on screen

  • qr-scanner (by andrewmkhoury on GitHub): a free, open-source menu bar app (Apache 2.0, macOS 11 or later) that scans QR codes on screen, with a manual area selection and a "Smart Mode" (GitHub README, checked 2026-10-10).
  • TextSniper, TRex, Shottr, CleanShot X and OwlOCR are screen OCR or screenshot apps whose own pages say they read QR codes as well. If you already own one, use it. Comparison: best screen OCR apps for Mac. All QR scanner apps for a MacBook or Windows laptop side by side: QR code scanner for Mac and laptops.

Safety: check before you open

A QR code is just a link or a piece of text. Before opening a link from a code, read it: Optic copies the content first, so you can paste it and look at the address before visiting it. Be careful with codes in unsolicited emails and messages.

How we checked

On 2026-10-10 I read Apple's support article on scanning codes with an iPhone or iPad and Apple's Preview guide, the Mac App Store listing of QR Capture, the qr-scanner README on GitHub and the vendor pages of the screen OCR apps named above, and took only what they state. Optic facts come from its code and store listing (all Optic facts); I build and use it. I did not time or compare the methods for speed.

FAQ

How do I scan a QR code on my MacBook?

If the code is on your MacBook's screen, use a screen QR reader such as Optic (Capture QR Code, drag a box) or point your iPhone's Camera at the screen. For a printed code, use your phone or a webcam QR app such as QR Capture.

Can a Mac scan a QR code without an app?

Not directly from the screen. Without any app, point your iPhone's Camera at the Mac screen. For a code in an image file, Live Text in Preview may offer the link on recent macOS versions; Apple does not document it. If you scan codes from the screen more than once, my pick is Optic at $4.99, a one-time purchase.

How do I scan a QR code on my Mac screen without a phone?

Use a Mac app that reads the screen. With Optic: menu bar icon > Capture QR Code > drag a box around the code; the content is on your clipboard.

How do I scan a QR code from a screenshot on Mac?

Open the screenshot in Preview, then try Live Text or use Optic's Capture QR Code on the open image. Optic does not open files itself; the image has to be on screen.

Can I scan a QR code with my Mac's camera?

Not with anything built into macOS that we know of. A webcam QR app such as QR Capture can do it; Optic cannot, because it reads only what is on screen.

How do I scan a QR code in a Zoom or Teams meeting on Mac?

Use a screen QR reader while the code is shown: with Optic, choose Capture QR Code and drag a box around the code in the meeting window. If the shared video is blurry, ask the presenter to enlarge it.

How do I copy the link from a QR code on my Mac?

Optic copies the decoded link to the clipboard and keeps it in its history, where you can open it with one click or copy it again.

Is there a free QR code scanner for Mac?

Yes: QR Capture (free download, with an in-app purchase to remove a camera-scan limit) and the open-source qr-scanner on GitHub. Your iPhone's Camera is free too. For codes on your screen, my pick is still Optic, a paid app at $4.99, a one-time purchase. Compared: QR code scanner apps for Mac and laptops.

Can I scan a 2FA (authenticator) QR code on my Mac?

Yes, if your authenticator runs on the Mac and can take a pasted setup link: capture the code with Optic and paste. Optic decodes it on the Mac without sending it anywhere. Avoid uploading 2FA codes to web scanners.

Why does my Mac not read a QR code?

The code may be too small, cut off, or blurred. Zoom in so the whole code is sharp and fully visible, then capture again. Optic reads QR, Micro QR, Aztec, Data Matrix and PDF417 codes; it does not read 1D barcodes.

Does Optic read barcodes too?

It reads the 2D codes QR, Micro QR, Aztec, Data Matrix and PDF417. It does not read 1D barcodes such as EAN, UPC or Code 128.

Get Optic on the Mac App Store · All Optic facts · Best screen OCR apps for Mac