Labels Encyclopedia

What Are the Common Barcode Types? A Comprehensive Guide to Code128, EAN, and UPC

📅 2026-07-16 ✍️ Wuxi Lexiang Printing & Packaging ⏱ 6min read

💡 💡 At a Glance

A comprehensive introduction to the characteristics, applicable scenarios, and selection methods of common barcode types such as Code128, EAN, and UPC.

What is a Barcode? Why Products Cannot Do Without It

A barcode is a set of lines and spaces arranged according to specific rules. It carries the product's identity information. Scanning devices quickly retrieve data by reading the width differences between the black and white stripes. Barcodes are the cornerstone of supply chain management and serve as the "passport" for products to enter retail channels.

In the packaging industry, barcodes are typically printed on self-adhesive labels using thermal transfer or digital printing processes. A non-compliant barcode may cause scanning failures, affecting product warehousing and settlement. Therefore, understanding barcode types and their parameters is essential for packaging design and production.

Code128 Barcode: High Density, Full Character Set

Code128 is one of the most widely used barcode types today. It supports digits, uppercase letters, lowercase letters, and special characters. It offers high encoding density, allowing more information to be stored within the same length.

Code128 has three subsets. Code128A supports uppercase letters and control characters. Code128B supports uppercase and lowercase letters as well as digits. Code128C supports only pure digits and has the highest density. In actual use, subset B is the most common.

Applicable Scenarios:

  • Logistics and warehousing: courier shipping labels, storage location labels
  • Supply chain management: pallet codes, reusable container labels
  • Asset tracking: equipment numbers, asset labels

Advantages:

  • Complete character set, supports full ASCII characters
  • High encoding density, saves label space
  • Built-in check digit, misread rate below one in a million

Disadvantages:Variable width — the longer the content, the wider the barcode. Strict quiet zone requirements mean printing deviations can easily lead to scanning failures.

EAN-13 and UPC-A: The Universal Language of Retail Products

EAN-13 Barcode

EAN-13 is the internationally recognized retail product barcode standard. It contains 13 digits, consisting of a prefix code, manufacturer code, product code, and check digit. Chinese product barcodes begin with 690 to 699 and are uniformly assigned by the China Article Numbering Center.

The first two or three digits of an EAN-13 identify the country or region. The manufacturer code is 4 to 6 digits, and the product code is 3 to 5 digits. The last digit is the check digit, calculated from the previous 12 digits using a fixed algorithm.

All standard supermarkets, convenience stores, and e-commerce warehouses support EAN-13 scanning. It is a mandatory requirement for products entering retail channels.

UPC-A Barcode

UPC-A is the retail barcode standard for North America. It contains 12 digits and has a structure similar to EAN-13 but with one digit fewer. After the 1990s, UPC-A became compatible with the EAN-13 system by adding a leading zero.

Products exported to the United States and Canada typically require a UPC-A barcode. However, North American retailers now fully support EAN-13 scanning, and new products can directly apply for an EAN barcode.

Other Common Barcode Types

Code39

Code39 is an early industrial barcode standard. It supports uppercase letters, numbers, and some special symbols. It has low density but low technical barriers, and is still used today in industrial labels, ID cards, and other fields. The U.S. Department of Defense and the automotive industry once specified Code39 as the standard barcode for a long time.

ITF-14

ITF-14 is a barcode standard used for outer packaging boxes. It consists of 14 digits and is based on the EAN-14 encoding rules. ITF-14 is printed directly on corrugated cartons and has relatively lenient requirements for print quality. It is suitable for outer box identification in e-commerce warehouses and logistics centers.

Data Matrix and QR Code

Data Matrix is a two-dimensional barcode that can store thousands of characters in an area the size of a postage stamp. It is small in size and highly fault-tolerant, and is widely used in the electronics industry and medical device fields. It can be directly laser-etched or dot-matrix printed on the surface of tiny parts.

QR Code is also a two-dimensional barcode that supports Chinese character encoding and mixed storage of numbers and letters. In addition to large data capacity, QR codes also support error correction mechanisms, allowing them to be read even when partially damaged. From e-commerce logistics labels to product traceability labels, the penetration rate of QR codes is increasing year by year.

How to Choose Barcodes Based on Business Needs

