Make a UPC-A barcode for products sold in the US and Canada. Type the 11-digit number and the tool adds the check digit, draws the barcode and lets you download it as PNG or SVG. Free, no sign-up, nothing is uploaded.
This is one of our free generators. For Code 39, ITF-14, MSI and other formats, use the main Barcode Generator.
How to make a UPC barcode
- Type the first 11 digits of your UPC, or all 12 to have the last one checked.
- Adjust the bar width and height if your label needs it.
- Download an SVG for printing or a PNG for documents and online listings.
How a UPC-A number is built
| Part | Digits | What it means |
|---|---|---|
| Number system | 1 | The first digit of the GS1 Company Prefix |
| Manufacturer code | 5 | Your company, as assigned by GS1 |
| Product code | 5 | The specific item |
| Check digit | 1 | Calculated from the first 11 digits |
The manufacturer and product parts can be longer or shorter than 5 digits each, depending on the size of the company prefix GS1 assigns.
How the check digit is calculated
Multiply the digits in odd positions (1st, 3rd, 5th…) by 3 and the digits in even positions by 1, then add everything. The check digit brings the total up to the next multiple of 10 (GS1’s method).
Example for 03600029145: (0+6+0+2+1+5)×3 = 42, plus 3+0+0+9+4 = 16, gives 58. The next multiple of 10 is 60, so the check digit is 2 and the full UPC is 036000291452.
Can I sell products with these barcodes?
The generator draws a correct barcode for any number, but it does not give you the right to use that number. Retailers and marketplaces can check product numbers against GS1’s global registry (Verified by GS1), so a number you invent may be rejected or clash with another product.
For retail, get your numbers from GS1, the not-for-profit that runs the system. In the US that is GS1 US. Once you have your numbers, use this tool to make the barcode images.
Selling the product in shops or online marketplaces? Read our guide on how to get a barcode for your product in India, with every step linked to GS1 India’s official pages.
Frequently asked questions
How many digits is a UPC barcode?
A UPC-A barcode has 12 digits: 11 data digits and a check digit. Type the first 11 and the tool adds the 12th.
What is the difference between UPC and EAN?
UPC-A is used mainly in the US and Canada and has 12 digits. EAN-13 is used almost everywhere else and has 13. Adding a 0 in front of a UPC-A turns it into a valid EAN-13 (GS1 General Specifications).
Where do I get a real UPC number?
From GS1 US, or from your country’s GS1 office. Numbers resold by third parties may not be registered to your company.
Can I download the UPC barcode?
Yes, as a PNG for documents and listings or as an SVG for printing at any size. There is no watermark.
Sources
How to cite this tool
Using this tool for coursework, a report or research? You can cite it like this (APA 7th edition):
Kumar, M. (2026). UPC-A Barcode Generator [Online tool]. FreeToolsLand. https://freetoolsland.com/upc-barcode-generator/
Related tools
- EAN-13 Barcode Generator: 13-digit product barcodes used worldwide
- Code 128 Barcode Generator: letters and numbers for labels
- Barcode Generator: all formats in one tool
