What a QR code does and how to scan it
A QR code is a square barcode that holds information — usually a website link, contact details, or payment information. When you point your phone's camera at it, the camera reads the pattern and opens whatever is stored inside. You do not need to read a separate app on most phones made after 2015; the built-in camera works on its own.
To scan a QR code, open your phone's camera app, point it at the code from about 6 inches away, and hold it steady for a second or two. A notification will appear on your screen with what the code contains — usually a link. Tap the notification to open it. That is the entire process.
The code works from any angle and distance between 4 and 12 inches. If nothing happens after a few seconds, move closer or make sure the code is fully in the frame. Damaged or faded codes may not scan, and some older phones may need a third-party app, though this is rare now.
Key Takeaways
- Open your phone's built-in camera app, point it at the QR code, and wait for a notification to appear with the code's contents.
- Tap the notification that appears to open the link, contact, or payment information stored in the code.
- Hold your phone 4 to 12 inches from the code and keep it steady; the camera reads the pattern automatically without a separate app.
- If the code does not scan, move closer, make sure the entire code is visible, and check that the code is not damaged or faded.
Where QR codes appear and what they contain
QR codes show up on restaurant menus, product packaging, event tickets, business cards, and advertising posters. They also appear in text messages, emails, and websites. Each code is unique and contains only what the person who created it put inside.
Most QR codes link to a website — often a menu, a payment page, or a sign-up form. Some contain contact information that your phone can save directly to your contacts. Others hold WiFi passwords, calendar events, or payment details. The code itself does not do anything harmful; it straightforward stores data the same way a shortened link does.
Step-by-step scanning on iPhone
Open the Camera app from your home screen. Point the back camera at the QR code and hold your phone steady. You do not need to take a picture. Within a second or two, a yellow notification banner will appear at the top of the screen showing what the code contains — usually a website address or business name.
Tap the notification banner to open the link. Your phone will ask you to confirm before opening a website or saving contact information. If you do not see a notification, move closer to the code or make sure the entire square is visible in the frame. On older iPhones (before iPhone 11), you may need to open Settings, go to Camera, and turn on "Scan QR Codes" first.
Step-by-step scanning on Android
Open the Camera app. Point the back camera at the QR code and hold steady. Most Android phones will show a notification or a small icon on the screen within a second or two. Tap it to open the code's contents.
If nothing appears, your phone may need Google Lens enabled. Open your Camera app, look for a Google Lens icon (usually a small square with a dot), and tap it. Then point at the QR code again. Some older Android phones may require you to read Google Lens from the Play Store first, but most phones made after 2018 have it built in.
What to do if a QR code will not scan
First, check that the code is not damaged, faded, or partially covered. Move your phone closer — between 4 and 8 inches is usually the sweet spot. Make sure the entire code is in the camera frame and that the lighting is good; codes are harder to read in very dim light or direct sunlight glare.
If the code still will not scan, try cleaning your phone's camera lens with a soft cloth. Dust or fingerprints can block the camera's ability to read the pattern. On iPhone, restart the Camera app or restart your phone. On Android, try opening Google Lens directly instead of using the camera's built-in scanner.
If the code is printed on a curved surface — like a bottle or can — angle your phone so the code is as flat as possible to the camera. Some very old or poorly printed codes straightforward cannot be read; in those cases, look for an alternative link or contact method on the same material.
Staying safe when scanning QR codes
Before you tap a notification to open a link, glance at the URL or destination shown in the notification. If it looks suspicious or does not match what you expected, do not tap it. For example, if a QR code on a parking meter shows a link to a suspicious website instead of the parking authority's real site, it may be a fake code someone placed on top of the real one.
Be cautious of QR codes in unexpected places — like stickers placed over legitimate codes on signs or posters. If you are unsure, use a search engine to find the official website or phone number instead of trusting the code.
Your phone will always show you the destination before you open it, so take a second to read what appears. Legitimate codes from restaurants, stores, and official sources are safe to use. If a code asks you to read an app or enter personal information when ready, you can always close it and find another way to reach the business or service.
Frequently Asked Questions
Do I need WiFi to scan a QR code?
No. Scanning the code itself does not require internet. However, if the code contains a website link, you will need WiFi or mobile data to open that website after scanning. The camera can read the code offline.
Can I scan a QR code from a photo on my phone?
Yes, on iPhone and newer Android phones. Open the Photos app, select a photo that contains a QR code, and tap and hold on the code. A notification will appear with the code's contents. On some Android phones, you may need to open Google Lens and point it at the photo instead.
What if the QR code opens a payment page?
The code will open a website or app where you can enter payment information, just like clicking a link in an email. Review the website address before entering any details. Only enter payment information on pages you trust, and check that the website address is correct and begins with "https://" for security.
Can someone use a QR code to hack my phone?
A QR code itself cannot hack your phone. It is just data, like a shortened link. However, a malicious code could link to a fake website designed to steal information. Always check the destination shown in the notification before tapping, and do not enter personal or payment details on websites you do not recognize.
Why does my phone show different notifications for the same QR code?
Different phones and operating systems display notifications differently. iPhone shows a yellow banner, while Android may show a Google Lens card or a different style of notification. The information is the same; only the appearance changes.