Difference between revisions of "Barcodes"

From Open Food Facts wiki
Jump to navigation Jump to search
(Barcodes > 13)
(Barcode weight + Testing barcodes sections)
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
* [to be completed]
 
* [to be completed]
  
Open Food Facts website '''can't display''' a product with a barcode longer than '''24''' chars.
+
Open Food Facts website '''can't display''' a product with a barcode longer than '''24''' chars ([https://github.com/openfoodfacts/openfoodfacts-server/issues/6571 a bug is open]).
 +
 
 +
== Barcode weight ==
 +
For EAN-13 barcodes, GS1 recommend barcodes' weight to be ~32mm. In general, producers tend to use barcodes between 24 and 35 mm. Values below 24mm and above 35 are rare.
 +
 
 +
== Testing barcodes with our apps ==
 +
It's interesting to control that our apps are playing well with different barcodes' size. We build a [https://docs.google.com/document/d/12VtFOsnHfK4PVwBJy_aHwSogX_yKRNfzoiHCPD1sxN0/edit# test document] that you can print and use with the app.
  
 
== All things barcode ==
 
== All things barcode ==

Revision as of 13:17, 13 June 2022

Other languages
/ français /

Barcode length

The majority of product codes are following EAN-13 standard, and, as such, are 13 chars length.

As of 2022-04-06, Open Food Facts contains more than 12,000 products (~0.5%) with a barcode longer than 13 chars.

Open Food Facts website can't display a product with a barcode longer than 24 chars (a bug is open).

Barcode weight

For EAN-13 barcodes, GS1 recommend barcodes' weight to be ~32mm. In general, producers tend to use barcodes between 24 and 35 mm. Values below 24mm and above 35 are rare.

Testing barcodes with our apps

It's interesting to control that our apps are playing well with different barcodes' size. We build a test document that you can print and use with the app.

All things barcode

Barcode related pages on Open Food Facts

News

  • Wikidata is adding support for GS1 country prefixes

Roadmap

  • Features and bugs to work on
  • Adding APIs for mobile scanning apps
    • Get country suggestions
    • Get Manufacturer Code suggestions
    • Get Product Code suggestions
    • Get barcode API
    • Generate barcode SVG

See also