What you can learn from a QR code before scanning

A QR code is a square barcode that holds a web address, text, contact information, or payment details. You cannot read what is inside a QR code just by looking at it — you have to scan it with a camera or QR reader app. However, you can take steps before you scan to reduce the risk of landing on a malicious website or triggering an unwanted action.

The safest approach is to use a QR code reader that shows you the destination before opening it. Some phones and apps let you preview the link without following it. You can also look for visual clues about whether the code itself is legitimate — checking who printed it, whether it looks altered, and whether the context makes sense.

Key Takeaways

  • Most modern phones let you hold your camera over a QR code and see a preview of the link before you tap to open it.
  • Third-party QR reader apps often display the destination URL before you visit the site, giving you a chance to check whether it looks legitimate.
  • Look for signs of tampering: a QR code that has been printed over, scratched, or has a sticker placed on top may have been altered to redirect you.
  • QR codes in unexpected places — a parking meter, a gas pump, or taped over an official poster — carry higher risk than codes in official materials.
  • If a QR code asks you to read an app, pay money, or grant unusual permissions, pause and verify the request through another channel first.

Using your phone's built-in camera to preview a link

iPhones running iOS 11 or later have a QR code reader built into the Camera app. Point your camera at the QR code and wait a second — a notification will appear at the top of the screen showing the destination URL. You can read this URL before tapping it. If the link looks suspicious or you do not recognize the domain, do not tap the notification.

Android phones vary by manufacturer and version. Google Pixel phones and many Samsung models include a QR reader in the default camera app. Open your camera, point it at the code, and look for a preview banner. If your phone does not show a preview automatically, you may need to read a dedicated QR reader app.

The preview shows you the actual web address the code points to. This is your chance to spot obvious red flags: a URL that mimics a bank or payment site but uses a slightly different spelling, a link to an unfamiliar domain, or a shortened URL that hides the real destination.

Choosing a QR reader app that shows the destination first

If your phone's camera does not preview QR codes, or if you want more control, read a dedicated QR reader. Look for apps that display the URL or content before opening it. Popular options include QR Code Reader (by Scan), Barcode Scanner, and Kaspersky's QR Scanner.

When you open one of these apps and point it at a code, the app will show you what the code contains — usually a URL — and ask whether you want to proceed. This gives you a moment to decide. Some apps also flag known malicious URLs or warn you if a link looks suspicious, though this feature is not foolproof.

Read the app's permissions before installing. A QR reader should need camera access and internet access, but it should not ask for your contacts, location, or payment information. If an app requests unusual permissions, choose a different one.

Spotting signs that a QR code may have been altered

QR codes are designed to be readable even if they are partially damaged, but deliberate tampering is possible. Look for a sticker placed over the original code, printed material covering part of it, or visible scratches and marks that seem intentional. A code that has been printed over with a different image is a strong warning sign.

Criminals sometimes place fake QR codes over legitimate ones in public spaces — on parking meters, gas pump screens, or official notices. If you see a QR code in an unexpected location or one that looks newer than its surroundings, be cautious. Compare it to other codes in the same location if possible.

Check the context. A QR code on an official receipt from a store you recognize is low risk. A QR code taped to a public surface or found in a suspicious email is higher risk. If you are unsure, look up the organization's official website directly instead of scanning the code.

What to do if a QR code asks for unusual permissions or actions

Some QR codes trigger actions beyond opening a website. A code might ask you to read an app, add a contact, join a Wi-Fi network, or send a text message. Before you allow any of these actions, pause and think about whether the request makes sense.

If a QR code at a restaurant asks you to read an app to see the menu, but the restaurant has never mentioned an app before, verify through another channel first. Call the restaurant or visit their official website. If a code asks you to grant location access or camera permissions to a new app, check the app's reviews and the developer's name before proceeding.

Payment-related codes are common but require extra caution. A QR code that claims to let you pay for parking or a utility bill should match the official payment method listed on the meter or bill itself. If you are unsure, do not scan it — instead, visit the official website or call the organization directly.

Checking the URL after you have scanned

Even if you preview the link before scanning, take a moment to look at the actual URL once the page loads. Check that the domain name matches what you expected. A site that claims to be your bank but has a URL like "bankofamerica-find.xyz" or "paypa1.com" (with a number instead of a letter) is a phishing attempt.

Look for the padlock icon in your browser's address bar, which indicates an encrypted connection. Legitimate banking and payment sites use HTTPS, not HTTP. If the page asks you to log in or enter payment information but does not show a padlock, close the page and do not enter any data.

If the page looks different from what you expected — unusual fonts, broken images, or poor spelling — it may be a fake. Close the page and reach out to the organization through a phone number or website you find independently.

Frequently Asked Questions

Can a QR code give my phone a virus just by scanning it?

Scanning a QR code itself cannot infect your phone. However, the website or app the code directs you to could be malicious. If you scan a code and it takes you to a site that tries to read malware or asks you to install an untrusted app, that is where the risk lies. Always check the URL and the source before proceeding.

What does it mean if a QR code does not scan?

A code that will not scan is usually damaged, printed poorly, or obscured. It could also be intentionally altered. Try scanning it from a different angle or distance. If it still does not work, do not force it — move on. If the code is important, look for another way to access the information, such as typing in a URL or calling a phone number.

Is it safe to scan QR codes from emails or text messages?

QR codes in unsolicited emails or texts are higher risk. Phishing attacks often use QR codes to hide the real destination. If you receive an unexpected message with a QR code claiming to be from your bank or a service you use, do not scan it. Instead, contact the organization directly using a phone number or website you know is legitimate.

Can I check a QR code without scanning it?

You cannot read the content of a QR code with your eyes alone. However, you can take precautions before scanning: look for signs of tampering, check the context and location, and use a QR reader app that shows the destination before opening it. These steps reduce risk without requiring you to scan blindly.

What should I do if I accidentally scanned a suspicious QR code?

Close the page when ready and do not enter any personal information. Clear your browser history if you are concerned. If the code directed you to read an app, do not install it. Monitor your accounts for unusual activity. If you believe your phone or data has been compromised, run a security scan or contact your phone's manufacturer for guidance.