Shopify Barcode Generator

Make the barcode for any Shopify product variant: a UPC or EAN if you sell through retailers or Google Shopping, or a Code 128 of your SKU for in-store labels and Shopify POS. Free PNG, SVG or PDF.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Paste the value from the variant's Barcode field (UPC: 11–12 digits, EAN: 12–13 digits) or switch to Code 128 to encode your SKU.

Customize size, color & style
Make many

How to add barcodes to Shopify products

  1. In Shopify admin, open a product and scroll to the variant's Inventory section. Type the UPC, EAN or SKU into the Barcode field and save.
  2. Paste the same value into the generator above and pick UPC-A, EAN-13 or Code 128.
  3. Download a PNG for labels or an SVG/PDF for packaging. For many variants, use the bulk generator with your Shopify CSV export.
  4. Scan a printed label with Shopify POS (or our online scanner) to check it finds the right variant.

Short answer: Shopify does not create barcodes for you. Each variant has a Barcode (ISBN, UPC, GTIN, etc.) field where you type a number. Use a GS1 UPC/EAN there if you sell wholesale, on Amazon or through Google Shopping. For your own shop and Shopify POS, a Code 128 of the SKU works fine.

Which barcode to use on Shopify

Shopify only stores the number. Which number you use depends on where the product is sold.

You sell…Put in the Barcode fieldBarcode to print
Only in your Shopify store and at your own POSYour SKU, or leave the field empty and use the SKUCode 128 of the SKU
On Google Shopping / Merchant CenterThe product's GTIN (UPC, EAN or ISBN)UPC-A or EAN-13
To other retailers, or on Amazon and WalmartYour GS1-licensed GTINUPC-A (US/Canada) or EAN-13
BooksThe ISBN-13ISBN barcode

Scanning with Shopify POS

Shopify POS can scan barcodes with the device camera or a supported Bluetooth or USB scanner, and looks the scanned value up in the Barcode and SKU fields of your products. It reads common 1D formats such as UPC, EAN and Code 128. The value you print must exactly match what is stored on the variant, including leading zeros.

Every variant needs its own code. A T-shirt in three sizes and two colours is six variants, so six barcodes.

Printing Shopify product labels

For a handful of products, download PNGs here. For a whole catalogue, export your products to CSV from Shopify (Products → Export), keep the Variant Barcode or Variant SKU column, and paste it into the bulk barcode generator or the label sheet generator to print on Avery or thermal labels. A UPC prints well at 100% (about 37 × 26 mm), which fits on a 2 × 1 inch thermal label.

See also: barcode generators for every platform, product and use case.

Frequently asked questions

Does Shopify generate barcodes?

Shopify does not assign UPC or EAN numbers. You type a number into the variant's Barcode field. Shopify's Retail Barcode Labels app can print labels from your product data, and you can also make the barcode images here for free.

Do I need a UPC to sell on Shopify?

No. Shopify does not require one. You need a GS1 UPC/EAN if you list on Google Shopping for branded products, sell on Amazon or Walmart, or sell to retailers.

Can I use my SKU as a barcode in Shopify?

Yes, for your own store and POS. Encode the SKU as Code 128, which handles letters, numbers and dashes. Do not put an invented number in the Barcode field if you sell on Google Shopping, because Google expects real GTINs there.

Can I buy cheap UPCs for Shopify?

Resold UPCs are not registered to your company in GS1's database, and Amazon, Walmart and many retailers reject them. If you only sell on Shopify you may not need a UPC at all. See how to get a barcode.

Why does Shopify POS not find my product when I scan?

The scanned value does not match the Barcode or SKU field exactly. Check for missing leading zeros, an extra check digit, or spaces. Scan the label with our online scanner to see the exact value.

What size barcode label should I use?

A UPC-A at 100% is about 37 × 26 mm, which fits a 2 × 1 inch (51 × 25 mm) label. GS1 allows scaling between 80% and 200%. Code 128 SKU labels can be smaller if the SKU is short.

Related free tools