The fastest way to scan a barcode
Most smartphones can scan a barcode without any extra hardware — you use the built-in camera and a free app. Open a barcode scanner app (Google Lens, which comes on Android phones, or a third-party app from the App Store on iPhone), point your phone's camera at the barcode, and hold it steady for one to two seconds. The app reads the barcode and shows you the result — usually a product name, price, or website link.
If you have a dedicated barcode scanner (the handheld kind used in retail or warehouses), the process is simpler: point the scanner at the barcode, press the trigger button, and listen for the beep. The scanner sends the data directly to whatever device it is connected to — a computer, register, or inventory system.
Key Takeaways
- Your smartphone camera can scan barcodes using a free app like Google Lens (Android) or a third-party scanner app (iPhone).
- Point the camera at the barcode, hold it steady for one to two seconds, and the app will read and display the information.
- Dedicated barcode scanners work by pointing at the barcode and pressing the trigger; they connect to a computer or register via USB or Bluetooth.
- Barcodes scan best when the barcode is flat, well-lit, and the camera is held at a slight angle rather than straight-on.
Scanning with your phone camera
On Android, open Google Lens (usually found in Google Photos or the Google app) or read a free barcode scanner app from Google Play. On iPhone, read a barcode scanner app from the App Store — popular free options include QR Reader by Applab and Barcode Scanner by Scan.
Open the app and point your phone's camera at the barcode. The barcode does not have to fill the entire screen, but it should be clearly visible and not blurry. Hold the phone steady for one to two seconds. Most apps beep or vibrate when they have read the barcode successfully. The app then displays what the barcode contains — a product name, a link, a price, or other data depending on what was encoded.
If the app does not read the barcode on the first try, move slightly closer or farther away, or adjust the angle. Barcodes scan best when the camera is held at a 45-degree angle rather than straight-on, and when the barcode is well-lit. Avoid scanning in dim light or with glare on the barcode surface.
Using a handheld barcode scanner
Handheld barcode scanners are wired or wireless devices that connect to a computer, register, or inventory system. To use one, hold the scanner in your hand with the red laser or light pointing at the barcode. Position the barcode so the laser crosses it at a slight angle — about 45 degrees — rather than straight-on.
Press the trigger button on the scanner. You will hear a beep (or feel a vibration on some models) when the barcode has been read. The scanner sends the data to the connected device, which then displays or records the information. If the barcode does not scan on the first try, move the scanner closer or adjust the angle and try again.
Wired scanners plug into a USB port on a computer or register. Wireless scanners connect via Bluetooth and need to be charged periodically. Both types work the same way — point, press, and listen for the beep.
Why a barcode might not scan
The most common reason a barcode will not scan is that it is dirty, damaged, or at the wrong angle. Wipe the barcode with a clean cloth if it looks dusty or smudged. If the barcode is creased, faded, or partially torn, it may not scan at all — in that case, you may need to look up the product manually or ask for a replacement label.
Lighting matters too. Scan in natural light or under bright indoor lighting. Dim light, shadows, or glare on the barcode surface can prevent the scanner from reading it. If you are using a phone camera, make sure the lens is clean and not covered by your finger or a case.
The angle also affects whether a barcode scans. Hold the scanner or phone at a 45-degree angle to the barcode rather than straight-on. If you are scanning a barcode on a curved surface (like a can or bottle), angle the scanner so the laser or camera crosses the barcode at the steepest angle possible.
Different types of barcodes and what they contain
The most common barcode is the UPC (Universal Product Code), which is a vertical stripe pattern found on retail products. UPC barcodes contain a 12-digit number that identifies the product, manufacturer, and price. When you scan a UPC barcode, the scanner returns the product name and price.
QR codes are square barcodes with a pattern of black and white squares. They hold more data than UPC barcodes and often link to a website, phone number, or text message. Scanning a QR code usually opens a link in your phone's browser.
Code 128 and Code 39 are barcode formats used in warehouses and shipping. They encode letters, numbers, and symbols and are often used to track inventory or packages. These barcodes look like vertical lines of varying widths and are common on shipping labels and warehouse shelves.
Choosing between a phone app and a dedicated scanner
Use your phone if you are scanning barcodes occasionally — at a store, for price comparison, or to look up product information. Phone scanning is free, requires no extra equipment, and works anywhere you have light and a charged phone.
Use a dedicated barcode scanner if you scan barcodes regularly as part of a job or business. Handheld scanners are faster (one trigger press instead of holding still for two seconds), more reliable in dim light, and designed to work all day without draining a battery. They also integrate directly with inventory systems and registers, so the data goes straight where it needs to go without manual entry.
If you are setting up a small business or retail operation, a basic USB barcode scanner costs between $30 and $100 and works with any computer. Wireless scanners cost more but give you freedom to move around the space.
Frequently Asked Questions
Can I scan a barcode from a photo or screenshot?
Yes, many barcode scanner apps can read barcodes from photos stored on your phone. Open the app, look for an option to upload or select an image, and choose the photo containing the barcode. The app will read it the same way it would read a barcode pointed at your camera.
What if the barcode is bent or partially covered?
A barcode can usually be read even if part of it is covered or bent, as long as enough of the barcode is visible and undamaged. Try scanning from different angles. If the barcode is too damaged, you may need to look up the product by name or ask a store employee for a replacement label.
Do I need an internet connection to scan a barcode?
No, the scanning itself does not require internet. However, if you want to look up product information or follow a link after scanning, you will need internet access. Many barcode scanner apps work offline and store the scanned data until you connect to the internet.
Can a barcode scanner read barcodes through plastic or glass?
Most barcode scanners cannot read through plastic or glass because the laser or light bounces off the surface instead of reaching the barcode. Remove the item from packaging or hold the scanner at an angle to avoid glare. Phone cameras sometimes can read through clear plastic if the angle is right.
How far away can a barcode scanner read a barcode?
Handheld scanners typically work from 2 to 12 inches away, depending on the barcode size and scanner model. Larger barcodes can be read from farther away. Phone cameras work best when the barcode is 4 to 8 inches away, though this varies by phone and app.