A code scanner (a barcode or QR code scanner) turns a printed or on-screen code into usable information: a web link, a product number, a Wi-Fi login, a contact card or plain text. To use one, open your scanner app, point the camera at the code so it fills most of the frame, hold still until the app locks on, then tap the result to open or save it. Most phones scan codes natively through the camera app, and dedicated scanner apps add history, batch scanning and export. The steps below cover the common phone-based workflow; menu labels can differ slightly by app version, device and region.

What You'll Need

  • A smartphone or tablet with a working rear camera
  • A scanner app from the official app store (your phone's built-in camera often works for QR codes)
  • Good, even lighting on the code
  • A stable surface or steady hand, and a clean camera lens
  • Permission for the app to use the camera, granted when prompted

Step-by-Step

  1. Clean the lens. Wipe the rear camera with a soft cloth. A smudged lens is the most common reason a code will not focus.
  2. Install or open your scanner. Use the built-in camera app first: on most phones, point the camera at a QR code and a link or action banner appears automatically. For barcodes and batch work, install a scanner app from the official app store for your platform (Apple App Store on iPhone, Google Play on Android).
  3. Grant camera permission. The first time you open a scanner app it asks for camera access. Allow it. If you declined by accident, go to your phone's Settings, find the app in the app list and enable Camera.
  4. Choose the right mode. In a scanner app, select QR code, barcode or the automatic/auto-detect mode. Auto-detect is easiest for mixed codes. Some apps also offer batch mode, which keeps scanning without closing the result each time.
  5. Frame the code. Hold the phone about 10–20 cm (4–8 inches) away and center the code inside the on-screen box. Fill roughly half to three-quarters of the frame. Move closer for small codes, farther back for large ones.
  6. Hold still and let it focus. Tap the screen on the code to force focus if the image is blurry. Wait for the app to beep or display the result. Most codes scan in under two seconds once focused.
  7. Read the result before acting. The app shows what the code contains: a URL, text, a Wi-Fi network, a phone number or contact details. Check the preview. For links, confirm the address matches the expected site before tapping.
  8. Act on the result. Tap Open to launch the link, Copy to save the text, or Save/Add to store a contact or Wi-Fi network. For Wi-Fi QR codes, the phone offers to join the network automatically.
  9. Check history or export if needed. Most scanner apps keep a scan history you can reopen later. Use the app's share or export option to send results by email or save them as a file.
  10. Close and repeat. Dismiss the result to scan the next code. In batch mode, keep the camera moving to the next code without closing each result.

Common Mistakes

  • Holding the phone too close. Filling the entire frame with a code often defeats autofocus. Back off until the code sits inside the guide box.
  • Scanning at an angle. Codes need to be roughly parallel to the camera. Tilted or curved codes (on a bottle, for example) may need flattening or a second pass.
  • Ignoring glare. Shiny labels and phone screens reflect light. Change your angle or shade the code with your hand.
  • Tapping links without checking. QR codes can point anywhere. Read the preview URL and never enter passwords or payment details on a site you did not expect.
  • Using a third-party app for everything. Your phone's camera handles most QR codes already; extra apps are only needed for barcodes, history or batch scanning.
  • Forgetting to allow camera access. A black viewfinder usually means permission was denied, not that the camera is broken.

Tips

  • Scan in good light and avoid direct sun on the code.
  • Hold the phone steady with both hands, or rest your elbows on a surface.
  • For codes on a screen, turn the screen brightness up and reduce glare by angling slightly.
  • If a code is damaged or partly covered, try a different angle; error correction in QR codes tolerates some damage but not missing corners.
  • Use batch mode for inventory or event check-in to avoid closing results repeatedly.
  • Keep your scanner app updated so camera and focus fixes reach your device.
  • Never scan codes from strangers or unsolicited mail without checking the preview first.

Troubleshooting

If the code will not scan, work through these in order, simplest and safest first:

  1. Restart the app and phone. Close the scanner app fully and reopen it; if that fails, restart the phone.
  2. Check camera permission. Go to Settings, find the app and confirm Camera is allowed. If it is off, turn it on and reopen the app.
  3. Clean the lens and improve lighting. Wipe the lens, move away from glare and try again.
  4. Update the app and system. Install any pending updates from the official app store and your phone's system settings.
  5. Try the built-in camera. If a third-party app fails, point your phone's native camera at the code to see whether the code itself is readable.
  6. Reinstall the app. Uninstall and reinstall from the official store. This clears the app's local settings and history; back up anything you need first.
  7. Test with a known-good code. Scan a code you trust (for example, one you generated yourself) to confirm the scanner works and isolate the problem to a specific code.

If a code still will not scan, it may be damaged, too small, low-contrast or simply not a valid code. Ask the issuer for a replacement rather than trying workarounds.

Frequently Asked Questions

Do I need a separate app to scan QR codes?

Usually not. The built-in camera on most current phones recognizes QR codes and shows a link or action. A separate app helps for barcodes, scan history and batch scanning.

Why does my scanner show a black screen?

Almost always a camera permission problem. Enable Camera for the app in your phone's Settings, then reopen it.

Can I scan a code from another phone's screen?

Yes. Turn up the other screen's brightness, hold your phone steady and angle slightly to avoid glare. Screen codes scan reliably when glare is controlled.

Is it safe to open any QR code?

No. Codes can point to malicious sites. Read the preview URL and never enter passwords or payment details on an unexpected site. Recording laws also vary by location if a code leads to a camera or audio feature.

Why does a barcode fail but a QR code works?

Barcodes are one-dimensional and need the scan line aligned across the bars; many camera apps do not read them natively. Use a scanner app's barcode mode and align the on-screen line with the bars.

Can I recover a scan I closed by mistake?

Often yes. Most scanner apps keep a history of recent scans. Open the app's history or recent scans list to find it; if the app has no history, the result is gone.