A code scanner (a barcode or QR code scanner) lets you turn printed or on-screen codes into usable information: a product lookup, a web link, a Wi-Fi join prompt, or a pairing code for a smart device. The shortest working method is to open your phone's built-in camera app, point it at the code, and tap the notification that appears; for a dedicated handheld scanner, pair it over Bluetooth or USB, place the cursor in a text field, and scan. This guide covers both, plus the settings and fixes that stop scans from working.
What You'll Need
- A smartphone or tablet with a working rear camera (for camera-based scanning), or a dedicated handheld barcode/QR scanner.
- For a handheld scanner: its charging cable, and the manual or setup card that came in the box (it usually contains configuration barcodes).
- A good light source and a clean, flat copy of the code. Glare and creases are the two most common reasons a scan fails.
- For smart home pairing: the device's own app installed and an account signed in, since most pairing codes only work inside the maker's app.
Step-by-Step
- Decide which tool fits the code. A QR code or a standard retail barcode on a phone is best handled by the camera app. A handheld scanner is the right tool for scanning many items quickly, or for scanning into a computer program where you need the text to land in a field.
- For phone scanning, open the camera app, not a random third-party app. On iPhone, the built-in Camera app detects QR codes automatically; on most Android phones the Camera app or Google Lens does the same. Point the rear camera at the code, hold steady about 10–20 cm away, and wait for a banner or link to appear. Tap it to open.
- If the camera app does not detect codes, check the setting. On iPhone the toggle is under Settings > Camera > Scan QR Codes (labels can differ slightly by iOS version and region). On Android, look in the Camera app's own settings for a scan or Lens option, or open Google Lens directly. If you cannot find the toggle, use the maker's official scanning app from the App Store or Google Play instead.
- For a handheld scanner, charge it first. A partly charged scanner can pair and then drop the connection mid-scan. Plug it into a powered USB port or its charger until the charge indicator shows ready.
- Connect the scanner. For USB, plug the cable into the computer; most scanners present themselves as a keyboard and need no driver. For Bluetooth, put the scanner in pairing mode (usually by holding the trigger or scanning a pairing barcode from the manual), then pair it from your computer or phone's Bluetooth settings. If the manual has a Bluetooth pairing barcode, scan that rather than guessing the button sequence.
- Set the keyboard language and layout on the host. Because scanners type like a keyboard, a mismatched layout turns punctuation and digits into the wrong characters. Set the computer or phone to the layout you actually use before scanning anything important.
- Place the cursor where the text should go. Click into the spreadsheet cell, search box or form field first. Then aim the scanner's beam across the whole code, from a few centimetres to about 15 cm depending on the model, and hold the trigger. Most scanners beep once on a good read.
- Check the first scan before doing a batch. Scan one item, confirm the characters are correct in the field, then proceed. This catches layout and suffix problems before you have scanned a hundred items wrongly.
- For smart home pairing codes, scan inside the device's app. Open the app, choose Add device, and use its in-app scanner rather than the phone camera. A pairing QR code usually encodes a setup token that only the maker's app can use, so scanning it with the camera app will show text or a link that does nothing useful.
- Test the result. For a product code, confirm the lookup returns the right item. For a pairing code, confirm the device appears in the app and responds to a command. If it does not, remove the device from the app and pair again rather than scanning repeatedly.
Common Mistakes
- Scanning a Wi-Fi QR code with the camera and expecting the phone to join automatically on every platform; behaviour differs, and some phones only offer to copy the network details.
- Using the phone's camera app for a device pairing code instead of the maker's app, which is the single most common reason pairing fails.
- Scanning through plastic film, a window, or a screen at an angle. Reflections and moiré patterns break detection.
- Leaving the host keyboard on the wrong layout, so scanned serial numbers gain or lose characters.
- Holding the scanner too close on a large barcode, or too far on a dense QR code; both cut the code out of the sensor's sweet spot.
- Ignoring a low-battery warning on a handheld scanner and blaming the software when scans start dropping.
Tips
- Clean the camera lens and the scanner window with a dry microfibre cloth; a smudge is enough to blur a dense code.
- For very small QR codes, move closer and let autofocus settle rather than zooming digitally.
- Keep the scanner's manual safe: the configuration barcodes in it are how you reset the device to defaults if settings get changed by accident.
- When scanning a batch, work in consistent light and keep codes flat; a slight curl on a label is often enough to fail.
- If you scan codes that contain personal information, remember that recording and storing that data is regulated differently depending on where you live.
Troubleshooting
If nothing happens at all, restart the phone or computer, then check that the camera or scanner is actually the active input. On a handheld scanner, confirm it is paired and that the cursor is in a text field; a scanner with nowhere to type looks broken but is not. If the camera app sees the code but does nothing, the code may be a format the app does not act on, so try the maker's official app or Google Lens.
If scans come through with wrong characters, fix the keyboard layout first, then check whether the scanner has a suffix or prefix configured. If a handheld scanner stops mid-batch, charge it and re-pair; if it still drops, forget the device in Bluetooth settings and pair again from scratch. For a smart device that will not pair, remove it from the app, power-cycle both the device and the phone, and retry within the app. Only as a last resort reset the device, and note that a factory reset erases its settings and any stored schedules or automations, so you will need to set it up again.
Frequently Asked Questions
Do I need a special app to scan a QR code?
Usually not. The iPhone Camera app and most Android camera apps detect QR codes natively. A dedicated app is only needed for formats the camera ignores or for device pairing.
Why does my scanner type the wrong characters?
Almost always a keyboard layout mismatch. Set the host to the layout you use, and check the scanner's suffix setting if extra characters appear at the end of each scan.
Can I scan a code from a screen?
Yes, but turn the screen brightness up, avoid reflections, and hold steady. Very dense codes on a low-resolution screen can fail.
Why won't my smart device pair from its QR code?
The code is usually tied to the maker's app. Scan it from inside that app's Add device flow, not with the phone camera.
How far away should a handheld scanner be?
It varies by model and code size; start a few centimetres away and pull back slowly until it beeps. The maker's manual gives the rated range for your unit.