---
title: "Food Product Barcode Generator – UPC & EAN, Free"
description: "Free barcode generator for food products. Make UPC or EAN barcodes for packaged food, learn about variable-weight and lot/expiry codes. PNG, SVG or PDF."
url: https://barcodejar.com/barcode-for-food-products
source: BarcodeJar (free barcode tools)
---

# Barcode for Food Products

Packaged food sold in shops needs a GS1 UPC (US/Canada) or EAN-13 on every pack size. Make yours here for free, and see when you need weight, lot or expiry barcodes too.

_Interactive tool: open https://barcodejar.com/barcode-for-food-products to use it in your browser. It is free with no sign-up._

## How to get a barcode for a food product

1.  License a GS1 company prefix (or single GTINs) and assign one GTIN per flavour and pack size.
2.  Enter the number above and download the SVG or PDF for your packaging designer.
3.  Add case barcodes (ITF-14) if your distributor or retailer needs them.
4.  Scan-test a printed proof on the real packaging material.

**Short answer:** Food labelling laws do not require a barcode, but grocery retailers and distributors do. Each flavour and pack size needs its own GS1 GTIN. Print it as UPC-A (North America) or EAN-13 (elsewhere), black on white, at 80%–200% of nominal size.

## Barcodes in the food supply chain

| Level | Barcode | Contains |
| --- | --- | --- |
| Consumer pack | [UPC-A](https://barcodejar.com/upc-barcode-generator) / [EAN-13](https://barcodejar.com/ean-13-barcode-generator) | GTIN-12 or GTIN-13 |
| Small pack | [UPC-E](https://barcodejar.com/upc-e-barcode-generator) / [EAN-8](https://barcodejar.com/ean-8-barcode-generator) | Shortened GTIN |
| Fresh / variable weight | [GS1 DataBar Expanded](https://barcodejar.com/gs1-databar-expanded-generator) or in-store prefix-2 codes | GTIN plus weight, price, best-before |
| Case | [ITF-14](https://barcodejar.com/itf-14-barcode-generator) or [GS1-128](https://barcodejar.com/gs1-128-barcode-generator) | GTIN-14, often with lot and dates |
| Pallet | [SSCC](https://barcodejar.com/sscc-generator) in GS1-128 | Serial shipping container code |

## Lot codes, best-before and recalls

Retail UPCs do not carry lot numbers or dates. Traceability data goes on cases and pallets with GS1-128 (AIs (10) batch, (15) best before, (17) use by), or on the pack in a 2D code. GS1's "Sunrise 2027" goal is for retail checkouts to scan 2D barcodes such as GS1 DataMatrix and GS1 Digital Link QR codes by the end of 2027, which lets brands put batch and expiry on the pack itself.

## Packaging tips for food

-   Avoid placing the barcode on seams, folds or tightly curved areas such as the neck of a bottle.
-   On cans and small jars, turn the barcode so the bars run horizontally (ladder orientation) if the curve distorts it.
-   Do not use red or yellow bars, and avoid metallic or transparent backgrounds.
-   Ask your printer for a print test and scan it before the full run.

See also: [barcode generators for every platform, product and use case](https://barcodejar.com/barcode-generator-for).

## Frequently asked questions

### Is a barcode legally required on food?

Generally no. Food labelling laws cover ingredients, allergens and nutrition. Barcodes are required by retailers and distributors, which makes them essential in practice.

### Does each flavour need its own barcode?

Yes. Each flavour, size and pack count is a separate trade item with its own GTIN.

### How do weighed products like meat and cheese get barcodes?

Shops often print in-store codes starting with 2 that carry the item and price or weight, or use GS1 DataBar Expanded, which can encode GTIN, weight and dates.

### Can I sell at a farmers market without a barcode?

Yes. You only need GS1 barcodes when selling through shops or distributors that scan products.

### What size barcode for a small food pack?

UPC-A can go down to 80% of nominal size. Below that, ask GS1 about UPC-E or EAN-8. Do not shorten the bar height.

## Related free tools

[![UPC-A Generator example](/thumbs/upca.svg)**UPC-A Generator**Create UPC-A barcodes free. PNG, SVG, PDF.](https://barcodejar.com/upc-barcode-generator)[![EAN-13 Generator example](/thumbs/ean13.svg)**EAN-13 Generator**Create EAN-13 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/ean-13-barcode-generator)[![ITF-14 Generator example](/thumbs/itf14.svg)**ITF-14 Generator**Create ITF-14 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/itf-14-barcode-generator)[![GS1-128 Generator example](/thumbs/gs1-128.svg)**GS1-128 Generator**Create GS1-128 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/gs1-128-barcode-generator)[![GS1 DataBar Expanded Generator example](/thumbs/databarexpanded.svg)**GS1 DataBar Expanded Generator**Create GS1 DataBar Expanded barcodes free. PNG, SVG, PDF.](https://barcodejar.com/gs1-databar-expanded-generator)[**SSCC Generator**SSCC-18 pallet codes with check digit and label.](https://barcodejar.com/sscc-generator)[**Barcode Size Guide**Minimum sizes, quiet zones and print resolution.](https://barcodejar.com/guides/barcode-size-guide)[**How to Get a Barcode for Your Product**GS1, resellers, Amazon and retail rules explained.](https://barcodejar.com/guides/how-to-get-a-barcode-for-your-product)
