International Food Code
Many national food composition databases (FCDB) encode foods with unique codes to enable consistent identification and data exchange. International collaborative efforts such as Food and Agriculture Organization International Network of Food Data Systems (FAO/INFOODS) guidelines recommend unique food identifiers, and secondary resources use a composite identifier format that has been referred to as an International Food Code (IFC) to reference foods across multiple FCDBs.[1]
Structure of an IFC
An IFC begins with a database identifier: An ISO 3166-1 alpha-2 code which identifies the source country, followed by a two digit code which represents the year of publication of the source database. A dot is usually used to separate the database identifier from the food code used by the publisher. The publisher's code can be up to 8 characters long, so the maximum length for an IFC is 12 characters, excluding the optional dot.
Examples
- GB15.14-318
- The code above shows "Bananas, flesh only" from UK published "COFIDS Includes McCance & Widdowson 2021"[2]
- IE09.5068
- The code above shows "Porridge, made with low fat milk" from Irish published "Irish Food Composition database 2009"
- US15.15083
- The code above shows "Fish, salmon, pink, raw" from US published "United States Department of Agriculture, SR28 2015"[3]
Use on Barcodes and numeric systems
A common variation on the IFC structure is to replace the leading ISO 3166-1 alpha-2 letters with their numeric equivalents. The publisher's code is then prefixed with leading zeros and the dot is excluded to create a 13 digit code. This allows the IFC to be used as a Universal Product Code for barcode identification.
Example: GB15.14-318 becomes 8261500014318
References
- ^ FAO/INFOODS (2012). FAO/INFOODS Guidelines for Checking Food Composition Data prior to the Publication of a User Table/Database – Version 1.0 (PDF). FAO/INFOODS Standards and Guidelines (Technical guideline/manual). Rome, Italy: Food and Agriculture Organization of the United Nations. Retrieved 25 February 2026.
- ^ Public Health England (2021). McCance and Widdowson’s The Composition of Foods Integrated Dataset 2021 (PDF) (User guide / database documentation). United Kingdom: GOV.UK (UK Government). Retrieved 8 March 2026.
- ^ U.S. Department of Agriculture, Agricultural Research Service, Nutrient Data Laboratory (2015). Composition of Foods: USDA National Nutrient Database for Standard Reference, Release 28 — Documentation and User Guide (PDF) (Technical documentation / database user guide). Beltsville, Maryland, United States: U.S. Department of Agriculture. Retrieved 8 March 2026.
{{cite report}}: CS1 maint: multiple names: authors list (link)