Skip to content
koducathome

UPC-A Barcode Generator

Create EAN, UPC, Code 128 and other 1D barcodes.

How to use this tool

Steps for using the Barcode Generator.

  1. Type the 11 data digits of the UPC and the check digit is calculated.
  2. Or type all 12 digits to verify an existing UPC-A.
  3. Adjust the bar colour, bar width, height, quiet zone and text under Customize Appearance.
  4. Press Generate Barcode, then Download a PNG, SVG or PDF, Print it, or Copy the data. For many codes at once, upload a CSV under Batch Barcode Generation.

Example

11 digits: the check digit is added

Typed
03600029145
Result
Valid UPC-A (11 digits). Check digit 2 will be added.
Encoded: 036000291452

Common use cases

  • Products sold through US and Canadian retailers
  • Amazon and other marketplace listings that ask for a UPC
  • Checking the check digit of a UPC from a supplier

How a UPC-A barcode works

UPC-A is the 12-digit retail barcode used mainly in the United States and Canada. The first digit is the number system, followed by the company prefix and item number issued through GS1 US, and a final check digit.

The check digit uses the GS1 mod-10 rule: weight the 11 data digits 3, 1, 3, 1… from the left, add them, and the check digit brings the total up to a multiple of 10. For 03600029145 it is 2.

A UPC-A number is the same GTIN as an EAN-13 with a leading zero, so products with a UPC can be sold worldwide without a second barcode.

A barcode that is valid in format is not the same as a registered product number: retail numbers (GTINs) come from your GS1 Member Organisation, which issues a company prefix to your business.

Limitations

  • Format and check digit only — the tool can't confirm that a UPC is licensed to you.
  • UPC add-on supplements (2 or 5 digits) are not generated.

Frequently asked questions

How is the UPC-A check digit calculated?

Multiply the digits in odd positions (1st, 3rd, … 11th) by 3, add the even-position digits, and the check digit brings the sum up to the next multiple of 10.

Where do I get UPC numbers?

From GS1 US (or your local GS1 organisation). Numbers bought from resellers may not be registered to your company, and some marketplaces reject them.

Is UPC-A the same as UPC-E?

No. UPC-E is a compressed 8-digit form for small packs; it only works for UPC-A numbers with enough zeros to be suppressed.

Is the data I type uploaded anywhere?

No. Barcodes, including batch CSV files, are created in your browser. Recent barcodes are saved only in this browser.