# How to Scan a QR Code or Barcode on Mac

Updated: November 24, 2026

- [Text Lens](https://sindresorhus.com/text-lens.md): Copy unselectable text on screen. Price: $6, one-time purchase. Platforms: macOS. Get it from: [App Store](https://apps.apple.com/app/id6743369285). Requires macOS 26 or later. Size: 5 MB. Free older versions for macOS 15: [download](https://sindresorhus.com/text-lens#older-versions). The app cannot connect to the internet. It has no network permission, so the macOS app sandbox stops all its connections. US App Store rating: 4.7/5 (19 ratings).
- [Supercharge](https://sindresorhus.com/supercharge.md): Elevate your Mac experience. Price: $20, one-time purchase, plus tax where applicable. Platforms: macOS. Get it from: [Gumroad](https://sindresorhus.gumroad.com/l/supercharge?wanted=true), [Setapp](https://go.setapp.com/stp181?refAppID=742&utm_medium=vendor_program&utm_content=button). Free trial: [download](https://sindresorhus.com/supercharge#trial). Requires macOS 27 or later. Size: 10 MB. Free older versions for macOS 26 and 15: [download](https://sindresorhus.com/supercharge#older-versions). Gumroad rating: 5.0/5 (293 ratings).

URL: https://sindresorhus.com/guides/scan-qr-code-mac

Click [Text Lens](https://sindresorhus.com/text-lens.md) in the menu bar, choose “Capture”, and drag over the QR code or the barcode. Its content, like a link, is copied. [Without an app](https://sindresorhus.com/guides/scan-qr-code-mac#without-an-app), point the camera of your iPhone at the code, as a Mac has no camera app that scans QR codes.

## With Text Lens

1. Show the QR code on your screen, like in an image, a PDF, a website, or a video call.
1. Click the [Text Lens](https://sindresorhus.com/text-lens.md) icon in the menu bar, and choose “Capture”.
1. Drag over the code.
1. The content of the code is copied. Paste it with Command+V, like in the address bar of your browser.

Text Lens also reads barcodes, and the text around the code in the same capture. To scan an image file, drop it on the menu bar icon. You can set a keyboard shortcut for “Capture” in the settings. The scan runs on your Mac, so it also works offline.

[Supercharge](https://sindresorhus.com/supercharge.md) can scan QR codes and barcodes too, from an area of the screen or from an image on the clipboard, and it reads several codes at once. Its menu has many other tools, so get it if you want those too.

## Without an app

A Mac has no camera app that scans QR codes, like the Camera app on your iPhone. To open a QR code that is on your Mac screen, scan it with your iPhone:

1. Open the Camera app on your iPhone.
1. In Photo mode, point the iPhone at the code on the screen.
1. Tap the link that shows at the bottom of the screen.

You can also use the Scan Code control in Control Center. [Apple’s instructions](https://support.apple.com/guide/iphone/iphe8bda8762/ios)

This opens the link on your iPhone, not on your Mac. To use it on the Mac, send it with [Hyperduck](https://sindresorhus.com/hyperduck.md) or AirDrop.
