Back to blog

Code 128 vs. UPC-A for Barcode Labels

Dec 1, 2026

Choose Code 128 for internal identifiers or UPC-A for an assigned GTIN-12, and check what your scanner and receiving system expect.

Code 128 vs. UPC-A for Barcode Labels

Use UPC-A when a retailer requests an assigned 12-digit product identifier in a UPC barcode. Code 128 is a common choice for a stockroom where your own software expects an identifier such as BIN-A07. Confirm the required symbol and data with whoever will scan the label before printing. GS1’s guide to getting product barcodes

Use UPC-A for an assigned retail identifier

A UPC-A symbol carries a GTIN-12. The last digit is a check digit, and any leading zero is part of the identifier. Use the UPC assigned to the specific product or variant. You can enter all 12 digits in the generator, or enter the first 11 known digits to calculate the check digit. The calculation checks the number’s structure. The assignment comes from the issuer and your product records. GS1’s retail barcode implementation guideline

Use Code 128 for internal text and numbers

A warehouse can put BIN-A07 on a shelf, configure its receiving software to look up that identifier, and print the same text beneath the bars for manual entry. Choose Code 128 in Bulk Barcode, map the column that contains the identifier, and check that a scan returns the expected characters. UpcGenerator accepts printable ASCII in this mode, including letters, digits, spaces, and ordinary punctuation.

A scanner can return the same digits from a UPC-A symbol and a Code 128 symbol. Check the receiving system’s required format as well as the scan result.

Check the specification for a logistics label

A trading partner may request GS1-128 for a carton or pallet label. GS1-128 uses a specific Code 128 start pattern with FNC1 and structures data with GS1 Application Identifiers. Use the trading partner’s specification for that workflow. The standard Code 128 option in Bulk Barcode is for plain Code 128. GS1’s GS1-128 format reference

Generate an assigned UPC-A label or open Bulk Barcode for Code 128.