A QR code is a square barcode that your phone camera reads and turns into an action
When you point your phone's camera at a QR code, the phone recognizes the pattern of black and white squares and decodes the information hidden inside. That information is usually a web address, but it can also be contact details, WiFi login information, or plain text. Your phone then performs the action automatically — opening a website, saving a contact, connecting to a network, or displaying text on your screen.
The process happens in seconds. You don't need to download a special app on most modern phones; the built-in camera app on iPhone and Android both read QR codes now. Older phones may need a separate QR reader app, which you can find free in your phone's app store.
Key Takeaways
- QR codes are read by your phone's camera and contain a web address, contact information, or other data that your phone decodes automatically.
- Most modern iPhones and Android phones can scan QR codes using the built-in camera app without downloading anything extra.
- Scanning a QR code can open a website, save contact details, connect to WiFi, or display text — depending on what the code contains.
- Malicious QR codes can direct you to fake websites or trigger unwanted actions, so scan only codes from sources you trust.
- You can see where a QR code will take you before you open it by looking at the preview that appears on your screen.
How to scan a QR code on your phone
On an iPhone, open the Camera app and point it at the QR code. A notification will appear at the top of the screen showing what the code contains — usually a web address. Tap the notification to open it. You can also use the built-in Notes app or Reminders app to scan codes if you prefer.
On Android, open the Camera app and point it at the QR code. Most Android phones will show a popup or banner with the code's contents. Tap it to open. If your phone doesn't show anything, you may need to download a free QR reader app from Google Play Store — search for "QR code reader" and choose one with good reviews.
The key step is looking at the preview before you tap. Your phone shows you the destination (the web address or action) before you commit to it. If the preview shows something suspicious or unexpected, you can simply close the camera and not open it.
What information can be stored in a QR code
A QR code most commonly contains a web address (URL). When you scan it, your phone opens that website in your browser. This is why restaurants use QR codes for menus, stores use them for product information, and event organizers use them for registration links.
QR codes can also store contact information — a person's name, phone number, email, and address. Scanning this type of code adds the contact directly to your phone's address book. Business cards sometimes use QR codes this way instead of printing all the details.
WiFi login codes are another common type. Scanning these codes connects your phone to a WiFi network automatically without typing the password. Hotels, coffee shops, and offices use these to let guests connect quickly.
Less common but still possible: QR codes can contain plain text, calendar events, or payment information. The code itself is just a container — what happens when you scan depends entirely on what was encoded inside.
Why QR codes are useful for document scanning
When you scan a physical document with your phone, the resulting digital file often includes QR codes. These codes can link to related information — a receipt QR code might link to your order history, a shipping label QR code might link to tracking information, or an invoice QR code might link to a payment portal.
Scanning the QR code saves you from typing a long web address by hand. Instead of manually entering a tracking number or order ID into a website, you point your camera at the code and your phone does the work. This is especially useful when you're handling a stack of documents and need to quickly access information about each one.
Some document scanning apps (like Adobe Scan or Microsoft Lens) can automatically detect and highlight QR codes in your scanned documents, making it easy to find them later.
Real risks: malicious QR codes and what to watch for
A QR code can be designed to direct you to a fake website that looks like a real one — a fake bank login page, a fake payment site, or a fake delivery tracking page. These sites are built to steal your login credentials or payment information. The code itself is harmless; the danger is the destination.
This is why the preview step matters. Before you tap to open a QR code, look at the web address shown in the preview. If it looks wrong — misspelled, unfamiliar, or from a domain you don't recognize — do not open it. For example, if a code claims to be from your bank but the preview shows a random web address, that's a red flag.
Scan only QR codes from sources you trust: official documents, websites you know, or physical materials from businesses you recognize. Be cautious of QR codes in emails from unknown senders, printed on stickers placed over legitimate codes, or in text messages asking you to scan something urgently.
How to check where a QR code will take you
Your phone's preview is your first line of defense. When you open your camera and point it at a QR code, the notification or popup shows the destination before you tap it. Read this carefully. If it's a web address, does it match what you expect? If it's contact information, does the name look right?
If you're unsure about a code, you can also take a screenshot of it and use a reverse image search tool (Google Images, Bing Images) to see if the code appears elsewhere online. Legitimate codes are often used in multiple places; a code that appears nowhere else might be suspicious.
Some QR reader apps let you see the destination without opening it. If your phone's built-in camera doesn't show a clear preview, try a third-party QR reader app that displays the full URL before you tap.
QR codes in different document types
Receipts and invoices often contain QR codes linking to order details, return policies, or payment portals. Scanning these codes lets you access your account or track a shipment without logging in manually.
Shipping labels and package tracking documents use QR codes to link directly to tracking pages. Instead of copying a tracking number into a website, you scan the code and your phone opens the tracking information immediately.
Insurance documents, medical records, and financial statements sometimes include QR codes linking to policy details, claim forms, or account summaries. These are usually safe to scan because they come from official sources, but always check the preview to be sure.
Utility bills and tax documents may include QR codes for online portals. Again, verify the preview shows a legitimate web address before opening.
Frequently Asked Questions
Do I need WiFi or data to scan a QR code?
You need an internet connection only if the QR code directs you to a website. Scanning the code itself — the act of reading it — does not require internet. But to open the website, contact information, or WiFi network that the code contains, you'll need either WiFi or mobile data.
Can scanning a QR code give my phone a virus?
Scanning a QR code cannot directly infect your phone. The code is just data. However, the website or file that the code directs you to could be malicious. If you scan a code that opens a fake website designed to steal your password, that's where the danger lies — not in the scan itself.
What if I accidentally scan a suspicious QR code?
If you see the preview and realize it's suspicious, simply close the notification without tapping it. If you already tapped it and opened a website that looks fake, close your browser immediately and do not enter any personal information. You can also clear your browser history to remove the site from your recent activity.
Can I scan a QR code from a photo instead of a physical code?
Yes. On iPhone, open the Photos app, select a photo containing a QR code, and tap the notification that appears. On Android, open Google Lens (usually available in your camera app or Google app) and point it at a photo with a QR code. Both methods work the same way as scanning a physical code.
Why does my phone not recognize a QR code?
The code might be damaged, faded, or too small for your camera to read clearly. Try moving closer or adjusting the angle. If the code is printed on a curved surface or at an extreme angle, your phone may struggle to focus. You can also try using a third-party QR reader app if your built-in camera app doesn't work.