Logging Meals

Scan a barcode for packaged food

How BeforeIBite's barcode scanner works, how the lookup happens, and what to do when a barcode isn't recognised.

Updated May 21, 2026

For anything with a UPC on the package, scanning the barcode is the fastest and most accurate way to log it — there's no AI estimation involved.

The flow

  1. From the Today tab, tap the + button to open the capture sheet.
  2. Switch the scanner mode at the bottom to Barcode scanner. The prompt at the top will change to "Hold the barcode in the frame."
  3. Point your camera at the barcode on the package. Hold steady until the scanner detects it (usually instant).
  4. Finding nutrition details... appears for a moment while we look up the product.
  5. The product opens in the meal editor with its name, portion (per the label), and full nutrition pre-filled.
  6. Adjust the portion if you ate more or less than the label's serving size, then tap to save.

The Barcode scanner: an orange juice bottle's EAN-13 barcode framed in the viewfinder, with the "Hold the barcode in the frame." prompt

How the lookup works

When you scan a barcode, BeforeIBite checks external food databases for a match. Coverage is strongest for widely-sold packaged products and thinner for local store brands and very new items.

Like every in-app request, the lookup is sent to BeforeIBite's server signed in to your account. From there, only the barcode number is passed on to the external food databases — they never receive your account, your meal log, or anything else about you. See What data does BeforeIBite collect? for the data details.

When the barcode isn't recognised

If no database has the product, you'll see a "Product not found" screen. This happens most often with:

You have two good fallbacks:

When the result needs adjusting

Barcode results are usually accurate for the per-serving values printed on the label, but the serving size on a package is rarely how much you actually ate. After the lookup, adjust the portion in the meal editor — see Edit or correct a logged meal — before saving.

Sharing a packaged dish

If you split a packaged item with someone — half a tub of yogurt, a packet of chips shared between two people — log the full package first, then use the split-dish flow. See How to log shared meals.