Skip to content
Volunteers in green vests catalogue food products around a wooden crate

What is Open Food Facts and why an open database matters

Guides5 min read

Open Food Facts is an open, collaborative food database. What it contains, how it is used, what its limits are and why it matters that it is open.

by Equipo de SuperLikeIt

Table of contents
  1. What it is
  2. What a product page contains
  3. Why it matters that it is open
  4. How SuperLikeIt uses it
  5. Limits to keep in mind
  6. How you can contribute
  7. A worked example: from code to product page
  8. Summary
  9. Frequently asked questions

Short answer: Open Food Facts is a database of food products from all over the world, built by volunteers and free to use. Each product is identified by its barcode and has a page with the data from its label. It matters because it is a public, reusable source: anyone can consult it, improve it and build on top of it, instead of depending on a closed catalogue.

What it is

Open Food Facts is a collaborative, non-profit project: an association of volunteers that catalogues food products. It works like an encyclopedia of products: anyone can add a new product, a photo of the pack or correct a detail.

The database is available in many languages and countries, with its own Spanish version at es.openfoodfacts.org.

What a product page contains

Depending on the product and how complete it is, a page may include:

  • The barcode that identifies it (the EAN we explain in how to read an EAN barcode).
  • Name, brand, quantity and category.
  • Photos of the pack.
  • Ingredient list and other data shown on the label.
  • Countries where it is sold.

Note the words "depending on how complete it is". A collaborative database has very complete pages and others with almost nothing. Not every product is there, and some data may be out of date.

Why it matters that it is open

1. Anyone can check it and fix it

In a closed database, a mistake stays where it is until its owner decides to fix it. In an open one, whoever sees it can correct it. That does not make it infallible, but many hands can improve it.

2. Anyone can build on it

The data has an open licence, the ODbL, which allows reuse if the source is credited and its conditions are respected. That allows apps, studies and tools to exist that would otherwise have to start from scratch.

3. It does not depend on a single company

A proprietary catalogue can change its terms, its price or disappear. An open database sustained by a community offers more continuity and transparency.

How SuperLikeIt uses it

When you scan a barcode in SuperLikeIt, the product page may come from Open Food Facts: name, brand, photo and category. We query it from our server, keep a copy of what we use and refresh it from time to time so as not to overload their service.

Two things worth making clear:

  • Attribution. We show that the product data comes from Open Food Facts, and we explain it on our sources page (/legal/fuentes).
  • Each thing in its place. The taste reviews and prices people note are ours and live in our own tables. They are not mixed into the Open Food Facts database nor published in it.

If a code does not exist in their database, SuperLikeIt lets you create the product by hand, with a name, brand and photo, and it stays pending review.

Limits to keep in mind

  • There may be errors. A wrong photo, an incomplete name, a size noted incorrectly.
  • There may be gaps. Local, new or uncommon products have fewer pages.
  • It does not include taste. The data comes from the label, not from taste. For that there are other shoppers' reviews.
  • The product pages do not carry shop prices. Each shop sets the price and it changes.

How you can contribute

If you find a product that is missing or a page with a mistake, you can add or correct it in Open Food Facts, which has its own apps and a wiki with instructions. The more good pages, the better for everyone, including the apps that rely on it.

A worked example: from code to product page

Imagine you scan the code on a pack of biscuits:

  1. The app reads the number and checks that the check digit is correct.
  2. It looks for the product among those it already knows. If it exists, it shows its page.
  3. If it does not exist, it queries Open Food Facts and keeps the data it needs for the page.
  4. If it is not there either, it offers to let you create the product with a name, brand and photo.
  5. You give your verdict and, if you want, note the price you see.

The whole process depends on someone, at some point, having registered that product. That is why an open database, which anyone can contribute to, ends up more complete than a catalogue that only one company updates.

Summary

  • Open Food Facts is an open, collaborative, non-profit database of food products.
  • It identifies each product by its barcode.
  • Its open licence allows reusing the data with attribution.
  • It has errors and gaps, like any collaborative database, but they can be fixed.
  • SuperLikeIt uses it for product pages and keeps its own reviews and prices separate.

Frequently asked questions

Is Open Food Facts free?

Yes, consulting and using its data is open, under the terms of its licence, which include attribution.

Who maintains it?

A community of volunteers and a non-profit association. Anyone can take part.

Is its data reliable?

As reliable as the specific page is. Some pages are very complete and others have errors, so it pays to check against the label on the pack.

What if a product does not appear?

It may be new or uncommon. In SuperLikeIt you can create it by hand; in Open Food Facts you can add it yourself.

Does SuperLikeIt publish my reviews on Open Food Facts?

No. Your reviews and the prices you note belong to SuperLikeIt and live in our own tables, apart from the product data.

See what tastes good before you buy it

SuperLikeIt is free and has no ads. Scan the barcode, give your verdict and see what everyone else thinks.

Create my free account

Keep reading