If you want to sell physical products, you will eventually run into barcode terms like UPC, EAN, GTIN, JAN, and GS1.
If you already have an official number and only need the barcode image, use the free Barcode Generator. If you are still deciding which product barcode format you need, this guide explains the difference.
For printing and export format decisions, also read How to Print Barcode Labels and PNG vs. SVG Barcodes.
What Is a Product Barcode?
A product barcode is a machine-readable image that represents a product identification number.
The barcode itself does not usually store the product name, price, description, category, or seller information. Instead, it encodes a number. Retail systems use that number to look up product information in a database.
For retail products, the important identifier is often called a GTIN, which stands for Global Trade Item Number.
The barcode image is just the scannable visual form of that number.
In simple terms:
GTIN = the product identification number
Barcode image = the scannable graphic that represents the number
A barcode generator can create the image from your number, but it does not issue official retail product numbers.
UPC-A vs EAN-13: The Basic Difference
UPC-A and EAN-13 are two common retail product barcode formats.
| Format | Digits | Common Use |
|---|---|---|
| UPC-A | 12 digits | United States and Canada |
| EAN-13 | 13 digits | Europe, Asia, Latin America, Australia, and many global markets |
Both are used for retail product identification. Both can be scanned by modern point-of-sale systems. The main difference is the number length and regional convention.
What Is a UPC-A Barcode?
UPC-A stands for Universal Product Code. It is a 12-digit retail barcode format strongly associated with the United States and Canada.
A UPC-A code looks like this:
012345678905
UPC-A is commonly used for:
- retail products in the US
- retail products in Canada
- Amazon US listings
- grocery items
- consumer packaged goods
- physical store checkout systems
- product packaging
If your main market is the United States or Canada, UPC-A is often the format people expect.
What Is an EAN-13 Barcode?
EAN-13 stands for European Article Number, although it is used far beyond Europe. It is a 13-digit retail barcode format.
An EAN-13 code looks like this:
4006381333931
EAN-13 is commonly used for:
- products sold internationally
- European retail
- Asian retail
- Latin American retail
- global marketplace listings
- export products
- international packaging
If you plan to sell products outside North America, EAN-13 is often the safer global format.
UPC-A and EAN-13 Comparison Table
| Feature | UPC-A | EAN-13 |
|---|---|---|
| Number length | 12 digits | 13 digits |
| Common region | US and Canada | Global |
| Retail use | Yes | Yes |
| Product packaging | Yes | Yes |
| Requires official number for retail use | Yes | Yes |
| Can be generated as image | Yes | Yes |
| Good for internal inventory only | Usually unnecessary | Usually unnecessary |
For internal labels, warehouse tags, or private SKUs, you usually do not need UPC-A or EAN-13. A format like Code 128 may be more flexible.
What Is a GTIN?
GTIN means Global Trade Item Number.
It is the number used to identify a product in retail and supply chain systems. UPC-A and EAN-13 are barcode formats that represent GTINs.
Depending on region and product type, you may see different GTIN lengths:
| Term | Meaning |
|---|---|
| GTIN-12 | 12-digit product identifier, commonly shown as UPC-A |
| GTIN-13 | 13-digit product identifier, commonly shown as EAN-13 |
| GTIN-14 | 14-digit identifier, often used for cartons or cases |
The important point: the barcode image and the GTIN number are not the same thing.
The number is the identity. The barcode is the scannable representation.
What Is a JAN Code?
JAN means Japanese Article Number.
A JAN code is basically an EAN-13 barcode used in Japan. JAN codes typically begin with Japan-related prefixes such as 45 or 49.
Example:
4901234567894
If you are selling products in Japan, you may see the term JAN instead of EAN. Structurally, it works like EAN-13.
If you already have a valid JAN number, you can create an EAN-13 barcode image with a Barcode Generator.
Do You Need an Official Barcode Number?
For real retail products, yes.
A barcode generator can turn a number into a barcode image, but it does not make the number official, unique, or registered to your company.
If you want to sell products through major retail channels, marketplaces, distributors, or physical stores, you generally need official product identifiers assigned through the correct barcode authority.
Why this matters:
- product identifiers must be unique
- marketplaces may validate barcode ownership
- retailers may reject invalid codes
- duplicate numbers can cause inventory confusion
- unofficial numbers may not match your brand
For internal use, such as warehouse labels or asset tracking, you can create your own internal codes. But for retail product packaging, use official numbers.
The Correct Workflow for Product Barcodes
Here is the safe workflow.
Step 1: Decide Where the Product Will Be Sold
If you are selling mainly in the US or Canada, UPC-A may be enough.
If you are selling internationally, EAN-13 may be more appropriate.
If you are selling in Japan, you may encounter JAN codes.
Step 2: Get Official Product Numbers
For commercial retail products, get the correct official numbers for your business and product variants.
Each product variation usually needs its own unique number. For example:
- small black T-shirt
- medium black T-shirt
- large black T-shirt
- small white T-shirt
- medium white T-shirt
Each variation may need a separate barcode number because each one is a distinct sellable product.
Step 3: Generate the Barcode Image
Once you have the official number, use a Barcode Generator to create the visual barcode image.
Choose:
- UPC-A for 12-digit UPC numbers
- EAN-13 for 13-digit EAN or JAN numbers
Then export the barcode as PNG or SVG.
Step 4: Place the Barcode on the Label or Packaging
Use the barcode image in your product packaging, sticker, box, or label design.
For professional packaging, SVG is usually better because it scales cleanly. For simple sticker labels, PNG is often easier.
Read more: PNG vs. SVG Barcodes.
Step 5: Print and Test Scan
Before producing a large batch, print a sample and scan it.
Make sure:
- the barcode is not stretched
- the quiet zone is preserved
- the print has high contrast
- the number under the barcode is correct
- the scanner reads the expected value
For more printing tips, read How to Print Barcode Labels.
UPC-A vs EAN-13 for Amazon
Many sellers first care about barcodes because they want to list products on Amazon or another marketplace.
The exact requirements can depend on marketplace, category, country, brand status, and exemption rules. But the general principle is simple: use valid product identifiers that match your product and brand.
For Amazon US, UPC-A is commonly used. For international marketplaces, EAN-13 may be common.
Do not assume that a random cheap barcode number is safe. If the number does not match your brand or product, it may create listing problems.
The barcode image is the easy part. The official number is the important part.
UPC-A vs EAN-13 for Internal Inventory
If you are labeling internal stock, shelves, boxes, equipment, or warehouse locations, you usually do not need UPC-A or EAN-13.
For internal workflows, Code 128 is often better because it supports letters and numbers.
Example internal codes:
SKU-BLACK-M-001
ASSET-LAPTOP-024
BIN-A12-03
ORDER-2026-1004
These are easier to manage with Code 128 than with strict numeric retail formats.
Use the Barcode Generator to create Code 128 labels for internal tracking.
If you need many internal labels at once, read Bulk Barcode Generator: Create Barcodes From Excel & CSV.
PNG or SVG for Product Barcodes?
For product barcodes, SVG is usually preferred for professional packaging because it scales without becoming blurry.
Use SVG for:
- retail boxes
- bottle labels
- product packaging artwork
- designer handoff
- print-ready layouts
Use PNG for:
- simple stickers
- office label sheets
- internal product labels
- quick testing
- basic printing workflows
If you are not sure, generate both. Use SVG for final design work and PNG for quick tests.
Common Mistakes With Product Barcodes
Mistake 1: Thinking the Barcode Image Makes the Number Official
A generator creates the image. It does not register the number.
Mistake 2: Reusing One Barcode for Multiple Product Variants
Different sizes, colors, bundles, or variations may need different product identifiers.
Mistake 3: Using UPC-A for Everything
UPC-A is common in North America, but EAN-13 is more common internationally.
Mistake 4: Printing the Barcode Too Small
Even a valid barcode may fail if it is printed too small or distorted.
Mistake 5: Ignoring the Quiet Zone
Do not place design elements too close to the barcode.
Mistake 6: Using Code 128 for Retail Checkout Products
Code 128 is great for internal labels, but retail checkout products usually need UPC-A or EAN-13.
Related Barcode Guides
- Create UPC-A, EAN-13, Code 128, and QR Code images: Free Barcode Generator
- Create many barcode images from Excel or CSV: Bulk Barcode Generator
- Choose PNG or SVG export: PNG vs. SVG Barcodes
- Print barcode labels correctly: How to Print Barcode Labels
Final Thoughts
UPC-A and EAN-13 are both product barcode formats, but they are used in slightly different retail contexts.
Use UPC-A when you are working mainly with North American retail products. Use EAN-13 when you need a more global product barcode format. Use JAN when dealing with Japan-specific retail workflows.
If you already have an official UPC, EAN, or JAN number, use the free Barcode Generator to create the barcode image and export it as PNG or SVG.
If you only need internal labels for SKUs, inventory, assets, or warehouse tracking, consider Code 128 instead.
FAQ
What is the difference between UPC-A and EAN-13?
UPC-A uses 12 digits and is common in the United States and Canada. EAN-13 uses 13 digits and is common across many global markets.
Is EAN-13 the same as UPC?
They are closely related retail barcode systems, but they use different number lengths. UPC-A has 12 digits, while EAN-13 has 13 digits.
What is a GTIN?
A GTIN is a Global Trade Item Number. It is the product identifier encoded inside a barcode such as UPC-A or EAN-13.
What is a JAN code?
A JAN code is a Japanese Article Number. It is structurally similar to EAN-13 and is used in Japan.
Can I generate a UPC barcode online?
Yes. If you already have a valid UPC number, you can use the Barcode Generator to create a UPC-A barcode image.
Can I generate an EAN-13 barcode online?
Yes. If you already have a valid 13-digit EAN number, you can generate an EAN-13 barcode image online.
Does a barcode generator give me an official product barcode number?
No. A barcode generator creates the visual barcode image from a number. It does not issue or register official product identifiers.
Do I need UPC-A or EAN-13 for internal inventory?
Usually no. For internal inventory, SKUs, and asset tags, Code 128 is often more flexible.
Should I export product barcodes as PNG or SVG?
Use SVG for professional packaging and design work. Use PNG for simple stickers, office labels, and quick print workflows.
Can I use the same barcode for different product variants?
Usually no. Different product variants such as size, color, or bundle type may need separate product identifiers.