Free UPC Barcode Generator (UPC-A)

Enter 11 digits to calculate the 12th check digit automatically—or all 12 digits to verify an existing GTIN-12. Download vector SVG or PNG free, single or bulk ZIP.

Letters, numbers and standard symbols. Best for inventory, SKUs and general labels.

CODE 128 ready — download as PNG or SVG.

Vector formats (PDF / EPS)

UPC-A 11→12 check digit calculation explained

Every 12-digit UPC-A ends with a Modulo-10 check digit so checkout scanners detect misread bars immediately. If you enter 11 digits above, QRacade computes the 12th digit automatically; if you enter 12 digits and the final digit is wrong, generation stops cleanly rather than printing an invalid label.

Step (example: 01234567890)CalculationResult
1. Add odd-position digits (1, 3, 5, 7, 9, 11)0 + 2 + 4 + 6 + 8 + 020
2. Multiply odd sum by 320 × 360
3. Add even-position digits (2, 4, 6, 8, 10)1 + 3 + 5 + 7 + 925
4. Total & round up to next multiple of 1060 + 25 = 85 → next ten is 90Check digit = 5 (012345678905)
Real browser output comparing UPC-A, EAN-13 and CODE 128 barcodes generated locally
Bottom-right: real UPC-A output for 012345678905 showing leading system digit 0, center guard bars and computed trailing check digit 5.

Important boundary: artwork generator vs official GS1 prefix

Generating a valid UPC-A graphic is free and instant, but barcode artwork is not GS1 registration. If you sell through Amazon, Walmart, Target or brick-and-mortar distributors, license official GTIN-12 numbers directly from your national GS1 member organization first—never invent random 12-digit numbers for public retail marketplaces. For internal warehouse shelves or shop SKUs where you control the scanner, CODE 128 is more compact and avoids UPC digit rules.

Related barcode tools

Frequently asked questions

How many digits does a UPC-A barcode need?

12 digits total. Type 11 digits to auto-compute the trailing check digit, or all 12 digits to validate an existing UPC.

How is the UPC-A check digit calculated?

Sum odd positions × 3 plus even positions, then subtract from the nearest multiple of 10 above (or 0 if already divisible by 10).

Does generating a UPC barcode here register my product with GS1 or Amazon?

No. This tool turns numbers into valid scannable UPC artwork; official retail GTINs must be licensed through GS1.

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

UPC-A uses 12 digits (North American standard), while EAN-13 adds one leading digit (0 for UPC compatibility) for global retail.

What PNG or SVG width should I use when printing UPC product labels?

Download SVG for packaging artwork and keep label width within 80%–200% of GS1 nominal 37.29 mm, leaving left and right margins untouched.