This tool draws scannable barcodes and QR codes from values you already have. Type one value to get a single code, or paste a list with one value per line (a column of SKUs from a product export works well) to build a whole batch of up to 500. Download each code as PNG or SVG, download them all as a ZIP, or send the batch to a printable label sheet.
One thing to be clear about up front: a barcode is only a picture of a number. The generator does not issue product numbers. For products sold through retailers, marketplaces or Google Shopping, the number itself has to be a GTIN licensed from GS1. For internal labels, you can encode anything you like.
How to use the barcode generator
- Pick a format: EAN-13, UPC-A, Code 128 or QR code. The table below explains which one fits your job.
- Choose single or bulk. For bulk, paste one value per line. To grab your SKUs, export products from Shopify (Products > Export) and copy the Variant SKU column.
- Add a label if you want one. In single mode, type it in the label field. In bulk mode, add it after a vertical bar on the same line, for example
TEE-BLK-M | Cotton tee, black M. The label prints under the code. - Enter the full number as issued. EAN-13 values are 13 digits and UPC-A values are 12 digits, both including the final check digit. Keep leading zeros.
- Fix any flagged values. If a check digit is wrong or missing, the card explains why and offers a one-click fix. In bulk mode, Fix check digits repairs them all at once.
- Adjust the look: bar width (1 to 4 px), bar height, whether to show the number under the bars, and PNG resolution (1x for screens, 2x, or 4x for print). For QR codes, choose the size and error correction level.
- Download or print. Save single PNG or SVG files, download all as a ZIP, or choose a label sheet, set copies per code and print.
- Test before a big print run. Scan one printed label with a handheld scanner or a phone scanning app and confirm it reads the exact value.
Which barcode type should you use?
| Format | What it holds | Typical use | Where the value comes from |
|---|---|---|---|
| EAN-13 | 13 digits | Retail products sold internationally and on most marketplaces | A GTIN-13 licensed from GS1 |
| UPC-A | 12 digits | Retail products in the US and Canada | A GTIN-12 licensed from GS1 |
| Code 128 | Letters, numbers and symbols | Internal SKUs, bin locations, warehouse and shipping labels | Anything you define |
| QR code | URLs or text | Package inserts linking to a care guide, reorder page or review page | Anything you define |
UPC-A and EAN-13 are closely related: a 12-digit UPC with a zero added in front is a valid 13-digit EAN. If you paste a valid 12-digit UPC into EAN-13 mode, the tool spots it and offers to add the zero or switch to UPC-A.
Label sheets you can print
| Sheet | Labels per page | Label size | Matches |
|---|---|---|---|
| Letter, 3 x 10 | 30 | 2.625 x 1 in | Avery 5160 size address labels |
| Letter, 2 x 5 | 10 | 4 x 2 in | Avery 5163 size shipping labels |
| A4, 3 x 7 | 21 | 63.5 x 38.1 mm | Avery L7160 size labels |
Set copies per code (up to 300) to fill a sheet with the same label, for example 30 copies of one SKU for a restock. A print run can hold up to 3,000 labels. In the print dialog, set scale to 100% (or "Actual size") and margins to none so the labels line up with the sheet.
Worked examples
- Shelf and bin labels for a small warehouse. Paste 120 SKUs such as
MUG-SPK-12in Code 128, add product names after a bar, choose the Letter 3 x 10 sheet and print four pages. Any USB scanner will then type the SKU into Shopify's search box. - Retail barcodes for a new product line. You licensed ten GTINs from GS1 US. Paste the ten 12-digit numbers in UPC-A mode, fix any typo the checker flags, and download SVG files for your packaging designer.
- A QR code on a package insert. Enter your review page URL, choose the Large size and Medium error correction, and download SVG for print. Use a short URL, because shorter data gives a simpler code that scans from further away.
Retail GTINs must come from GS1
GS1 is the nonprofit standards body that manages GTINs worldwide. Each country has a member organization that licenses numbers to brand owners. In the US, GS1 US offers a single GTIN for $30 with no renewal fee, or a company prefix sized to your catalog, starting at $250 up front plus $50 a year for 10 products (prices checked September 2026). Every variant that a shopper can buy separately, such as each size and color, needs its own GTIN.
Avoid numbers from resellers or "free UPC" lists. They may pass the check digit, but they are not registered to your company, and marketplaces and Google can check GTIN ownership against GS1 data. A made-up number that looks valid still describes someone else's product, or nothing at all.
If you resell branded goods, use the manufacturer's GTIN printed on the packaging instead of creating one. You can check a number with the GTIN lookup tool. If you make your own products and have no GTIN, read how to handle missing GTINs in Merchant Center before you buy one you may not need.
Code 128 for internal SKUs and warehouse labels
Code 128 has no registry and no fees, which makes it the right choice for anything that stays inside your business: shelf labels, storage bins, pick lists and stock counts. It encodes letters and numbers, so a SKU like TEE-BLK-M prints as-is.
- Keep SKUs short. Every extra character makes the barcode wider. The tool accepts up to 80 characters but warns that under 20 is practical.
- Stick to uppercase letters, digits and hyphens. Code 128 only supports basic Latin characters, so accents and emoji are rejected.
- Most USB and Bluetooth scanners type the scanned value like a keyboard, so a Code 128 label can fill any search box or inventory field.
How to add barcodes in Shopify
Shopify stores the product barcode at the variant level, in a field labeled Barcode (ISBN, UPC, GTIN, etc.) in the Inventory section.
- In Shopify admin, go to Products and open the product.
- If it has variants, click the variant you want to edit.
- In the Inventory section, enter the GTIN in the Barcode field and click Save.
For many products, fill the Variant Barcode column in a product CSV and import it (see the Shopify CSV import guide). Shopify sends this field to Google as the GTIN when you sync products for Shopping, so only put real GTINs here.
Warning: Do not type an internal Code 128 SKU into the Barcode field of products you sync to Google. Merchant Center reads that field as a GTIN, and an invalid one can get products flagged or disapproved.
Does Shopify create barcodes itself?
Shopify's free Retail Barcode Labels app, made for Shopify POS, designs and prints Code 128 labels on Dymo, Avery and Zebra label formats. For products without a barcode it can create one from the last 8 digits of the variant ID, and Shopify's help notes it overwrites existing barcodes when you ask it to generate new ones. Those numbers work in your own shop but are not GTINs. This page suits cases the app does not cover: EAN-13 and UPC-A symbols for licensed numbers, QR codes, SVG files for packaging, and labels for stores that do not use Shopify POS.
Who uses this generator
- Shopify and WooCommerce sellers labeling stock and bins so counts and picking go faster.
- Brand owners turning licensed GTINs into print-ready SVG files for packaging.
- Etsy and craft sellers adding QR codes to inserts that link to care guides or a review page.
- Pop-up and market sellers printing price labels to scan at a card reader or POS.
Troubleshooting
- "The check digit should be X". The last digit does not match the others. It usually means a typo elsewhere, so check the number GS1 issued before accepting the fix.
- "This has 11 digits". The check digit is missing or a leading zero was dropped by a spreadsheet. Add it back.
- "Too much data for one QR code". Shorten the text or lower the error correction level. Better still, link to a page.
- The scanner reads nothing. Print larger, use 4x PNG or SVG, keep dark bars on a white background and leave blank space on both sides.
- Labels drift down the sheet. The printer scaled the page. Print at 100% with no margins.
Printing tips and common mistakes
- Leaving no quiet zone. Barcodes need blank space on both sides. Do not crop right up to the bars.
- Stretching a PNG. Resizing a small image blurs the bars. Use SVG for packaging and large labels.
- Shrinking retail barcodes too far. GS1 sets size ranges for EAN and UPC symbols. If a label is too small, checkout scanners miss it.
- Low contrast. Print dark bars on a white or light background. Red bars and dark kraft paper often fail to scan.
- Reusing one GTIN across variants. Each size and color gets its own number.
- Losing leading zeros. Format the column as text before pasting a list from a spreadsheet.
Privacy
Every barcode, QR code, ZIP file and label sheet is drawn in your browser. Your SKUs, GTINs and URLs are not uploaded anywhere.
Related tasks
If you are not sure which products have missing or invalid identifiers, the AM Jarvis GMC Scanner and Fixer scans a connected store for product data issues such as missing GTIN or brand. Create order paperwork with the invoice generator, and read the Shopify Google Shopping feed guide to see how barcodes flow into your product feed.