Home / UPC vs EAN vs Code 128 — Retail & SKU Barcode Format Guide

UPC-A vs. EAN-13 vs. Code 128: Barcode Format Guide

Understand which 1D barcode standard matches US retail POS, international packaging, book publishing, corrugated master cartons, and internal SKU bins.

Side-by-Side Comparison: UPC-A, EAN-13, Code 128, Code 39 & ITF-14

Choosing the wrong barcode symbology can stall retail onboarding or cause warehouse scanners to reject labels. Use the table below to pick the exact format before generating your vector graphic in our Free Barcode Generator Online.

Symbology Character Set Fixed Length? Primary Industry Standard
UPC-A Digits 0-9 only Exactly 12 digits US and Canadian supermarket and retail point-of-sale checkout
EAN-13 Digits 0-9 only Exactly 13 digits Global retail POS outside North America + 978/979 ISBN books
EAN-8 Digits 0-9 only Exactly 8 digits Small cosmetics, lip balms, pencils, and compact retail items
Code 128 Full ASCII (A-Z, a-z, 0-9, -) Variable length Warehouse SKUs, Amazon FNSKU, logistics, and shipping labels
Code 39 A-Z, 0-9, - . $ / + % Variable length Automotive, defense (LOGMARS), hospital, and asset badges
ITF-14 Digits 0-9 only Exactly 14 digits Corrugated master shipping cartons and wholesale cases

Retail Checkout (GS1) vs. Internal Warehouse SKUs

A critical distinction trips up many first-time e-commerce founders:

  • Selling at External Retail Checkouts (UPC-A / EAN-13): Major retailers require globally unique GTIN numbers licensed through GS1 so your product never collides with another brand at checkout. Once you have your 12-digit GTIN-12 or 13-digit GTIN-13, paste those digits into our Free Barcode Generator Online to export print-ready vector SVG artwork for your packaging designer.
  • Internal Inventory, Shelving & Boutique POS (Code 128): If barcodes are scanned strictly inside your own Shopify POS store, warehouse bins, or studio inventory, you do not need a GS1 subscription. Create clean alphanumeric SKUs (DRESS-BLK-M) in Code 128 and print 30-up sticker sheets or thermal roll PDFs via our Bulk Barcode Sheet Generator. Publishing a book? Read our ISBN-13 Barcode Guide.

Frequently Asked Questions

What is the difference between a UPC-A and an EAN-13 barcode?

UPC-A encodes 12 numeric digits primarily for US and Canadian retail checkouts, whereas EAN-13 encodes 13 numeric digits for international retail worldwide (in fact, a US UPC-A is technically an EAN-13 with a leading zero!).

Should I choose Code 128 or Code 39 for internal warehouse SKUs?

Code 128 is far more compact than Code 39 and supports both uppercase and lowercase letters plus numbers, making it the modern default for SKU and shipping labels.

When is ITF-14 used instead of UPC-A?

ITF-14 (Interleaved 2 of 5) is designed with wide, rugged bars and heavy bearer frames that scan reliably even when printed directly onto brown corrugated cardboard shipping cartons.