BARCODES · · BY QRVISUAL

Code 128 vs EAN and UPC: Choose the Right Barcode

Quick answer: Use the barcode format required by your scanner, retailer or inventory system. Code 128 is useful for internal alphanumeric labels; EAN and UPC are commonly used for retail product identifiers. Generating an image does not register a product number.

Start with the system that will scan the label

Ask which symbology and identifier the receiving system expects. An inventory application might accept your internal stock code, while a retailer may require a valid assigned product identifier. The same digits rendered in a different barcode format are not automatically interchangeable. QRVisual creates the graphic; it does not allocate GS1 identifiers or guarantee acceptance by a trading partner.

Code 128 for internal text and numbers

Code 128 can be a practical choice for stock locations, parcels or internal item labels containing letters and numbers. Before printing a batch, scan a sample into the actual software and verify that the decoded value matches the expected record. A scanner reading the characters successfully is only one part of the workflow: the database also needs to know what those characters mean.

EAN and UPC for retail workflows

GS1 describes EAN/UPC as retail barcode symbols used with product identification numbers. If your product needs a GS1 GTIN, obtain and assign it through the appropriate GS1 process. A generator cannot make an arbitrary number unique or register it merely by drawing its barcode.

In QRVisual, EAN-13 accepts 12 or 13 digits and UPC-A accepts 11 or 12, with the encoder checking or calculating the check digit as appropriate. Enter the identifier you are authorized to use. Do not pad or truncate a retailer's number just to clear a validation message.

Test the whole label workflow

  1. Choose the required format in the barcode generator.
  2. Enter the approved product or internal identifier.
  3. Keep dark bars, a plain light background and clear side margins.
  4. Download PNG or SVG and print a sample on the actual label stock.
  5. Scan it with the target hardware and confirm the correct item or record appears in the connected software.

Barcode, QR or Data Matrix?

Use the format your workflow supports. A phone-friendly link is often best served by the QR code generator. A warehouse scanner may expect a particular linear format. Two-dimensional formats can carry different kinds of data, but switching formats without confirming reader and software support can break the process. The QRVisual image scanner is for QR codes; it is not a universal validator for every barcode standard.

Keep a record of the identifier, format and label artwork. If a distributor provides a labeling specification, use it as the acceptance checklist. A successful preview is useful, but the final physical label and receiving system decide whether the workflow works.

Create a barcode →

Sources and further reading

Related guides

Something unclear or a step that did not work? Contact QRVisual or suggest an improvement.