Create a valid UPC, EAN, Code 128, Code 39, or ITF-14 barcode in seconds. Real-time check-digit validation, full color and size customization, and instant PNG or SVG download — built for packaging, not just barcodes.
✓ Works in your browser — nothing uploaded· ✓ GS1 check-digit calculator built in· ✓ Free PNG & SVG download
Pick the format your retailer, carrier, or system requires.
Type the digits for your barcode below.
Adjust colors, size, and label text.
#241A1E#FFFFFFUpdates instantly as you type and customize.
A valid, well-contrasted barcode scans reliably in most cases — but actual scanning also depends on your printer, material, ink, and scanner hardware. We recommend a physical print test before a full production run.
Generating the barcode is free and instant. When you are ready for real packaging, our team handles the rest — from dielines to print.
A barcode that scans on your screen does not always scan on a box. A few placement and print choices make the difference — and if you are prepping packaging, we can help with more than just the barcode.
Pick the closest match — we will tailor a few tips (and the quote form above) to it.
Keep barcodes at 100% scale whenever possible. Scaling below 80% shrinks bar widths and is the most common cause of scan failures at checkout.
Dark bars on a light background scan best. Avoid placing barcodes over busy patterns, foil, or low-contrast color combinations.
Leave clear space (a "quiet zone") around the barcode, and keep it away from box edges, seams, and curved surfaces where possible.
Barcode sorted — here is what packaging teams usually need next.
Create a customizable QR code for packaging, with the same live preview and print-readiness checks.
Use the QR tool →Find the right box dimensions for your product before you finalize packaging.
Browse all tools →Estimate shipping cost impact from box dimensions before you commit to a size.
Browse all tools →Get a rough cost estimate for your packaging run based on size, material, and quantity.
Use the cost calculator →Generate a starting dieline template for common box and carton styles.
Browse all tools →See every free tool we offer for planning and prepping product packaging.
View the tools hub →A barcode is a machine-readable pattern of bars and spaces (or, for 2D codes like QR, a grid of squares) that encodes a short string of data — usually a product number, a shipping reference, or an internal SKU. A scanner reads the pattern and looks up the matching record in a database; the barcode itself does not "know" the price or the product name, it just points to it.
Retail packaging almost always uses one of a small number of standardized formats, because retailers and point-of-sale systems expect a specific structure. Below is a quick breakdown of the six formats this tool supports.
The standard 12-digit barcode used at retail checkout across the United States and Canada. It encodes an 11-digit product number plus a single check digit calculated from those 11 digits using the GS1 algorithm. If you are selling a physical product in a US or Canadian retail store, this is very likely the format you need — and the product number itself typically comes from GS1 US (via a company prefix), not from this tool.
The international equivalent of UPC-A, used for retail products outside North America (and increasingly recognized by US scanners too). It is a 13-digit code: 12 data digits plus a GS1 check digit. Most retail scanners read UPC-A and EAN-13 interchangeably.
A compact, 8-digit version of EAN-13 for products too small to fit a full-size barcode — small cosmetics, single-serve snacks, and similar packaging. It has 7 data digits plus a check digit, and is generally only assigned when a product is genuinely too small for EAN-13.
A high-density, alphanumeric barcode that can encode letters, numbers, and many symbols. It is common in shipping, logistics, and internal inventory systems (it is not typically used at retail checkout) because it can pack a lot of information — like a full SKU or a serial number — into a small space.
An older but still widely supported alphanumeric barcode, common in industrial labeling, inventory, and some government and healthcare applications. It supports uppercase letters, digits, and a limited set of symbols, and is generally less space-efficient than Code 128.
A 14-digit barcode (13 data digits plus a check digit) designed for cartons and outer packaging — the box that holds multiple retail units, not the retail unit itself. ITF-14 barcodes are typically printed larger and with thicker bars than retail barcodes, since they are scanned by warehouse and logistics equipment rather than at a checkout counter.
| Format | Digits / characters | Typical use | Scanned by |
|---|---|---|---|
| UPC-A | 12 digits | Retail (US/Canada) | Point-of-sale scanners |
| EAN-13 | 13 digits | Retail (international) | Point-of-sale scanners |
| EAN-8 | 8 digits | Small retail products | Point-of-sale scanners |
| Code 128 | Alphanumeric, variable length | Shipping, logistics, internal SKUs | Handheld / logistics scanners |
| Code 39 | Alphanumeric, variable length | Industrial, inventory labeling | Handheld / industrial scanners |
| ITF-14 | 14 digits | Shipping cartons, outer cases | Warehouse / logistics scanners |
If you already have a UPC assigned to your product (through GS1 US or a reseller), use UPC-A. If you are selling internationally, or starting fresh and want the widest compatibility, EAN-13 is generally the safer default — most US scanners read it fine, while the reverse is not always true outside North America. The two formats are closely related: an EAN-13 code is essentially a UPC-A code with an extra leading digit, and most modern point-of-sale systems handle both without any special configuration.
Code 128 is more space-efficient and can encode the full ASCII character set, which makes it the better default for new systems with modern scanning hardware. Code 39 is older and less dense, but it remains extremely widely supported by legacy scanners and is still specified by some industrial, government, and healthcare systems — if a partner or system explicitly requires Code 39, use that; otherwise Code 128 is usually the more efficient choice.
ITF-14 is built for outer packaging — the corrugated case that ships a dozen or a hundred retail units together. Because ITF-14 codes are read by warehouse and conveyor-mounted scanners rather than a cashier's handheld scanner, they are typically printed at a larger size with wider bars, and are often printed directly onto corrugated board rather than as a separate label. If you are barcoding a shipping case rather than the product inside it, ITF-14 (not UPC-A or EAN-13) is almost always the right choice.
Placement affects scan reliability as much as barcode quality does. A few general guidelines:
How you print a barcode affects how reliably it scans:
There is no single universal minimum size — the right size depends on the format, the scanning distance, and the surface. As a general rule, avoid scaling a barcode below about 80% of its "nominal" size, since that shrinks bar widths past what many scanners can resolve reliably. Retail barcodes are typically printed close to their nominal size; ITF-14 codes on shipping cartons are usually printed larger, since they may be scanned from a greater distance on a conveyor or by a handheld scanner across a pallet.
If a barcode will not scan, the most common causes are, in rough order of likelihood:
Traditional barcodes (UPC, EAN, Code 128, Code 39, ITF-14) are built for a single job: encoding a short numeric or alphanumeric identifier for point-of-sale or logistics scanning, and they are what retailers and carriers require. QR codes hold far more data — a URL, a full product story, a warranty registration link — and are read by any smartphone camera, not just dedicated scanners, which makes them a better fit for marketing, packaging storytelling, or linking to digital content. Many packaging designs now use both: a UPC or EAN for checkout, and a QR code elsewhere on the pack for customer-facing content. If you need a QR code, our free QR code generator follows the same style and print-readiness checks as this tool.
Need help turning this barcode into finished, print-ready packaging?
Get a free quote →Tell us about your product once, and a packaging specialist will follow up with real options — no obligation.