Using barcodes for your products
Barcodes are scannable symbols that are made of lines, spaces, characters, and digits. Barcodes are used to identify and track products at different stages of the supply chain, such as in fulfillment centers to track inventory, on invoices to assist in accounting, or as a part of purchase process in retail stores.
You can add barcodes to your products and variants in your Shopify admin. A barcode identifies a product or a variant when it's scanned, such as at checkout in a retail store or during an inventory count. Barcodes can also be used for product identification in online marketplaces. Some sales channels might require a Global Trade Item Number (GTIN) before a product can be published using the channel.
On this page
Considerations for using barcodes
Review the following considerations for adding barcodes to your products:
- You can add up to 20 barcodes to a product or a variant, so codes from different suppliers, regions, or marketplaces can all be used for the same item.
- The same barcode value can't be used twice on the same product or variant.
- If you don't have a GTIN for a product, then you can request it from the manufacturer. Learn how to get a GTIN for a product that you manufacture at the GS1 standards website.
- In Shopify POS, you can find a product by scanning or searching any of its barcodes, or its SKU. Learn more about searching for products in Shopify POS.
- Barcodes scanned with Shopify POS can be used to publish products on the Google & YouTube channel.
When to use barcodes
Barcodes are useful when third-party services help manage your products, or you have an extensive fulfillment or inventory tracking process. Barcodes might be required for your products in the following scenarios:
- You sell products in online marketplaces.
- You sell products wholesale to retail stores.
- Your products go through a warehouse, distribution center, or fulfillment service.
Barcode benefits
Review the following benefits of using barcodes:
| Benefit | Description | Action |
|---|---|---|
| Accurate inventory tracking | Barcode data is more reliable than manually entered data. Barcodes can track inventory, pricing information, and even product information such as expiration date or weight. | Tracking inventory in warehouses and databases. |
| Real-time data | Barcodes provide product information almost instantly. You don't have to spend additional time on data entry or retrieval. | Searching for a product using the barcode within an online marketplace. |
| Low training requirements | Staff don't need extensive training to use barcode scanners or to scan barcodes. | Scanning barcodes in fulfillment centers. |
| Universally accepted | Barcodes are used and accepted worldwide in many industries. | Using barcodes in different businesses and industries. |
Barcode terminology
Review the following table to learn about barcode common terminology:
| Term | Definition |
|---|---|
| Global Trade Item Number (GTIN) | GTIN is a unique and internationally recognized identifier for a product. The GTIN is the number printed below the barcode symbol. UPCs, EANs, and ISBNs are internationally recognized types of GTINs. Learn more about GTINs. |
| European Article Number (EAN) | EAN, also known as GTIN-13, is the barcode type used for consumer products globally usually outside of North America. |
| Universal Product Code (UPC) | UPC, also known as GTIN-12, is the barcode type used for consumer products usually in North America. |
| International Standard Book Number (ISBN) | ISBN is a numeric commercial book identifier that is assigned to each separate book edition and variation. ISBN codes are used to uniquely identify a book anywhere in the world. |
| GS1 | GS1 is a not-for-profit, international organization that develops and maintains standards such as barcodes. |
| Assigned by Shopify | A barcode type that's automatically assigned to all products in Shopify Fulfillment Network (SFN). |
| Fulfillment Network Stock Keeping Unit (FNSKU) | An Amazon-specific barcode used by Fulfillment by Amazon (FBA) sellers. Each FNSKU begins with either the letter X or B. |
| Amazon Standard Identification Number (ASIN) | A type of Amazon internal catalog number that's unique and associated with a product or product variation. Each ASIN is 10 digits and contains a combination of letters and numbers. Each ASIN begins with either the letter X or B. |
Barcode types
Each barcode in your Shopify admin can have a type that records which industry standard its value follows. The value that you enter needs to match that standard's length limit and allowed characters. If you have a barcode that doesn't follow a set standard, then keep the barcode type as Custom.
Review the following table to learn about the barcode types that you can select in your Shopify admin:
| Barcode type | Accepted values | Usage |
|---|---|---|
| Custom | Any barcode value, up to a maximum of 255 characters in length. This is the default barcode type. | Barcodes that don't follow a set standard, including non-GTIN barcodes such as Code 39 and Code 128, which can encode letters and numbers. Code 39 is used mainly in warehousing and in industrial applications such as automotive and electronics. Code 128 is used in warehousing, apparel, food processing, drugs, and medical equipment industries around the world. |
| GTIN | 8, 12, 13, or 14 digits. | A unique and internationally recognized identifier for a product. UPCs, EANs, and ISBNs are types of GTINs. |
| UPC | 8 or 12 digits. | Retail products, mostly in North America. UPC-A barcodes are used on most retail products, and UPC-E barcodes are used on small packages or products such as cosmetics and packs of chewing gum. |
| EAN | 8 or 13 digits. | Retail products, mostly outside of North America. EAN-13 barcodes are used on products such as periodicals, magazines, and books, and EAN-8 barcodes are used on small packages or products such as cosmetics and packs of chewing gum. |
| ISBN | 10 or 13 characters, and can include the letter X. | Physical books and e-books around the world. ISBNs assigned before January 2007 have 10 characters. |
| ASIN | 10 letters or digits. | Amazon's internal catalog number for a product or product variation. |
| NS-PID | Any value, up to a maximum of 255 characters in length. | A non-standardized manufacturer product identifier, such as a model number, part number, or style code. It's used on customs declarations for shipments to the European Union. |
If you enter a barcode that's registered with GS1, then the barcode type is set to GTIN automatically. If your product name and vendor can be compared with the GS1 listing for that barcode and they don't match, then a warning is displayed. To compare your product details with the GS1 registry, click the warning icon.
If a saved barcode has the Custom type and its value is a valid GTIN, then GTIN is suggested as its type. You can accept or dismiss the suggestion.
If you want to learn more about barcodes, then refer to either the GS1 Barcode Chart for Canada or the GS1 Barcode Chart for the US.
Add barcodes to products
You can add barcodes to a product or a variant in your Shopify admin, or by scanning them with your mobile device's camera in the Shopify app. When you add a barcode, you can also set its barcode type.
You can also add barcodes by using the bulk editor or by importing a CSV file. In the bulk editor, you can enter barcodes with a barcode scanner instead of entering them by hand. Learn more about scanning barcodes in the bulk editor.
Add barcodes to a product without variants
You can add barcodes when you create a product, or when you edit an existing product. In the Shopify app, you can scan a barcode with your mobile device's camera.
Steps:
Desktop
From your Shopify admin, go to Products.
Click an existing product, or create a new product.
In the Inventory section, click the Barcodes field.
In the Barcode field, enter the barcode number.
Optional: To set the industry standard that the barcode applies to, click the Custom drop-down menu, and then select the barcode type that you want to use. Registered GTIN barcode values are automatically recognized, and the GTIN barcode type is selected for you.
Optional: To add another barcode, click
Add barcode, and then repeat steps 4 and 5.
Click Save.
Mobile
- From the Shopify app, tap the
icon .
- Tap an existing product, or create a new product.
- In the Inventory section, tap Edit.
- Tap Barcodes (EAN, GTIN, ISBN, UPC, etc.).
- Tap the
icon, and then scan the barcode with your mobile device's camera.
- Optional: To set the industry standard that the barcode applies to, tap the Custom drop-down menu, and then select the barcode type that you want to use.
- Optional: To add another barcode, tap
Add barcode, and then repeat steps 5 and 6.
- Tap Save or ✓.
Add barcodes to product variants
If a product has variants, then you add barcodes to each variant. In the Shopify app, you can scan a barcode with your mobile device's camera.
Steps:
Desktop
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, select the variants that you want to edit, and then click
> Edit barcodes.
For each variant in the Edit barcodes dialog, click the drop-down menu.
In the Barcode field, enter the barcode number.
Optional: To set the industry standard that the barcode applies to, click the Custom drop-down menu, and then select the barcode type that you want to use. Registered GTIN barcode values are automatically recognized, and the GTIN barcode type is selected for you.
Optional: To add another barcode to a variant, click
Add barcode, and then repeat steps 5 and 6.
Click Done.
Click Save.
Mobile
- From the Shopify app, tap the
icon .
- Tap the product that you want to edit.
- In the Variants section, tap the product's variants, and then tap a variant that you want to edit.
- In the Inventory section, tap Edit.
- Tap Barcodes (EAN, GTIN, ISBN, UPC, etc.).
- Tap the
icon, and then scan the barcode with your mobile device's camera.
- Optional: To set the industry standard that the barcode applies to, tap the Custom drop-down menu, and then select the barcode type that you want to use.
- Optional: To add another barcode, tap
Add barcode, and then repeat steps 6 and 7.
- Tap Save or ✓.
Barcode placement and printing best practices
How you print and place a barcode on a product can impact the ability of scanners to read your barcode.
Barcode printing methods
Depending on your product, barcodes can be printed using different methods. Review the following table to learn more about barcode printing methods:
| Method | Description | Example products |
|---|---|---|
| A barcode printed directly on a product. | A common method that uses laser printers to print the barcode directly onto the product when the barcode shouldn't be separated from the product. | Books, metal cans, plastic bottles. |
| A barcode printed on a label that's attached to a product. | Used by smaller businesses or the ones that don't have a laser printer to print barcodes directly on a product. | Stationery, coffee, loose produce. |
| A barcode printed on a hangtag that's attached to a product. | Used for products that lack a suitable surface for barcodes and for products that can be damaged by the label adhesive. | Apparel, giftware, table products. |
| A barcode printed on product packaging. | Used for products that come in a box or package. | Shoes, skates, electronics, and any packaged products. |
Barcode printing guidelines
Review the following general guidelines on how to correctly print barcodes, so that your barcodes are the correct size and they aren't cut off or misaligned on the labels that you print:
- If you print your barcodes, then use a resolution of 300 DPI or higher, so that barcode scanners can scan it.
- Before you print a large batch of barcodes, print a single test sheet and then verify that the barcodes work correctly.
- Print the barcode number below the symbol, so the product is still identifiable from the number if the barcode is damaged.
- Make sure that the barcode is at least 1.5 inches wide and 1 inch tall. Review the recommended size of the GS1 standards.
- Use black ink or another dark color when printing barcodes. Avoid using red or brown ink.
- Print unique barcodes for each product variant, so each variant can be identified within the supply chain.
Barcode placement guidelines
Review the following general guidelines on how to correctly place barcodes:
- Place barcodes flat on the product and don't fold them.
- Don't surround the barcode in tape or shrink wrap.
- Avoid placing stickers or text elements too close to your barcode.
- Don't truncate or cut off the top or the bottom of your barcode to make room for your label.
- Don't put multiple barcodes on your product.
- Don't put staples through a barcode.
- Don't position a barcode on the product in an area with inadequate space.
- Don't place barcodes on product edges.
- If your product is square, rectangular, circular, concave, or convex shaped, then consider using spot labels, hangtags, or carded sleeves.
If you want to learn more about best practices for barcode printing and label setup, then refer to GS1 guidelines for placing barcodes on products.