Scanning & Lookup

How to Scan a Barcode With Your Phone

Scan a product barcode or QR code on iPhone or Android, check what the result means, and troubleshoot camera and reading problems.

Share
Table of contents

To scan a barcode with your phone, open a camera or scanning app that supports the code, point it at the entire symbol, and hold steady until a result appears. For a QR code, try the built-in camera first. For a product barcode made of vertical lines, use a barcode-scanning or retailer app that says it supports that format. Then check the full result against the item or a trusted record: reading the code and finding the right product information are separate steps.

Choose the right scanning route

What you have Where to start What you may get
A square QR code on a sign, package or another screen Try your phone’s camera or built-in QR scanner. A link, text or another action, depending on the code and phone.
A linear barcode, such as a UPC on a product Use a scanning app that supports the barcode type, or the relevant retailer’s app. A number, or product information if the app finds a matching record.
A code in a photo already on your phone Look for an image-import or photo-scanning option in a compatible app. A decoded result if the image and app support it.

If you need a store’s price or availability, its own app may be more useful than a general reader. Check the displayed store and item before relying on the result. A scanner cannot guarantee a match in every database.

Scan a QR code with an iPhone

Apple’s instructions for iPhone and iPad describe using Camera or Code Scanner for QR codes.[1]

  1. Open Camera and point the rear camera at the QR code. Keep the whole code visible.
  2. Hold still while the phone recognizes it. A link or other prompt should appear.
  3. Review the destination before tapping it. If you do not trust the code or the destination, do not open it.

You can also open Control Center and use Scan Code. If it is not there, Apple describes adding that control to Control Center.[1] These instructions concern QR codes; they do not establish that the same built-in path reads every linear product barcode.

Scan a QR code with an Android phone

Camera features vary by phone and software. On supported devices with Camera from Google, open the camera and point it at the QR code in the default photo mode or use its QR mode if available. Tap the banner when it appears.[2] On a Pixel, Google also documents a Scan QR code control in Quick Settings and a camera scan-suggestions setting.[3]

If your camera does not recognize the code, check your phone maker’s instructions or use a compatible scanner app. Avoid assuming that a QR-only camera feature will read a UPC or another linear format.

Scan a product barcode on iPhone or Android

  1. Choose a suitable app. In the App Store or Google Play, check that the app supports the barcode type you have and the task you want, such as displaying the number or searching a retailer’s catalog. Review its permissions, privacy information and any purchase or subscription terms before installing.
  2. Open the app’s scanning feature. Allow camera access when prompted if you want to use the live camera. The name and location of the scan button depend on the app.
  3. Frame the code. Point the camera at the complete barcode. Hold the phone steady and adjust the distance until the bars and spaces appear sharp. Avoid shadows and reflections.
  4. Wait for the result. Depending on the app and code, it may show the decoded number, a search option or a product page. If it opens a product page without showing the value, look for a details or scan-result view; if the app does not expose the number, use a reader that does.
  5. Check what you received. Compare the full decoded number with the human-readable digits printed with the barcode or a trusted record for the same item. Preserve leading zeros. If the values appear different, check the app’s display and the code format before treating them as interchangeable; ask the issuer or system owner if unsure.

For a common UPC-A product symbol, the encoded GTIN-12 identifies the item. A store uses that identifier to look up associated information; the number itself is not a universal price.[4] A result that matches a product name is useful, but it does not by itself prove authenticity or confirm a price at your chosen store.

Example: a number appears but no product does

Suppose the app displays the same complete number as the package, but its product search returns no result. The reading step has produced a value; the lookup has not found a matching record in that app. Check your connection if the search needs it, confirm the number and try the relevant retailer or product owner’s lookup. If the code is a GS1 GTIN, GS1 provides a lookup by GTIN; available information and access conditions can vary.[5] Do not change digits simply to make a search return a result.

If the code will not scan

  • No camera view: Check that the app has camera permission. On iPhone, review Settings > Privacy & Security > Camera; on Android, check Settings > Apps > [app] > Permissions. Names and options can vary by software version.[6][7]
  • Camera view is blurry or the code is not detected: Clean the lens with a soft cloth, improve the lighting, hold still and change the distance slowly. Keep the whole code in view and reduce glare. Google recommends these checks for Pixel QR scanning.[3]
  • One code fails but others scan: Check for a fold, tear, glare or missing part of the symbol. Try a clean original if available. If the label is damaged, ask its owner for a replacement or an approved alternative; do not guess missing digits.
  • The camera works but the app does not recognize the format: Confirm that the app supports the specific code type and try a compatible reader. Some specialized tickets, payment codes and shipping workflows require the issuer’s own app.
  • A number appears, but the item is wrong or absent: Recheck the entire value and the exact variant, then investigate the lookup source. A decoded value and a database match are different results.

For a code displayed on the same phone, use an app’s supported image-import feature if available. The live rear camera needs a separate visible source; do not expect it to point at its own screen.

References

[1] Apple Support. Scan a QR code with your iPhone or iPad. https://support.apple.com/en-us/102680

[2] Google. Scan QR codes on Camera from Google. https://support.google.com/camerafromgoogle/answer/12033278?hl=en

[3] Google. Scan QR codes with your Pixel phone. https://support.google.com/pixelcamera/answer/16561572?hl=en

[4] GS1 US. How to Translate a UPC to a GTIN to an SGTIN to an EPC; What Is a UPC Code? https://documents.gs1us.org/adobe/assets/deliver/urn%3Aaaid%3Aaem%3Abf0e5825-0198-453f-b36f-54ba3989f08e/How-to-Translate-a-UPC-to-a-GTIN-to-an-SGTIN-to-an-EPC.pdf ; https://www.gs1us.org/upcs-barcodes-prefixes/guide-to-upcs

[5] GS1. Verified by GS1. https://www2.gs1.org/services/verified-by-gs1

[6] Apple Support. Control access to hardware features on iPhone. https://support.apple.com/en-ca/guide/iphone/iph168c4bbd5/27/ios/27

[7] Google. Change app permissions on your Android phone. https://support.google.com/android/answer/9431959?hl=en