All free tools

Free Tool

Free UPC Code Generator

Type your 11 digit product number and get a scannable UPC-A barcode with the check digit added for you. Already have all 12 digits? We check them. Download PNG or SVG, or make a whole batch at once.

Made entirely in your browser. No data ever leaves your device.
This generates a scannable barcode symbol from a number you provide. It is not a licensed UPC number. To sell in retail stores or on Amazon, license your numbers from GS1 US (or your country's GS1), then make the barcode here.

Barcode Type & Number

Enter 11 digits and the check digit is added automatically, or enter all 12.

Customize

80px
Below ~30px, this barcode risks becoming unscannable when printed small.
Quiet zone margin
Show human-readable text
Enter a code to generate a barcode.

Bulk UPC Barcodes: Download a ZIP

One UPC per line, as label,number or just the number. Check digits are added where missing. Uses the barcode type and settings above.

Barcodes Done. Now Get Those Products Seen.

Spend less time on manual content creation. VidyBack auto-generates and schedules product videos straight from your Shopify catalog, so every labeled SKU gets seen, not just scanned.

See How VidyBack Works

How to Make a UPC Barcode

  1. Get your number. For retail or Amazon, license a UPC from GS1 US. For internal labels you can use your own numbering.
  2. Type the first 11 digits into the generator above. The 12th digit, the check digit, is calculated for you. If you paste all 12, the tool tells you whether the check digit is right and offers to fix it.
  3. Adjust the bar height and keep the quiet zone (white margin) switched on.
  4. Download PNG for labels and listings, or SVG for packaging artwork, so it stays sharp at any size.
  5. Test-scan a printout with the scanner or phone app you'll really use before printing in bulk.

What the 12 Digits of a UPC Mean

A UPC-A code has three parts. The GS1 company prefix comes first and identifies your business; its length depends on how many products you licensed numbers for. The item reference follows, a number you assign to each product and each variant (a medium blue shirt and a large blue shirt each need their own UPC). The check digit is always last.

How the UPC Check Digit Is Calculated

Take the example 03600029145:

  1. Add the digits in the odd positions: 0 + 6 + 0 + 2 + 1 + 5 = 14, then multiply by 3 = 42.
  2. Add the digits in the even positions: 3 + 0 + 0 + 9 + 4 = 16.
  3. Add both results: 42 + 16 = 58.
  4. The check digit takes you to the next multiple of 10: 60 − 58 = 2.

So the full UPC is 036000291452. Scanners repeat this sum on every scan and reject the code if the last digit doesn't match, which catches smudged bars and typos.

Do You Need a Real UPC for Amazon or Retail?

Yes, in most cases. Amazon and big retailers check UPCs against the GS1 database, so the number has to be licensed to your brand. Cheap UPCs resold online are often already tied to another company and can get listings blocked. Some brands and categories on Amazon can apply for a GTIN exemption instead. If you only need barcodes for your own warehouse, shelves or packing station, any consistent numbering works, and a Code128 barcode is often a better fit because it accepts letters too.

UPC vs EAN vs SKU

  • UPC-A: 12 digits, used in the US and Canada.
  • EAN-13: 13 digits, used in most other countries. Any UPC-A can be written as an EAN-13 by adding a leading 0. Switch to the EAN-13 tab above if you sell mainly outside North America.
  • SKU: your own internal stock code, not a barcode standard. Make a consistent set with the free SKU generator.

UPC Barcode Size and Printing

The standard UPC-A barcode is about 1.47 x 1.02 inches (37.29 x 25.93 mm), and most scanners handle 80% to 200% of that size. Print at 300 DPI or more, use dark bars on a white background, and never crop the white margin on either side.

Frequently Asked Questions

Can I get a UPC code for free?

You can make a scannable UPC-A barcode for free with this tool from any 11 or 12 digit number. That works for internal labels, warehouse bins and testing. A UPC number that identifies your product in retail stores or on Amazon has to be licensed from GS1, the organisation that assigns them. Barcodes made from random or resold numbers can be rejected because they don't match your brand in the GS1 database.

Do I need a UPC code to sell on Amazon?

For most product categories, Amazon asks for a GTIN, which for US sellers is usually a UPC. Amazon checks the number against GS1 records, so it should be a code licensed to your brand. Some brands and categories can apply for a GTIN exemption instead. Check Amazon Seller Central for the current rules for your category.

How is the UPC check digit calculated?

Add the digits in the odd positions (1st, 3rd, 5th, 7th, 9th and 11th) and multiply that sum by 3. Add the digits in the even positions (2nd, 4th, 6th, 8th and 10th). Add the two results together. The check digit is the number you need to add to reach the next multiple of 10. For 03600029145 the result is 58, so the check digit is 2 and the full UPC is 036000291452.

What do the 12 digits of a UPC code mean?

A UPC-A code has 12 digits. The first part is the GS1 company prefix assigned to your business. The next digits are the item reference you choose for each product and variant. The last digit is the check digit, which scanners use to catch misreads.

What is the difference between UPC and EAN?

UPC-A has 12 digits and is the standard in the US and Canada. EAN-13 has 13 digits and is used in most other countries. A UPC-A code can be written as an EAN-13 by adding a 0 at the front, and modern scanners read both.

What is the difference between a UPC and a SKU?

A UPC is a global number that identifies the same product in any store. A SKU is your own internal code for tracking stock, and you can make it up however you like. Many stores use both: the UPC on the packaging and a SKU in their inventory system.

What size should I print a UPC barcode?

The standard UPC-A size is about 1.47 inches wide by 1.02 inches tall (37.29 x 25.93 mm). You can usually scale between 80% and 200% of that. Print at 300 DPI or higher, keep the white margin on both sides, and test-scan a printed sample before a full run.