Barcode Scanner for Packaged Food

Point your phone camera at the barcode on a packet, bottle or tin and read its calories, protein, carbohydrates and fat in a couple of seconds. The image never leaves your device — only the decoded number is used to look the product up.

Packaged & branded food This page

Packet, tin, bottle, ready meal, snack bar — anything printed with a barcode. Looked up in Open Food Facts, an open crowd-sourced product database.

Raw ingredients & basic foods USDA data

Chicken breast, rice, apples, lentils and other unbranded foods. Those live in a different tool that uses USDA FoodData Central.

Search foods by name instead →
Camera is off Tap “Start camera” below. On phones the rear camera opens automatically.
or type the barcode
Switch to manual food search (USDA)
Which barcodes can I scan?

EAN-13 (the 13-digit number on most international packaging), EAN-8 on small packs, and UPC-A (the 12-digit number used in the United States and Canada). The decoding runs locally in your browser using the open-source ZXing library, so no photo is uploaded anywhere.

Why is my product not in the database?

Open Food Facts is crowd-sourced by volunteers, so genuinely new, store-brand or regional products may be missing. Use the Switch to manual food search button for unbranded ingredients, or Type the label by hand to enter the values straight off the pack.

Per 100 g, or per serving?

Values are shown per 100 g (or per 100 ml) because that is how packaged food is normally compared. When the database knows the serving size, a second per-serving column is shown too. Brands increasingly print both, so check which column you are reading.

Some rows say N/A. Is that a bug?

No. Volunteer-submitted entries are frequently incomplete. When a nutrient is missing we show N/A rather than inventing it or printing a misleading 0. A real 0, such as fat in a fat-free drink, still appears as 0.

The camera will not start — what should I do?

Browsers only allow camera access on a secure page, so this works on https:// and on localhost. You also need to grant permission: if you previously blocked it, open your browser’s site settings for bmibite.com and allow Camera, then reload. Some desktop computers have no camera at all — in that case type the barcode number or use a photo.

Where does the data come from?

Product data comes from Open Food Facts, released under the Open Database License (ODbL). It is community-maintained, so always sanity-check it against the pack in your hand.

More BMIbite tools