UPC Product Scanner
Point your phone's camera at any product barcode and get instant product info — name, brand, category, and image — pulled live from a public database. No account, no API key, completely free.
This is a real-world example of the kind of tool we build for retail clients. A smoke shop, grocery, hardware store, or any product-based business can use a scanner like this for inventory checks, price lookups, or customer-facing product info — all running off a simple API call.
How It Works
GET openfoodfacts.org/api/v2/product/{barcode} Open on Your Phone
This demo requires a mobile device with a camera. Scan the code below or type the URL.
What Happens Behind the Scenes
The browser requests camera permission. The html5-qrcode library reads frames from the video stream in real time, looking for barcode patterns.
When a valid UPC-A, EAN-13, or other supported barcode is found, the numeric code is extracted — no photo is stored or sent anywhere.
A single GET request goes to openfoodfacts.org/api/v2/product/[barcode]. The response comes back in under a second with everything known about that product.
Product name, brand, category, and image are pulled from the JSON response and displayed. The whole round trip from scan to result takes about 1–2 seconds.