UPC Barcode Generator

Make a UPC-A barcode for a product. Type the 11 digits of your UPC (or all 12) and download a print-ready barcode with the check digit already worked out.

11 digits, or 12 with the check digit

Change the bar width, height and text here. The barcode on the left is drawn at the size it will print, so at 100% zoom it should match a ruler held to the screen.

PNG and JPG files store their resolution, so Word, Canva and label software place them at this size.

Colours

Dark bars on a light background scan best. Most scanners use red light, so red, orange and yellow bars read as blank.

What is a UPC barcode?

UPC-A (Universal Product Code) is the 12-digit barcode on almost every product sold in the United States and Canada. Shop tills read it to look up the product's name and price. The 12 digits are a GTIN-12 (Global Trade Item Number), made of a company prefix assigned by GS1, an item reference you choose for each product, and a check digit at the end.

Digits12 (11 data digits + 1 check digit)
CharactersNumbers only
Standard size (100%)37.29 mm × 25.91 mm (about 1.47" × 1.02") including the numbers
Allowed sizes80% to 200% of standard (bar width 0.264 mm to 0.66 mm)
Quiet zone9 bar widths of blank space on each side
Used inUS and Canadian retail, Amazon, Walmart, Google Shopping

How to make a UPC barcode

  1. Type the first 11 digits of your UPC. Leave off the last digit; we calculate it. If you enter all 12, we check that the last digit is correct.
  2. Leave the bar width on Standard (0.33 mm) for normal packaging. Go down to 0.264 mm (80%) only if space is tight, or up for cartons scanned from further away.
  3. Download a PNG at 300 DPI for labels and documents, or SVG/PDF for packaging artwork.
  4. Print one copy at 100% scale and test it with a scanner before printing in bulk.

Where do UPC numbers come from?

UPC numbers are issued by GS1 US. You can license a single number (a single GTIN) or a company prefix that gives you a block of 10, 100 or more. The prefix becomes the start of every UPC you make, and GS1 lists it under your company name in its database.

Amazon, Walmart and Google check product numbers against that database. A UPC licensed to another company, or recycled from an old prefix, can get your listing blocked or attached to someone else's product. You can check who a number belongs to with GS1's free Verified by GS1 lookup.

UPC-A or EAN-13?

A UPC-A is really an EAN-13 with a leading zero. Scanners worldwide read both, so a UPC works on products sold abroad, and modern US tills read EAN-13. Use whichever GS1 issued you: GS1 US issues UPCs, while GS1 organisations elsewhere issue EAN-13s. More in UPC vs EAN.

The first digit

The first digit of a UPC-A is the number system character. 0, 1, 6, 7 and 8 are for ordinary products; 2 is for variable-weight items like meat and deli goods priced in-store; 3 is reserved for medicines (National Drug Code); 4 is free for a shop's internal use; 5 and 9 are for coupons.

Pallet racking in a distribution warehouse
Pallet racking in a distribution warehouse.

Questions

  • A UPC-A has 12 digits. The last one is a check digit calculated from the other 11, so you only need to type 11 here.

  • You can make a barcode for any valid number, but for retail it must be a number licensed to you by GS1. Made-up numbers may belong to another company and will be rejected by Amazon, Walmart and most retailers.

  • The standard (100%) size is about 37.3 × 25.9 mm. GS1 allows 80% to 200%. Below 80% many scanners struggle.

  • The 12th digit, worked out from the first 11 to catch typing and scanning errors. You can see the working on our check digit calculator.

  • A UPC-A carries a GTIN-12. GTIN is the name of the number; UPC-A is the barcode that holds it.