Scanning a QR code takes only a few seconds: point your phone's camera at the square code, wait for a link or notification to appear, then tap it to open the result. On most modern iPhones and Android phones the camera app does this on its own, so you usually do not need to install anything. A QR code (short for Quick Response code) is simply a pattern of black and white squares that stores a web address, Wi-Fi login, contact card, payment link or short piece of text. The camera reads the pattern and hands the data to your phone, which offers to open the link, join the network or copy the text. Before you start, make sure you have a device with a working camera, a steady hand and enough light. Nothing else is required for a basic scan, though you will need an internet connection to open a web link, and a scanning app if your older phone's camera does not recognise codes.

What You'll Need

  • A smartphone or tablet with a working rear camera. Most phones from the last several years read codes in the built-in camera app without extra software.
  • Adequate light. QR codes need contrast between the dark and light squares, so avoid scanning in a dark room or against a shiny, reflective surface.
  • An internet connection if the code contains a web link, since the scan only reveals the address and your phone still has to load the page.
  • Optionally, a dedicated QR scanner app if your device's camera cannot read codes on its own, or a second phone if you want to scan a code that is displayed on the screen you are holding.

Step-by-Step

  1. Clean the camera lens. Wipe the lens with a soft cloth. Smudges and fingerprints are a common reason a code will not focus, especially indoors.
  2. Open the camera app. On iPhone, open the Camera app and choose the rear camera. On Android, open the Camera app and select the standard Photo mode. Scanner features usually only work in the main photo camera, not in the video or portrait modes.
  3. Hold the phone steady and frame the code. Point the camera so the entire code fits inside the viewfinder, with a little space around the edges. Hold the phone roughly a hand's length away and move closer or further until the code is sharp.
  4. Wait for the phone to recognise it. On iPhone you will see a yellow or highlighted frame around the code, followed by a notification or button that shows the link or action. On Android the Camera app typically shows a similar highlight and a tappable link or chip. This usually takes a second or two.
  5. Tap the result. Tap the notification, link or button that appears. If the code is a website, your browser opens the address. If it is a Wi-Fi code, your phone offers to join the network. If it is a contact card, your phone offers to add the contact details. If it is plain text, the text may be shown so you can copy it.
  6. Check before you act. When a link appears, read the address the phone is about to open. If it looks unfamiliar, does not match the place or company that displayed the code, or uses a strange domain, do not tap it. A QR code is just a link in picture form, so it can lead anywhere.
  7. Cancel or close when done. After the page loads or the action finishes, close the tab or dismiss the notification. On iPhone you can usually swipe the notification away without opening the link if you change your mind.

If your camera does not recognise codes, install a scanner app from the official app store, such as the store search results for a well-reviewed scanner. Open the app, grant camera permission, and point the camera at the code. A dedicated scanner is also useful for older Android phones whose camera app lacks the feature. Labels and button names can differ slightly by phone model, app version and region, so the exact wording on your screen may not match this guide exactly.

Common Mistakes

Most failed scans come down to a few avoidable habits.

  • Holding the phone too close. If the code fills the whole screen and will not focus, pull back. The lens often cannot focus at very short distances, and the code needs to be small enough to fit in focus.
  • Scanning at an angle. Tilted or curved codes, such as those on a bottle or a bent flyer, are much harder to read. Flatten the surface or angle the phone to match.
  • Ignoring the link preview. Tapping whatever pops up without reading the address is the biggest security mistake. Phishing stickers pasted over real codes are a known trick, so verify the destination.
  • Using the selfie camera by mistake. The front camera is usually lower quality and some phones do not run code detection on it. Switch to the rear camera.
  • Scanning a code on a screen from the same screen. You cannot scan a code with the phone that is displaying it. Take a screenshot instead, or use a second device. A screenshot can be opened in Google Lens or a scanner app's image option.
  • Assuming the camera app needs no permission. If you just declined camera access for a scanner app, it cannot work until you re-enable it in the phone's settings.

Tips

  • Turn on the flashlight or move to better light if the code is in shadow. Strong glare on a laminated menu or sticker can hide the pattern, so tilt the surface slightly.
  • Tap and hold on the code in the iPhone Camera app to bring up options, and on many Android phones tap the code once for a menu with actions such as copy or search.
  • For Wi-Fi codes, scan only codes from a network you trust. Joining an unknown network can expose your traffic.
  • Use the image-scanning option in Google Lens or your scanner app for codes in photos, PDFs or screenshots, since the live camera cannot read those.
  • If a code is damaged or partly covered, try a scanner app anyway; some are better at correcting errors. If it still fails, ask the business for the plain web address instead.
  • Test a code with a preview first: many scanner apps show the decoded content before opening anything, which lets you copy the text safely.

Troubleshooting

If the code does not scan, work through these checks in order, from simplest to most involved.

  1. Clean the lens and restart the camera app. Close the app fully and reopen it. On some phones the detector can stall if the app has been open for a long time.
  2. Check the basics. Confirm the rear camera is selected, the code is fully in frame and the surface is flat. Move closer, then further away, slowly.
  3. Update your phone. Code detection is part of the operating system, so install the latest system update. Also update any scanner app you use from the official store.
  4. Try a different app or tool. If the built-in camera still fails, install a reputable scanner app from the official store. Do not sideload apps or download APKs from random sites.
  5. Check internet access. A recognised code may not open a page if your phone is offline or on a captive Wi-Fi network. Turn Wi-Fi or mobile data on and retry.
  6. Clear app data only as a last resort. If the scanner app keeps failing, its settings may be corrupt. Clearing the app's data or reinstalling it resets the app's saved preferences; nothing else on your phone is deleted, but you will need to grant camera permission again.

If the code leads to an error page, the fault is usually the link itself, not your phone. Ask the business or person who provided it for an alternative, such as the plain address. Never enter passwords or card details on a page reached from a code you did not expect, and remember that rules about recording and filming with cameras differ by location.

Frequently Asked Questions

Do I need to install an app to scan a QR code?

No. The Camera app on current iPhones and most modern Android phones recognises codes natively. An app is only needed on older devices or when you want extra features like scanning images.

Why does my iPhone camera not detect the code?

Make sure you are using the rear camera, the code is well lit and fully in frame, and the phone is updated. If it still fails, a scanner app from the App Store is a reliable fallback.

Can a QR code harm my phone?

A code itself cannot install software just by being scanned. It can, however, open a phishing site or a malicious download link, so always read the link preview and never enter sensitive details on a page you did not expect.

How do I scan a code that is on my own phone screen?

You cannot scan a code with the same phone displaying it. Take a screenshot and open it in Google Lens or your scanner app's image option, or use a second device.

Are QR codes safe to use for payments?

They can be, if you scan the code shown at a trusted till or in an official app. Avoid scanning payment codes from stickers, flyers or messages you did not request, since scammers replace codes to redirect payments.

What if the code is blurry or damaged?

Flatten it, improve the light and try again. QR codes have built-in error correction, so partial damage is often still readable. If not, ask for the plain link or text instead.