Updated
How to Scan a QR Code in a Photo or Screenshot on iPhone
By Sindre Sorhus, who makes the Actions app
With Actions
- Install Actions, and open it once.
- In the Shortcuts app, make a new shortcut, and add the “Select Photos” action.
- Add the “Scan QR Codes in Image” action of Actions.
- Add the “Show Content” action, or “Open URLs” to open a link.
- Run the shortcut, and choose the photo or the screenshot.
The scan is on your iPhone, so it also works offline. By default, the action reads only one code. To read all the codes in the image, turn on “Scan Multiple”.
Tips
- A Wi-Fi QR code gives text like
WIFI:S:Home;T:WPA;P:secret123;;. The name of the network is afterS:, and the password is afterP:, so you can read the password without joining the network. - For the barcode of a product, use the “Scan Barcodes in Image” action.
- To run the shortcut from the share button in Photos, turn on “Show in Share Sheet” in the details of the shortcut, and use the input of the shortcut in place of “Select Photos”.
Get Actions
Additional actions for the Shortcuts app
Free
- Requires
- iOS 26 or later
- Privacy
- No personal data collected
- Updated
- June 2026
- US App Store rating
- 4.8/5 (703 ratings)
Without an app
The Photos app reads a QR code in a photo or a screenshot with Live Text:
To get the full text of a code, like the password of a Wi-Fi code, use the shortcut above. The Camera app also reads a QR code that the camera sees, like on another screen (Apple’s instructions).
To find your photos and screenshots that have QR codes, open the Photos app, tap “Collections”, tap “Utilities”, and tap the collection of QR codes (Apple’s instructions).
On a Mac, see how to scan a QR code on Mac.
