UPC-A Barcode Generator

Turn your 11- or 12-digit UPC number into a UPC-A barcode. The check digit is computed or verified, leading zeros kept. Download PNG or SVG, free.

UPC-A

Any ASCII characters. Variable length. Most versatile barcode format.

This draws the barcode for a number you already have. It does not issue a UPC: retailers expect a number licensed to your company by GS1 US.

How it works

Enter the UPC number printed under your product barcode or issued to your company, then generate. Type 11 digits and the check digit is added for you; type all 12 and it is verified, so a mistyped digit is caught before you print.

Tips

Keep the number as text. Spreadsheets often turn 036000291452 into 36000291452, which is a different product. If the generator warns about a dropped leading zero, add it back and generate again.

Examples

Valid: 12 digits

036000291452

The check digit 2 matches, so the barcode is drawn as typed. A scanner returns exactly these 12 digits.

Valid: 11 digits

01234567890

The generator adds the check digit 5 and shows the full number, 012345678905, before you download.

Fails: wrong check digit

036000291450

The last digit should be 2. The generator refuses and names the correct number instead of printing a code that will not scan.

Trap: leading zero lost

36000291452

Eleven digits look like a number without its check digit, so a barcode for 360002914522 would be drawn. The generator warns that 036000291452 is the likely real number.

What the 12 digits are

A UPC-A number is 11 data digits plus one check digit. The data digits hold your GS1 Company Prefix and item number, so the full number identifies one product.

How the check digit works

Add the digits in odd positions and multiply by 3, add the digits in even positions, then pick the digit that brings the total to a multiple of 10. For 03600029145 that digit is 2.

You need a licensed number to sell in stores

This page draws a barcode for a number you already have. Retailers expect a number licensed to your company by GS1 US; a barcode image with a valid check digit does not assign one.

UPC-A and EAN-13

Every UPC-A is also an EAN-13 with a leading 0: 036000291452 scans as 0036000291452 on systems outside North America. You do not need a second barcode.

Printing and sizing

Download SVG for print so bars stay sharp at any size. Keep the white margin on both sides: the generator adds a quiet zone of 10 narrow-bar widths. Print black bars on white and test-scan one label before a full run.

Want to learn more? Read our guide: Barcode Generator Guide

Frequently Asked Questions

Is this UPC generator free?

Yes. Generating the barcode image is free and needs no account. The number itself is what you license from GS1 US, not the image.

Can I make up a UPC number?

For internal labels nobody else scans, any 12 digits with a correct check digit will scan. For products sold through retailers or marketplaces, use a number licensed to your company by GS1 US.

Why did the generator change my number?

You entered 11 digits, so it added the check digit. If your number really has 12 digits and starts with 0, a spreadsheet may have dropped the zero: enter all 12.

PNG or SVG?

SVG for print and packaging artwork, because it scales without blur. PNG for documents, web pages and label software that only takes images.
Try Barcode Generator Free

No signup required. Runs in your browser – the file is never uploaded.

Advertisement