Barcode Types Explained: EAN-13, UPC-A and Code 128
By Handy Tool Online ·
Short answer: EAN-13 (13 digits) and UPC-A (12 digits) are retail product codes issued through GS1; Code 128 is a flexible format for letters and numbers used in logistics and internal inventory.
Retail codes
UPC-A is common in North America and has 12 digits. EAN-13 is used in most of the rest of the world and has 13. Both end with a check digit calculated from the others, so a mistyped number is rejected. To sell in major retail chains you normally need genuine numbers from GS1, not self-made ones.
Code 128
Code 128 encodes the full ASCII set compactly, which suits shipping labels, asset tags and warehouse locations where you define your own values.
Printing tips
Keep the quiet zones blank, print with high contrast and avoid shrinking the barcode below the recommended size. Scan a printed sample before producing labels in bulk.
Try the tools
FAQ
Can I make my own EAN or UPC numbers?
For internal use yes, but for retail sale you need numbers licensed from GS1 so they are unique worldwide.