How to scan a QR code with a Mac webcam

Read a printed QR code with your Mac camera or choose an image when the code is on your screen.

Open the camera scanner in a browser and permit camera access. When a QR code is already on your Mac screen, use an image capture instead of pointing the Mac at itself.

Work with a fixed webcam

A built-in webcam is easier to use if you move the paper toward or away from the lens. Position it under diffuse light so its margin and corners stay visible.

Scan a code with the Mac camera

  1. Open the camera scanner and choose Scan with camera.
  2. Hold a printout steady in the center. If the pattern is blurry, move it farther from the camera until its squares separate.
  3. Check the result when the camera stops. For a test print made from https://example.com/, the decoded address should match.

Check macOS and browser permissions

In System Settings, check Privacy & Security and Camera for the browser. Then review camera permissions for the site in the browser. Close other apps using the camera and try again.

Frequently asked questions

How do I read a QR code in an email on my Mac?

Download the original attachment or capture the code with its border and select the image in the QR reader.