QR Code Gadget

How to Scan a QR Code on iPhone (2 Easy Methods)

Video Tutorial · Updated 2026

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.

  1. Open the Camera app on your iPhone.
  2. 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.
  3. 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:

  1. 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.
  2. Open Safari and go to QRCodeGadget.com/qr-decoder.
  3. Tap "Choose Image" and select the screenshot from your Photo Library.
  4. 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

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.

Frequently Asked Questions

Which iPhones support QR scanning?
All iPhones running iOS 11 or later support QR scanning through the Camera app. This includes every iPhone from the iPhone 5s onward. The browser-based tools at QR Code Gadget work on any iPhone with Safari or Chrome.
Can I scan a QR code from my Camera Roll?
The built-in Camera app only scans live QR codes. For images already saved in your Camera Roll, use the QR Code Decoder — just upload the image and it decodes instantly. Starting with iOS 16, you can also use the Live Text feature by opening the photo and tapping the QR code if it's recognized.
Do I need to install an app?
No. QR Code Gadget runs entirely in your browser. No App Store download needed, and it works just as well as native apps.
How do I scan an eSIM QR code on the same iPhone?
Screenshot the eSIM QR code from your email, then upload the screenshot to the QR Code Decoder. Copy the decoded result and paste it during eSIM setup, or use it as needed for manual activation. The decoded data typically contains the SM-DP+ address and activation code that you can enter in Settings > Cellular > Add eSIM > Enter Details Manually.
Can I scan QR codes with the iPhone locked?
Yes, if you access the camera from the lock screen by swiping left. The camera will detect and display the QR code content, and you can tap the notification to open it. You'll need to unlock with Face ID, Touch ID, or your passcode to actually navigate to the link.