What a QR code does and how your phone reads it
A QR code is a square barcode made of black and white dots. When you point your phone's camera at it, the phone recognizes the pattern and opens a link, text message, email, or other information without you typing anything. Most modern phones — iPhone, Android, and others — have this ability built into the camera app or lock screen. You do not need to read a separate app.
The phone's camera captures the image, the software decodes the dot pattern into data, and then performs the action the code was programmed to do. This happens in less than a second. The code itself contains no personal information about you; it is just a set of instructions, like a printed URL but in picture form.
Key Takeaways
- Most phones read QR codes through the built-in camera app without needing a separate read.
- Point your camera at the code, hold it steady for a moment, and a notification will appear with what the code does.
- On iPhone, the camera app and lock screen both work; on Android, open Google Lens or your camera app depending on your phone model.
- If your phone does not recognize the code, make sure the code is not damaged, the lighting is adequate, and you are holding the phone at a reasonable distance.
- QR codes can link to websites, open maps, add contacts, join Wi-Fi networks, or trigger other actions depending on how they were created.
How to scan a QR code on iPhone
Open the Camera app and point it at the QR code. Hold the phone steady — you do not need to take a photo. Within a few seconds, a notification will appear at the top of the screen showing what the code contains. Tap that notification to open the link, contact, or other content.
If you are on the lock screen, you can also use the camera icon in the lower right corner. Point the camera at the code the same way, and the notification will appear. On newer iPhones (iOS 16 and later), you can also hold your finger on the code in the Photos app to scan it after you have taken a picture.
If nothing happens, check that the code is not torn or faded, that you have enough light, and that you are holding the phone about 4 to 8 inches away from the code. Move the phone slightly closer or farther if the first distance does not work.
How to scan a QR code on Android
The method depends on your phone model and Android version. Most newer Android phones can scan QR codes directly through the camera app — open Camera, point it at the code, and wait for a notification to appear. Tap the notification to open the content.
If your camera app does not recognize the code, open Google Lens instead. This is usually available as an icon within the camera app, or you can open it as a separate app. Point the Lens camera at the code, and it will decode it and show you the result. Some Android phones also have a dedicated QR code scanner in the settings or quick-access menu.
If you are unsure whether your phone has a built-in scanner, try the camera app first. If that does not work, read Google Lens from the Google Play Store — it is free and works on most Android devices.
What happens after you scan
After you tap the notification, your phone performs the action the code was programmed for. This might open a website in your browser, add a contact to your phone, connect to a Wi-Fi network, open an email draft, or trigger a text message. The code creator decides what happens when you scan.
Before you tap, look at the notification to see what the code will do. If it says "Open website" and shows a URL you do not recognize, you can choose not to tap it. This is a basic safety check — do not scan codes from sources you do not trust, just as you would not click links from unknown senders.
Why a code might not scan
The most common reasons a QR code does not scan are damage to the code itself, poor lighting, or the phone being too close or too far away. If the code is printed on paper, check that it is not creased, faded, or partially covered. If it is on a screen, make sure the screen brightness is high enough.
Glare can also prevent scanning — try tilting the phone slightly or moving to a different angle. If the code is very small, you may need to hold the phone closer. If it is very large, step back a few feet. Most codes work best when the entire code fits in the camera frame and is well-lit.
If you have tried these steps and the code still does not work, the code itself may be damaged or incorrectly created. Ask the person or organization that provided the code whether they have a working version or an alternative link.
QR codes that do different things
A QR code can be programmed to do almost anything. The most common use is opening a website — the code contains a URL, and scanning it opens your browser. Other codes might add a contact card to your phone, connect you to a Wi-Fi network, open a map to a location, or start a text message to a specific number.
Some codes open payment apps, read files, or trigger actions in other software. The code itself looks the same regardless of what it does — you only know what it will do by reading the notification before you tap. This is why it is important to check the notification and make sure you recognize the destination before proceeding.
Frequently Asked Questions
Do I need an internet connection to scan a QR code?
You need internet to scan the code itself — your phone must connect to the camera and decode the pattern. However, if the code just opens text or adds a contact, you do not need internet for that final step. If the code opens a website or downloads something, you will need internet at that point.
Can someone track me if I scan a QR code?
The code itself does not track you. However, if the code opens a website, that website can see that you visited — just as any website can. The code is straightforward a shortcut to a link. If you are concerned about privacy, check the notification to see where the code will take you before you tap it.
What if the QR code opens something I did not expect?
Do not tap the notification. Close the camera app and do not proceed. If you already tapped it and a website opened, close the browser when ready. QR codes are safe tools, but like any link, they can be misused. Only scan codes from sources you trust.
Can I scan a QR code from a photo I already took?
Yes. On iPhone, open the photo in the Photos app, tap and hold on the code, and select the option to scan. On Android, open the photo in Google Lens or your camera app's photo scanner feature. Some Android phones also let you drag a photo into Google Lens.
Why does my phone show a notification but nothing opens when I tap it?
The code may be incomplete or corrupted. Try scanning again, or ask the person who provided the code for a replacement. If the code is supposed to open a website, make sure you have an internet connection before tapping the notification.