Selecting the right barcode type requires evaluation from three dimensions: usage scenario, data content, and scanning environment.

Retail Products: Choose EAN-13. Whether listing on Tmall, JD.com, or supermarket shelves, EAN-13 is the standard configuration. Enterprises need to first register a manufacturer code with the China Article Numbering Center.

Logistics and Warehousing: Prioritize Code128 or ITF-14. Code128 is suitable for package shipping labels, while ITF-14 is ideal for outer carton labeling. Logistics scenario barcodes are often output via thermal transfer printing, requiring consideration of friction resistance and solvent durability.

Industrial Components: Choose Data Matrix. Small in size, resistant to contamination, and can be printed directly on metal or plastic surfaces. The pharmaceutical industry's UDI labels also widely adopt Data Matrix encoding.

Product Traceability and Marketing: Choose QR Code or self-adhesive barcode labels. QR codes can carry product traceability information, production batches, and marketing links, achieving multiple uses with one code.

Key Control Points for Barcode Printing

Barcode printing quality directly affects scanning success rates. The following four parameters must be strictly controlled:

Size Accuracy:The line width deviation of the barcode must be controlled within ±0.3mm. The magnification factor is typically selected between 0.8 and 2.0. Too small makes it difficult for scanning devices to recognize, while too large wastes label space.

Quiet Zone Requirements:Blank areas must be reserved on both the left and right sides of the barcode. The quiet zone width must not be less than 10 times the narrowest line width of the barcode. Color contamination, borders, or text intruding into the quiet zone during printing are common causes of scanning failures.

Color Contrast:The barcode lines and background must have sufficient color difference. Dark lines paired with a light background is the best choice. The standard configuration is black lines on a white background. Red-light scanners cannot recognize barcodes on red backgrounds—this point is often overlooked in label design.

Printing Method:Small-batch barcode labels are typically printed using thermal transfer, while large batches use digital printing or offset printing. Digital printing requires no plate-making and is suitable for variable data and small-variety production modes. Lexiang Packaging's adhesive labels use HP Indigo digital printing equipment, achieving barcode precision up to 600dpi.

After barcode printing is complete, it is recommended to use a barcode verifier to validate the grade. National standard GB/T 18348 stipulates that the printing quality grade of product barcodes should reach Grade A or Grade B. Those below Grade C must have their parameters readjusted before reprinting. Barcode Printing Quality Inspection Standardsare detailed in another article on this site.

#Barcode #Code128 #EAN #UPC #Self-adhesive label

❓ FAQ

What is the difference between Code128 and EAN-13 barcodes?

Code128 supports all ASCII characters with high encoding density, suitable for logistics and supply chain scenarios. EAN-13 only supports numbers and is the standard barcode for international retail products, used in supermarkets and e-commerce retail channels. The two have different application scenarios.

Should products exported to the US use EAN-13 or UPC-A?

Currently, North American retailers have fully supported EAN-13 scanning, and new products can directly use EAN barcodes. However, some US offline retailers still prefer UPC-A. It is recommended to confirm specific requirements with the channel before exporting.

How to apply for a product barcode?

Enterprises register with the China Article Numbering Center and pay fees to obtain a manufacturer identification code. They then assign product codes themselves and generate complete EAN-13 barcodes. The coding system is globally interoperable, and one registration is valid nationwide.

Why do barcodes sometimes fail to scan?

Common reasons include: printing size deviation exceeding ±0.3mm, quiet zones being encroached by borders or text, insufficient color contrast (such as red background), and reflective lamination on the barcode surface. It is recommended to verify with a barcode verifier before mass production.

What facestock should be chosen for adhesive barcode labels?

Common facestocks include coated paper (low cost, universal), synthetic paper (waterproof and oil-resistant), PET (high temperature and chemical resistant), and thermal paper (no carbon ribbon needed). Logistics shipping labels often use thermal paper, while retail labels use coated paper adhesive.

Which is better, QR codes or barcodes?

Both have their own advantages. Barcodes (1D codes) scan quickly with low equipment costs, suitable for retail checkout and logistics sorting. QR codes have large data capacity and support Chinese characters, suitable for product traceability, marketing links, and variable data scenarios. Choose based on business needs.

Need a Custom Packaging Solution?

Learn more about packaging, or consult directly for a custom solution and quote