CodeKit

Free UPC-A barcode generator

Generate 12-digit North American retail UPC-A (GTIN-12) barcodes with automatic check-digit calculation in PNG and SVG.

Standard 12-digit UPC-A barcodes for US & Canadian retail

UPC-A (Universal Product Code, GTIN-12) is the standard 12-digit barcode required by supermarkets, big-box retailers, and Amazon in the United States and Canada. Enter your 11-digit GS1 company prefix and item number to let CodeKit compute the 12th Modulo-10 check digit automatically, or paste a 12-digit UPC to verify its checksum instantly.

GTIN-12US & Canada RetailAuto Check DigitPNG & SVG

Real-Time Checksum Verification

Alerts you immediately if a 12-digit UPC has a mistyped check digit before you print thousands of labels.

US & Canada POS Standard

Compliant with GS1 US GTIN-12 formatting including left/center/right guard bars.

High-Resolution PNG & SVG

Zero watermarks, zero account sign-ups, and unlimited free downloads.

How to generate a UPC-A barcode

  1. 1Enter 11 or 12 digits

    Type 11 digits to auto-calculate the check digit, or all 12 digits to validate an existing UPC-A number.

  2. 2Adjust dimensions

    Configure bar height, bar width, and margin to fit your product label.

  3. 3Download SVG or PNG

    Export vector SVG for commercial packaging artwork or PNG for label printers.

Frequently asked questions

What is the difference between UPC-A and EAN-13?

UPC-A has 12 digits and is the traditional standard in the US and Canada, while EAN-13 has 13 digits and is used internationally. A 12-digit UPC-A is equivalent to an EAN-13 with a leading 0.