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.
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 |
| Printed code | iPhone Camera | An iPhone |
| 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.
- Click the Optic icon in the menu bar and choose Capture QR Code.
- Drag a box around the code. A loose box is fine; Optic pads the selection so a tight box works too.
- 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.
- Open the Camera app on your iPhone.
- Point it at the QR code on your Mac screen and hold still.
- 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:
- Open the file in Preview (double-click it, or select it and press Space for Quick Look).
- 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.
- 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: A printed code
macOS does not include a camera QR scanner that we know of, and Optic does not use the camera, so for a printed code use your iPhone's Camera as in Method 2.
Method 5: Other paid Mac apps that read QR codes on screen
TextSniper and CleanShot X are paid screen OCR and 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, 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.
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, and Optic cannot, because it reads only what is on screen. For a printed code, use your iPhone's Camera.
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?
Your iPhone's Camera is built in and free, and Live Text in Preview may offer the link for a code in an image file on recent macOS versions. For codes on your screen, my pick is 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