← Free tools

Free tool

Free barcode generator for Shopify and retail

Generate a scannable Code 128, EAN-13, or UPC-A barcode and download it as a crisp PNG or SVG. No signup, no watermark, and nothing you type leaves your browser.

Unsure? Code 128 for internal SKUs, EAN/UPC for products sold at retail.
Any letters, numbers, or symbols.
2px scans reliably from a screen or a 300dpi print.
Taller bars are easier to scan at an angle.

Everything runs in your browser. This tool does no tracking and stores no data.

Which barcode type should you pick?

Code 128 is the right default for anything internal: SKUs, bin locations, serial numbers, membership cards. It encodes letters, numbers, and symbols compactly, and every retail scanner reads it. Because there is no registry behind it, you can put any value you like in it today.

EAN-13 and UPC-A are the codes on products sold through retail channels. The numbers are not arbitrary: a real EAN or UPC starts with a company prefix licensed from GS1. If you only scan items inside your own store, you can generate your own numbers freely; if your products go to other retailers or marketplaces, buy a GS1 prefix and generate codes from that. The last digit is a checksum, and this tool computes it for you: enter 12 digits for EAN-13 or 11 for UPC-A and the check digit is appended automatically.

Generating barcodes for Shopify products

In Shopify, the barcode value lives on each product variant in the field named Barcode (ISBN, UPC, GTIN, etc.). A scanner at your POS reads the printed barcode, Shopify matches it to that field, and the right variant lands in the cart. Two things have to be true for that to work: every variant needs a value in the field, and the printed label has to encode exactly that value.

This page is handy for one-off codes, but nobody wants to generate and place hundreds by hand. LabelFast does the bulk version inside Shopify: it fills missing barcode values across your catalog, then prints labels with the barcode, name, and price for every product, with quantities matched to stock on hand, on DYMO and Zebra rolls or Avery 5160 sheets. The full printing guide covers the workflow end to end.

Tips for barcodes that actually scan

Keep the quiet zone: the white space either side of the bars is part of the code, so do not crop it or run bars to the edge of a label. Print black on white at 100% scale; grey bars and fit-to-page scaling are the two most common causes of unscannable labels. And after any change, test with the scanner you actually use at the counter, not just a phone app.