How to add barcodes to WooCommerce products
- Edit a product and open Product data → Inventory. Enter the GTIN, UPC, EAN or ISBN and the SKU.
- Paste the same number above and download the barcode for packaging or labels.
- For many products, export to CSV and paste the column into the bulk generator.
- Scan-test a printed label with our online scanner.
Short answer: WooCommerce (since version 9.2) has a built-in GTIN, UPC, EAN or ISBN field in each product's Inventory tab, next to SKU. Put your GS1 number there for Google and marketplaces, then print the barcode here. For in-house stock, a Code 128 of the SKU is enough.
Where barcodes go in WooCommerce
Open a product, go to Product data → Inventory, and you will see the SKU field and the GTIN, UPC, EAN or ISBN field. For variable products each variation has its own. The GTIN is output in product structured data, which helps Google match your products in Shopping results. On older WooCommerce versions, sellers used plugins to add this field.
Bulk barcodes from a WooCommerce export
Go to Products → Export, export to CSV, and keep the SKU or GTIN column. Paste that column into the bulk barcode generator to download every barcode as a ZIP, or into the label sheet generator to print Avery or thermal labels with product names.
To sell through retailers and most marketplaces, the number must be a GTIN licensed to your brand by GS1, the non-profit that runs the UPC/EAN system. Making the barcode image here is free; the number has to be yours. See how to get a barcode for your product.
See also: barcode generators for every platform, product and use case.
Frequently asked questions
Does WooCommerce have a barcode field?
Yes. WooCommerce 9.2 and later include a "GTIN, UPC, EAN or ISBN" field in the Inventory tab of each product and variation. Older versions need a plugin.
Does WooCommerce generate barcode images?
Not in core. It stores the number. You can make the images free here, or use a POS or label plugin.
Should I use EAN or UPC in WooCommerce?
Use whatever GS1 issued for your product: UPC-A in the US and Canada, EAN-13 elsewhere. Both are GTINs and work with Google Merchant Center.
Can I use my SKU as a barcode?
Yes, for your own stock and POS. Encode it as Code 128. Do not put SKUs in the GTIN field, because that field is meant for real GS1 numbers.
How do I print barcodes for all my products?
Export products to CSV, then use the label sheet generator or bulk generator.