How to Scan a QR Code on iPhone (2 Easy Methods)
Try QR Code Gadget — Free in Your Browser
Scan QR codes with your camera or decode them from images. No app needed.
Scanning a QR code on iPhone is simple — but what do you do when the QR code is already on your phone? This guide shows you both methods: scanning physical QR codes with your iPhone camera, and decoding QR codes from PDFs, emails, eSIMs, and websites that are on your screen.
Method 1: Scan a Physical QR Code with the iPhone Camera
Since iOS 11, the built-in Camera app can scan QR codes automatically. No extra app needed.
- Open the Camera app on your iPhone.
- Point it at the QR code — keep the code centered in the viewfinder. Hold your phone about 6-12 inches away from the code for best results.
- Tap the yellow notification banner that appears at the top of the screen. This opens the link or displays the QR code content.
If the camera doesn't seem to detect QR codes, go to Settings > Camera and make sure "Scan QR Codes" is enabled. This setting is on by default, but it occasionally gets toggled off during iOS updates or by accident.
You can also use our free browser-based QR Scanner in Safari — it works the same way through your iPhone's camera and is useful if you want to see the full decoded text before navigating to a link.
Method 2: Decode a QR Code on Your iPhone Screen (Without Camera)
If the QR code is in a PDF, email, text message, eSIM setup, or on a website you're browsing on the same iPhone, you can't point your camera at your own screen. Here's the workaround:
- Screenshot the QR code — press the Side button and Volume Up at the same time. On older iPhones with a Home button, press Home and the Top button simultaneously.
- Open Safari and go to QRCodeGadget.com/qr-decoder.
- Tap "Choose Image" and select the screenshot from your Photo Library.
- The QR code content appears instantly — copy it or tap to open the link.
This method works with any image format your iPhone can save — screenshots, photos, downloaded images, and even images copied from other apps. You can also long-press a QR code image in Safari or Messages and save it to your photo library before uploading it to the decoder.
When You'll Need Method 2
- eSIM activation: Your carrier emails you a QR code, but you need to scan it on the same iPhone you're activating. Screenshot it and decode to get the activation details you can enter manually.
- PDF documents: Boarding passes, event tickets, medical forms, and invoices with QR codes inside PDF files.
- Emails and messages: QR codes shared via iMessage, WhatsApp, or email that you need to read on the same device.
- Websites: A webpage shows a QR code meant for scanning, but you're browsing on the same device that needs to scan it.
- App setup: Two-factor authentication QR codes (like Google Authenticator or Authy) displayed on the same phone you're setting up the authenticator on.
Troubleshooting: Camera Not Detecting QR Codes
If your iPhone camera isn't picking up QR codes, try these fixes. First, make sure there's adequate lighting — the camera struggles with QR codes in dim environments. Second, clean your camera lens, as fingerprints and smudges can reduce detection accuracy. Third, hold the phone steady and make sure the entire QR code is visible in the viewfinder without any parts cut off. Fourth, try moving closer or farther away — very small or very large codes sometimes need a specific distance to be recognized. If the code still isn't scanning, it might be damaged, low-contrast, or printed too small. In these cases, take a photo of the code and upload it to the QR Code Decoder, which uses a multi-pass algorithm that can often read codes the camera misses.
Why QR Code Gadget Works Great on iPhone
QR Code Gadget is designed to work perfectly in Safari and Chrome on iPhone. It doesn't require downloading an app from the App Store, doesn't ask for permissions you don't need, and never uploads your images or data to any server. Everything is processed right on your iPhone using client-side JavaScript, which means it also works after the page has loaded even if you lose your internet connection.