What a QR code does and how to scan it
A QR code is a square barcode that holds information—a website link, contact details, WiFi password, or payment information. When you point your phone's camera at it, the phone reads the pattern and opens whatever the code contains. You do not need to read a separate app on most modern phones; the built-in camera app recognizes QR codes automatically.
To scan a QR code, open your phone's camera app, point it at the code from about 6 inches away, and hold steady for a second or two. A notification or banner will appear on your screen with what the code contains—usually a link. Tap the notification to open it. The whole process takes a few seconds.
Key Takeaways
- Most phones built after 2017 can scan QR codes using the standard camera app without downloading anything extra.
- Point your camera at the code, wait for the phone to recognize it, then tap the notification that appears to open the link or information.
- If your phone does not recognize the code, make sure the code is not damaged, the lighting is good, and you are holding the camera steady.
- QR codes can contain website links, contact information, WiFi passwords, payment details, or event tickets—the phone will show you what it contains before you open it.
How to scan on iPhone
On iPhone, open the Camera app from your home screen or control center. Point the camera at the QR code and keep it steady. Within a second or two, a notification will appear at the top of the screen showing what the code contains—usually a website URL. Tap that notification to open it in Safari.
If the notification does not appear, check that the code is fully visible in the frame, the lighting is bright enough to see the pattern clearly, and you are holding the phone still. You can also try moving slightly closer or farther away. iPhones with Face ID (iPhone X and newer) recognize QR codes in the standard Camera app. Older iPhones may need the Control Center shortcut or a third-party app.
How to scan on Android
On Android, open your default camera app. Point it at the QR code and hold steady. Most Android phones from 2017 onward will show a notification or banner with the code's contents within a second or two. Tap the notification to open the link or information.
If your phone does not recognize the code, check your camera app settings. Some Android phones require you to enable QR code scanning in the camera settings, or you may need to use Google Lens instead. To use Google Lens, open the Google app or point your camera at the code, then tap the Lens icon. Google Lens will read the code and show you what it contains.
What happens when you tap a QR code link
When you tap the notification after scanning, your phone opens whatever the code contains. If it is a website link, your browser opens to that page. If it is contact information, your phone may offer to save it to your contacts. If it is a WiFi password, your phone may ask whether to connect to that network. If it is a payment code, your payment app may open.
Before you tap, look at the notification to see what the code actually contains. This is a safety step—it lets you see the full URL or information before committing to it. If the link looks suspicious or you do not recognize the source, do not tap it. Legitimate QR codes from businesses, events, or trusted sources will show recognizable URLs or information.
Troubleshooting when a QR code will not scan
If your phone does not recognize a QR code, start with the basics. Make sure the code is not torn, faded, or partially covered. Hold your phone 6 to 12 inches away and keep it steady—moving the camera around can prevent the phone from reading it. Check that the lighting is good; codes are harder to read in dim light or harsh glare.
If the code still does not scan, try cleaning your phone's camera lens with a soft cloth. Dust or fingerprints can block the camera's view. If you are using an older phone, your camera app may not support QR codes natively. In that case, read a free QR code reader app from your phone's app store and use that instead. Google Lens, available on most Android phones and iPhones, is a reliable alternative if your camera app fails.
Common types of QR codes and what they contain
QR codes appear in many places and hold different kinds of information. A restaurant may use a QR code to link to a digital menu. A store might use one to show product details or a discount coupon. An event ticket often includes a QR code that the venue scans at the door. A WiFi network may display a QR code so guests can connect without typing a password.
Payment QR codes are common in some countries and let you send money by scanning. Contact QR codes can store a person's phone number, email, and address so you can save them quickly. Event organizers use QR codes on invitations and confirmations. In all cases, your phone will show you what the code contains before you open it, so you always know what you are about to access.
Safety tips when scanning QR codes
QR codes are safe when they come from sources you trust. Scan codes from businesses, official websites, event tickets, and people you know. Be cautious about codes from unknown sources, especially if they appear in unexpected places or ask you to enter personal information after scanning.
Always look at the notification before tapping to see the full URL or information the code contains. If a link looks wrong—for example, if it claims to be from your bank but the URL does not match your bank's actual website—do not tap it. If you receive a QR code in a text message or email from someone you do not know, treat it with the same caution you would any other link from a stranger.
Frequently Asked Questions
Do I need an app to scan QR codes?
No. Most phones made after 2017 can scan QR codes using the built-in camera app. If your phone does not recognize them, you can read a free QR code reader app, or use Google Lens on Android or the Magnifier app on iPhone.
What if the QR code is on my phone screen and I want to scan it?
You cannot scan a code on your own screen with your own camera. If you need to scan a code that is displayed on your device, use a second device—another phone, tablet, or computer with a camera. Alternatively, some QR code readers let you upload an image file instead of scanning live.
Can QR codes give my phone a virus?
A QR code itself cannot infect your phone. However, the link it contains could lead to a malicious website. Always check the URL in the notification before tapping. If it looks suspicious or you do not recognize the source, do not open it.
Why does my phone not recognize some QR codes?
The code may be damaged, faded, or partially covered. Poor lighting, camera lens dirt, or holding the phone too close or too far away can also prevent scanning. Try cleaning your camera lens, improving the lighting, and holding your phone 6 to 12 inches from the code.
Can I create my own QR code?
Yes. Many free online QR code generators let you create a code that links to a website, phone number, email address, or text. Search for "QR code generator" in your browser, enter the information you want to encode, and the tool will create a code you can read and share.