AI Label Cropper

Barcode Types Explained: Code 128 vs EAN-13 vs UPC for Sellers

Code 128, EAN-13, UPC-A, Code 39, ITF-14 — which barcode should you actually use? A plain-English guide for online sellers.

Pick the wrong barcode format and your labels may not scan at retail or get rejected by a marketplace. Here is a plain-English guide to the five formats most online sellers need, and exactly when to use each. You can create any of them with the free barcode generator.

Code 128 — the all-rounder

Compact and supports letters and numbers. Perfect for internal SKUs, shipping labels and asset tags. If you are not selling through physical retail, Code 128 is usually the right default.

EAN-13 — retail products (global)

The 13-digit barcode you see on products worldwide. Use it if your items are sold in shops and you have GS1-issued numbers. Needs 12 or 13 digits (the last is a check digit).

UPC-A — retail products (North America)

The 12-digit equivalent used mainly in the US and Canada. Needs 11 or 12 digits. Use it when a marketplace or retailer specifically asks for UPC.

Code 39 — simple asset and ID tags

Older and less dense than Code 128, but widely supported by basic scanners. Good for warehouse asset tags and ID badges where data is short.

ITF-14 — shipping cartons

Used on the outer cases and cartons that hold multiple retail units. Needs 13 or 14 digits. If you ship cartons into a warehouse or distributor, this is the carton-level code.

Quick reference

  • Internal SKU / shipping: Code 128
  • Retail product (India/EU/global): EAN-13
  • Retail product (US/Canada): UPC-A
  • Asset / ID tag: Code 39
  • Outer carton: ITF-14

Make scannable barcodes

Whatever the format, download the SVG or a high-resolution PNG, print at actual size, and keep a quiet zone around the bars. Add your barcode to a product label or inventory label in seconds. New to QR codes too? Read the QR code guide.

Explore all free label tools