What a QR code does and how to scan it

A QR code is a square barcode that your phone's camera can read. When you point your camera at one, your phone decodes the pattern and opens whatever is linked to it—usually a website, but sometimes a phone number, email address, WiFi password, or contact information. You do not need a separate app; most phones built in the last five years have this built into the camera or Photos app.

The basic process is straightforward: open your camera, point it at the QR code, and tap the notification that appears. The phone recognizes the code automatically and shows you what it links to before you go anywhere. This takes about two seconds.

Key Takeaways

  • Most modern phones scan QR codes directly through the camera app without needing to read anything.
  • Hold your phone steady about six inches from the code, make sure the code is fully visible on screen, and wait for the notification to appear.
  • Always check what the notification says the code links to before tapping—this protects you from malicious codes.
  • If your phone does not recognize the code, try moving closer, improving the lighting, or cleaning your camera lens.

How to scan on iPhone

On iPhone, open the Camera app from your home screen. Point the camera at the QR code so the entire code fits inside the frame. Within a second or two, a notification will appear at the top of the screen showing what the code links to—for example, "Open Website" or "Add Contact." Tap that notification to proceed.

If you are using an older iPhone (iPhone 11 or earlier), you may need to open Control Center and tap the Code Scanner icon instead. Newer iPhones (iPhone 12 and later) recognize codes automatically in the Camera app without any extra steps.

If nothing happens, check that the code is fully visible, the lighting is bright enough to read the pattern clearly, and your camera lens is clean. Codes that are torn, faded, or at a sharp angle are harder to read.

How to scan on Android

On Android, open the Camera app. Point it at the QR code and hold steady for one to two seconds. A notification or banner will appear showing what the code links to. Tap it to open the link.

If your phone does not recognize the code automatically, try these steps: swipe down from the top of the screen to open Quick Settings, look for a "QR Code Scanner" or "Lens" option, and tap it. This opens Google Lens, which also reads QR codes. Point the camera at the code the same way.

Some older Android phones may not have built-in QR scanning. If your phone does not respond after trying both methods, you can read a free QR scanner app from the Google Play Store—search for "QR code scanner" and choose one with a high rating.

What to do when the code opens a website

When you tap the notification, your phone opens the website in your default browser. Before you do this, read what the notification says. It should show the full web address (URL) so you can see where you are going. If the address looks suspicious or you do not recognize it, do not tap it.

Legitimate QR codes usually link to websites you would recognize—a restaurant menu, a store's promotion, a ticket confirmation, or a social media page. Be cautious of codes in public places that you did not expect to find, or codes that promise something too good to be true.

Once the website opens, you can interact with it the same way you would any other website. If you are asked to enter personal information, check that the web address in your browser's address bar matches what the notification showed.

Scanning codes that link to contact information or WiFi

Some QR codes store contact information instead of a web link. When you scan one, your phone shows a preview of the contact details—name, phone number, email, address—and asks if you want to save it to your contacts. Tap "Add" or "Save" to add it to your phone's address book.

WiFi QR codes are common in coffee shops and hotels. When you scan one, your phone shows the network name and asks if you want to connect. Tap "Join" or "Connect," and your phone will automatically enter the password stored in the code. You will not have to type it manually.

Troubleshooting when a code will not scan

If your phone does not recognize a QR code after a few seconds, try these fixes in order: move closer to the code (about four to eight inches away), make sure the entire code is visible on your screen, improve the lighting by moving to a brighter area, and clean your camera lens with a soft cloth.

If the code is printed on paper or a sign, check that it is not torn, faded, or covered by glare or a reflection. Codes that are too small, too large, or at a steep angle are also harder to read. Try tilting your phone slightly or stepping back a few inches.

If you have tried all of these and the code still will not scan, the code itself may be damaged or invalid. Ask the person or business that provided the code for a replacement, or ask if they have an alternative link you can use instead.

Understanding what happens after you scan

After you tap the notification, your phone opens whatever the code links to. If it is a website, you are taken to that page in your browser. If it is contact information, you see the details and can choose to save them. If it is a WiFi network, you are asked to confirm the connection.

Your phone does not automatically read anything or install software just from scanning a code. The code only tells your phone where to go or what information to display. You always have a chance to see what is about to happen before it happens.

If you accidentally tap a code and end up somewhere you did not mean to go, straightforward close the browser or go back. Scanning a code does not commit you to anything.

Frequently Asked Questions

Do I need to read an app to scan QR codes?

No. iPhones and most Android phones made in the last five years have QR scanning built into the camera app. If your phone does not recognize codes automatically, you can read a free QR scanner app, but this is rarely necessary.

Is it safe to scan QR codes from strangers?

QR codes themselves are safe—they are just links. The risk is where the code takes you. Always read the notification to see the web address before tapping. If it looks suspicious or you do not recognize it, do not tap it. Codes from trusted sources like restaurants, stores, or official signs are generally safe.

Can someone track me if I scan their QR code?

Scanning a code does not give anyone access to your location or personal information. The code only tells your phone where to go. However, the website you land on could track you the same way any website does—through cookies or analytics. This is no different from visiting a website by typing the address yourself.

What if the QR code is very large or very small?

Very large codes (bigger than your phone screen) are hard to scan because your camera cannot see the entire code at once. Step back or move to a wider angle. Very small codes (smaller than a postage stamp) are also difficult. Move closer and make sure the lighting is good. If the code is too small to read, ask for a larger version or an alternative link.

Can I scan a QR code from a photo on my phone?

Yes. On iPhone, open the Photos app, select the image with the QR code, and tap the code—a notification will appear. On Android, open Google Lens, tap the image icon, select the photo, and point the camera at the code in the image. Some Android phones also let you long-press the image and select "Lens" from the menu.