Free EAN-13 Barcode Generator

Enter 12 digits to generate an EAN-13 barcode with auto check digit. Download as PNG for product labels and packaging.

Enter 12 digits — the check digit is calculated automatically. Or enter all 13 to validate.

About EAN-13 Barcodes

EAN-13 (European Article Number) is the most widely used retail barcode standard in the world. It encodes 13 digits — a country/company prefix, item reference, and a check digit — in a pattern of bars and spaces that any barcode scanner can read.

EAN-13 Number Structure

Digits Meaning Example
1–3GS1 prefix (country/company)590 = Poland
4–7Manufacturer code (assigned by GS1)1234
8–12Item reference (assigned by manufacturer)12345
13Check digit (calculated automatically)7

EAN-13 vs UPC-A

UPC-A is used primarily in the US and Canada, encoding 12 digits. An EAN-13 barcode starting with a leading zero is equivalent to a UPC-A barcode — most modern scanners read both. Retailers outside North America prefer EAN-13, while US/Canadian retail uses UPC-A.

Check Digit Calculation

The check digit is calculated using the Luhn-like algorithm: multiply alternating digits by 1 and 3, sum the results, and the check digit is whatever makes the total a multiple of 10. This tool calculates it automatically from your 12 input digits.

Scanning with a Mobile App

The Scan & Generate app can read EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, ITF, and more — all from your phone camera. Scan any product barcode to get the number instantly, or use the history to track what you've scanned.

Scan EAN-13 Barcodes Instantly

The Scan & Generate app reads EAN-13, UPC-A, Code 128, and 20+ other barcode formats — plus keeps a searchable history of every scan.