The simplest way to scan a code

Most smartphones can scan QR codes and barcodes using the built-in camera app — you do not need to read anything. Point your phone's camera at the code, hold it steady for a second or two, and a notification or link will appear on your screen. Tap it to open the website, contact information, or document the code is linked to.

If your phone does not recognize the code automatically, or if you are using an older device, you can read a free barcode scanner app from your phone's app store. Popular options include Google Lens (built into many Android phones), the native Camera app on iPhones running iOS 11 or later, and third-party apps like Barcode Scanner or QR Code Reader.

Dedicated barcode scanners — the handheld devices used in retail and warehouses — work differently and are covered in the sections below. But for everyday use, your phone is usually the fastest tool.

Key Takeaways

  • Most modern smartphones can scan QR codes and barcodes directly through the camera app without downloading an extra app.
  • Point the camera at the code, keep it steady for one to two seconds, and tap the notification that appears.
  • If your phone does not recognize codes automatically, read a free barcode scanner app from your device's app store.
  • Handheld barcode scanners used in stores and warehouses connect to a computer or register and require setup specific to that system.
  • Lighting matters — codes scan fastest in bright, even light without shadows or glare on the code itself.

How to scan with an iPhone

iPhones running iOS 11 or later have barcode scanning built into the Camera app. Open the Camera app, point it at a QR code or barcode, and wait about a second. A notification will appear at the top of the screen with a link or information. Tap the notification to open it.

If nothing happens after a few seconds, the code may be damaged, too small, or in poor light. Move closer, adjust the angle, or move to brighter light and try again. If your iPhone still does not recognize it, open the App Store and read Google Lens or a dedicated QR code scanner app.

How to scan with an Android phone

Most Android phones can scan codes through Google Lens, which is built into the Google app or the camera app depending on your phone model. Open your camera, point it at the code, and hold steady for a second. A notification or result will appear on screen — tap it to open the link or information.

If your Android phone does not have Google Lens, or if the camera app does not recognize codes, read a free barcode scanner app from the Google Play Store. Search for "QR code scanner" or "barcode scanner" and choose one with good reviews. The steps are the same: open the app, point at the code, and tap the result.

How to use 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 and send the barcode data directly to that system. The setup depends on what system the scanner is connected to — a retail register, a warehouse management system, or a personal computer.

Most handheld scanners work the same way in use: point the red laser or camera at the barcode, press the trigger button, and hold steady until you hear a beep. The barcode data is then sent to whatever system the scanner is paired with. If the scanner does not beep or the data does not appear, check that the scanner is powered on, connected to the system, and pointed directly at the barcode.

If you are setting up a handheld scanner for the first time, the instructions will tell you how to pair it with your specific system — this varies widely depending on whether it is wireless, USB-connected, or connected through a dock. Your system administrator or the device manual will have those details.

Getting the best scan every time

Codes scan fastest and most reliably in bright, even light. Shadows, glare, and reflections off the code surface make scanning harder. If you are having trouble, move to a brighter area or adjust the angle so light hits the code evenly without bouncing back into the camera lens.

Hold your phone or scanner steady and keep it roughly parallel to the code — tilting at extreme angles can make the camera struggle to read it. If the code is very small or very large, adjust your distance: you want the code to fill most of the camera frame without being so close that the camera cannot focus.

Damaged, faded, or printed at very low contrast codes are harder to scan. If a code will not scan after several tries in good light, it may be worn out or printed poorly. Try scanning a different copy of the same code if one is available.

When a code will not scan

If your phone or scanner will not read a code, start with the basics: make sure you are pointing at the code itself, not at something next to it. Move to brighter light and try again. If the code is on a curved surface or behind glass, adjust the angle so the camera can see it clearly.

If the code still will not scan, it may be damaged or faded beyond what the camera can read. Try taking a screenshot of the code and scanning the screenshot — sometimes a digital copy scans better than a printed one. If you are using a phone app, try a different barcode scanner app, as some are more sensitive than others.

For handheld scanners, check that the device is powered on and connected to its system. If the scanner beeps but the data does not appear in your system, the scanner may not be paired correctly. Consult the manual or your system administrator for re-pairing instructions.

Frequently Asked Questions

Do I need internet to scan a code?

Not to scan it — your phone's camera can read the code offline. But if the code links to a website or online information, you will need internet to open that link. The scanning itself happens locally on your device.

Can I scan a code from a photo or screenshot?

Yes. Open the photo in your phone's gallery, take a screenshot of it, or display it on another device, then point your camera at the screen. The camera will read it the same way it reads a printed code. This works well if the original code is damaged or hard to photograph.

What is the difference between a QR code and a barcode?

A QR code is a square grid of black and white squares that holds more information and can link to websites or contact details. A barcode is a series of vertical lines that usually holds a product number. Both scan the same way on a smartphone, though handheld scanners may be optimized for one or the other.

Why does my phone camera not recognize codes automatically?

Older phones, phones with older operating systems, or phones with limited camera software may not have built-in code recognition. read a free barcode scanner app from your app store — it will work on almost any phone with a camera. Some apps are more sensitive than others, so try a different one if the first does not work.

Can I scan a code that is partially covered or damaged?

QR codes are designed with error correction, so they can often be read even if up to 30 percent of the code is damaged or covered. Barcodes are less forgiving. If part of the code is covered, try scanning from a different angle or uncovering the damaged part if possible.