Food Product Barcodes in the UK: When You Need Them and How to Get Them
Sooner or later a deli, farm shop or wholesaler asks the question: “Has it got a barcode?” For a small producer it can feel like a gate into retail with no obvious way through. It is simpler than it looks. This guide explains what a food barcode is, when you actually need one, how GS1 UK membership and GTINs work, how to print barcodes that scan, and how barcodes on the ingredients you buy can save you hours of typing.
What a food barcode actually is
The barcode on a supermarket product has two parts: a number, called a GTIN (Global Trade Item Number), and the symbol, the bars that let a scanner read that number quickly. On most UK consumer products the symbol is an EAN-13, the familiar 13-digit barcode.
The number is a key, not a record. When a till scans it, the shop's own system looks the number up to find the product name and price it has stored. Nothing about your recipe, ingredients, allergens, batch or date is inside a standard retail barcode. That is why a barcode never replaces the food information your label has to carry.
GTINs are managed by GS1, a not-for-profit global standards organisation. In the UK that is GS1 UK. Its system makes sure no two products anywhere share a number, which is what lets retailers rely on them.
Do you need barcodes on your food products?
Barcodes are a commercial requirement rather than one of the food information rules. Food labelling covers things like the name, ingredients and allergens; barcodes are asked for by the businesses you sell through. If you are unsure about a specific product, check current FSA guidance or ask your local authority. As a rough guide:
Barcoding bakery products
Bakery products raise a few specific questions. Each version of a product that a buyer would treat as different (another flavour, size or pack count) normally needs its own GTIN, so a pack of four brownies and a pack of six are two numbers. Products a shop weighs and prices on its own counter are often labelled by the shop with its own in-store code rather than yours, so ask the buyer what they expect before you print anything. GS1 UK publishes rules on when a change to a product needs a new number; check them before you change a recipe, weight or pack.
How to get barcodes from GS1 UK
- Join GS1 UK. Membership is annual and the fee depends on the size of your business; GS1 UK publishes its current fees on its website.
- Receive your company prefix. This is the start of every number you will allocate, and it identifies your business.
- Allocate a GTIN to each product variant and keep a list of which number belongs to which product. Never reuse a number for a different product.
- Create the barcode images from those numbers, using GS1 UK's tools or your label or design software.
- Share the product details with your buyer in the format they ask for, so their system can look the number up.
- Test before you print in bulk. Scan a printed sample, and ask your buyer whether they need a formal verification report.
You will see cheap barcodes for sale from resellers. Those numbers may already be registered to another company, and retailers that check numbers against GS1 records can reject them. If you are aiming at retail or wholesale, get your numbers from GS1 UK.
Printing barcodes on your food labels
A barcode that will not scan is worse than none, because it holds up a delivery or a till queue. A few practical rules:
- Do not shrink it. Keep to GS1's recommended size range; a squashed barcode on a small label is the most common failure.
- Leave the quiet zone, the blank margin either side of the bars, clear of text and edges.
- Dark bars on a light background. Black on white is safest. Red or light-coloured bars often fail to scan.
- Print sharply. Check your printer's resolution and replace worn heads or ribbons; fuzzy bars misread.
- Place it on a flat surface, away from folds, seams and tight curves.
- Keep it separate from the food information. The barcode sits alongside the name, ingredients, allergens and date, never instead of them.
If you are laying out your first label, our guide to making your own food label covers what goes where, and kitchen labelling software explains prep and date labels.
The other direction: scanning barcodes on ingredients you buy
Barcodes are also useful at the start of the chain. Every packaged ingredient you buy already has one, and that number can be used to look up the product's details instead of typing them in. This is what FoodCore's barcode ingredient import does:
- In the ingredients section, tap scan and point your phone or tablet camera at the barcode on the pack.
- FoodCore looks the barcode up in Open Food Facts, a community-maintained open product database.
- If the product is found, you see its name and brand, the nutrition per 100 g, the 14 allergens flagged from the product data and the ingredients list for compound products.
- The result goes into a review queue, not straight into your library. You check it against the pack in front of you, add your supplier and the price you pay, and confirm.
- If the barcode is not found, you can save a placeholder and fill in the details later.
Because FoodCore builds every recipe's allergens and label from your ingredient records, getting those records right is what matters. Open product databases are a quick start, not a specification: data quality varies and can lag behind a manufacturer's latest recipe, and “may contain” statements are not always captured. Always check imported allergens against the pack and your supplier's specification. Allergen accuracy stays your responsibility as the food business operator.
Looking for a barcode food API?
FoodCore is not a barcode API; the lookup is built into the app for your own ingredient records. If you are a developer who wants raw product data, open databases such as Open Food Facts publish their data openly. The same caution applies: for anything that ends up on a label, the supplier's specification is the source of truth.
Where FoodCore fits, and where it does not
- It does not issue GTINs or barcodes. Only GS1 UK does that.
- It is not a till or EPOS system, and it does not sell label printers. Labels print from your phone to AirPrint or Android printers, or as a PDF.
- It does handle the food information your barcode sits next to: on every plan, recipes, the 14 allergens tracked from ingredient to label, Natasha's Law PPDS labels with allergens in bold, and shelf life with automatic date labels. Wholesale price lists are on Growth, or a bolt-on alongside Orders & collections, for when you start supplying shops.
Try FoodCore free for 7 days →
Food barcodes: frequently asked questions
Do I need a barcode to sell food in the UK?
Not usually if you sell directly from a stall, counter or your own website. Barcodes are normally asked for by retailers, wholesalers and marketplaces that scan stock. Your label still needs the food information required for the way the product is sold, with or without a barcode.
Do bakery products need barcodes?
Only if the business you sell through needs them. Each variant, such as another flavour, size or pack count, normally needs its own number. Items a shop weighs and prices itself are often labelled with the shop's own in-store code, so ask the buyer first.
How do I get a barcode for my food product?
Join GS1 UK, receive your company prefix, allocate a GTIN to each product variant, create the barcode images and test a printed sample before printing in bulk. GS1 UK publishes its current membership fees on its website.
Can I buy cheap barcodes online instead?
You can, but resold numbers may already be registered to another company, and retailers that check numbers against GS1 records can reject them. If you plan to sell through retail or wholesale, get your numbers from GS1 UK.
Does a barcode contain the ingredients or allergens?
No. A standard retail barcode holds only the product number. The shop's system looks that number up. Ingredients, allergens and dates must still be on the label as the rules for your selling route require.
Can FoodCore scan barcodes on ingredients?
Yes. FoodCore's barcode ingredient import looks the barcode up in Open Food Facts and brings in the product name, nutrition, allergens and ingredients list for you to review before it is added to your ingredient library. Always check it against the pack and supplier specification.
Sources and further reading
FoodCore is kitchen management software built for small UK food businesses: recipes with automatic allergens, Natasha's Law labels, costing, stock and food safety records. This article is general guidance, not legal advice. Check your own situation with your local authority.
Start free trial →