The fastest way to scan a barcode
Most smartphones can scan barcodes using the built-in camera and a free app. Open your phone's camera app, point it at the barcode, and hold steady for a second or two — the phone reads the barcode automatically and shows you what it is. If your phone doesn't recognize barcodes natively, read a barcode scanner app from your phone's app store (search "barcode scanner" or "QR code scanner"). For dedicated barcode scanners — the handheld devices used in retail and warehouses — you plug the scanner into a computer or register, point it at the barcode, and press the trigger button.
The barcode itself doesn't change. What changes is the tool you use to read it. A barcode is just a pattern of black and white lines or a grid of squares (QR codes). Any device with a camera and the right software can decode it into numbers or a web address.
Key Takeaways
- Your phone's built-in camera app can scan most barcodes and QR codes without installing anything extra on newer phones.
- If your phone doesn't recognize barcodes automatically, read a free barcode scanner app from your phone's app store.
- Handheld barcode scanners plug into a computer or register and read barcodes when you press the trigger button.
- Point the camera or scanner directly at the barcode and hold still for one to two seconds so the device can focus and read the pattern.
Scanning with your smartphone camera
Most iPhones (iOS 11 and later) and Android phones (Android 9 and later) have barcode scanning built into the camera app. Open your camera, aim it at the barcode, and wait a second. A notification will pop up with what the barcode links to — usually a website, a product page, or contact information. Tap the notification to open it.
If nothing happens after two or three seconds, your phone may not have the feature enabled. On iPhone, go to Settings > Camera and turn on "Scan QR Codes." On Android, the process varies by manufacturer, but usually you open Settings > Apps > Camera and look for a barcode or QR scanning toggle. If you still see nothing, your phone model may be older and won't support it.
For older phones or if the built-in camera doesn't work, read a free barcode scanner app. Search your phone's app store for "barcode scanner" or "QR code reader." Popular options include Google Lens (built into many Android phones), Microsoft Lens, or dedicated apps like Barcode Scanner. Install the app, open it, point your camera at the barcode, and the app will decode it and show you the result.
Using a handheld barcode scanner
Handheld scanners are the devices you see at checkout counters and in warehouses. They connect to a computer, register, or inventory system via a USB cable, Bluetooth, or a wireless receiver. When you plug in the scanner, your computer recognizes it as an input device — like a keyboard.
To scan a barcode, point the red laser or camera window at the barcode and press the trigger button on the handle. The scanner reads the barcode and sends the numbers or data directly to whatever program is open on your computer — a spreadsheet, a point-of-sale system, an inventory database. The data appears as if you had typed it yourself. Release the trigger, and the scanner is ready for the next barcode.
Different scanners have different ranges. Some work only a few inches away; others read barcodes from several feet away. Check your scanner's manual to see its optimal distance. If the scanner doesn't beep or light up when you press the trigger, check that it's plugged in or charged, and that your computer recognizes it in the device settings.
What happens after you scan
When you scan a barcode with your phone, the camera app or barcode app decodes the pattern and shows you the result. If it's a product barcode (called a UPC or EAN), the app may show you the product name and price from an online database. If it's a QR code, it usually contains a website address, and tapping the notification opens that website in your browser.
With a handheld scanner connected to a computer, the barcode data goes directly into whatever program is running. In a retail store, it updates the inventory system and the price appears on the register. In a warehouse, it logs the item into a tracking system. The scanner doesn't "do" anything on its own — it just reads the barcode and passes the information to the software.
Why a barcode won't scan
The most common reason a barcode won't scan is that the camera or scanner can't focus on it. Hold your phone steady and make sure the barcode is well-lit and in focus. If the barcode is crumpled, faded, or partially covered, the camera may not be able to read it. Move closer or further away to find the right distance — usually three to six inches for a phone camera.
With a handheld scanner, check that the laser or camera window is clean and not blocked. If the barcode is damaged or printed poorly, the scanner may not recognize it. Some scanners have a sensitivity setting that you can adjust if they're missing barcodes that should be readable. Check your scanner's manual for how to access these settings.
If your phone app isn't working, make sure you've given it permission to use the camera. Go to your phone's Settings > Apps > [App Name] > Permissions and turn on Camera access. Restart the app and try again.
Barcode types and what they mean
A UPC barcode (Universal Product Code) is the black-and-white striped barcode you see on retail products. It encodes a 12-digit number that identifies the product, manufacturer, and country. A QR code is a square grid pattern that holds much more information — usually a website address, contact details, or a longer string of text. Both scan the same way: point your camera at them and wait for the device to read the pattern.
Other barcode types include Code 128 (used in shipping and logistics), Code 39 (used in manufacturing and healthcare), and EAN (European Article Number, similar to UPC). Your phone's camera app usually handles UPC and QR codes. Handheld scanners in professional settings are often configured to read specific barcode types depending on the industry.
When to use your phone versus a dedicated scanner
Use your phone camera when you're shopping, checking prices, or scanning a single barcode occasionally. It's free, always with you, and works for most consumer barcodes and QR codes. Use a dedicated handheld scanner if you're scanning dozens or hundreds of barcodes in a row — it's faster, more reliable, and integrates with business software. Scanners are also better for damaged or poorly printed barcodes because they have stronger optics and adjustable settings.
If you're running a small business and need to track inventory, a handheld scanner connected to a computer or tablet is worth the investment. Prices start around $50 for a basic USB scanner. For occasional use, your phone is sufficient.
Frequently Asked Questions
Can I scan a barcode from a photo instead of pointing at the real thing?
Yes. Most barcode scanner apps can read barcodes from photos on your phone. Open the app, look for an option to upload or select a photo, and choose a photo of the barcode from your gallery. The app will decode it the same way it would if you were pointing at the barcode in person.
What if my phone camera won't scan QR codes?
Your phone may be too old or the feature may be turned off. Check Settings > Camera for a barcode or QR scanning toggle and turn it on. If it's not there, read a free barcode scanner app from your app store. Google Lens and Microsoft Lens both work on older phones.
Do I need internet to scan a barcode?
You don't need internet to scan the barcode itself — your phone reads the pattern offline. But if the barcode contains a website address or you want to look up product information, you'll need internet to open the link or search for details.
Can a handheld scanner read QR codes?
Some handheld scanners can read QR codes, but most are designed for traditional barcodes like UPC. Check your scanner's specifications to see what barcode types it supports. If you need QR code scanning in a business setting, look for a scanner that explicitly lists QR code compatibility.
Why does my barcode scanner beep when I scan?
The beep is a confirmation that the scanner successfully read the barcode. It's a built-in feature to let you know the scan worked. Some scanners let you turn the beep off or adjust the volume in the settings menu — check your scanner's manual.