E-commerce basics
Do I Need a Barcode to Sell Products Online?
There is no single yes-or-no barcode rule for all online selling. A direct-to-consumer store can often list and sell products without a standardized retail barcode, while marketplaces, wholesalers, retail partners and fulfillment systems may require a GTIN such as UPC or EAN.
Updated September 14, 2026
You do not automatically need a UPC or EAN merely because a product is sold on the internet. You may need one when a marketplace, retailer, distributor or connected sales channel requires a standardized product identifier. For an internal inventory workflow, your own SKU encoded in Code 128 can be enough. Check the rules of every channel where the product will actually be listed or fulfilled.
Three common online-selling scenarios
| Scenario | Standardized UPC/EAN always required? | What usually matters |
|---|---|---|
| Own direct-to-consumer store | Not automatically | Internal SKU, inventory and fulfillment workflow |
| Marketplace listing | Often required or exemption-based | Marketplace-specific product identifier rules |
| Wholesale / retail distribution | Commonly required | Trading-partner and GS1 product identity requirements |
Your own store can use internal identifiers
If you control the storefront, warehouse and order flow, an internal SKU can be enough to identify products operationally. You can encode that SKU in Code 128 for picking, packing or stock counts without calling it a UPC.
That internal barcode remains private to your system unless another partner agrees to use it.
Marketplaces can require standardized product identifiers
Shopify’s Marketplace Connect documentation notes that major marketplaces can require unique product identifiers such as GTIN, UPC, MPN or EAN, with exemption processes for some products that do not have standard identifiers.
Requirements vary by marketplace, region, category and seller situation, so a generic internet article should never override the live listing rules shown by the sales channel.
Use this decision order
- First ask where the product will be sold: own store, marketplace, retail, wholesale or multiple channels.
- Then ask whether that channel requires a standardized product identifier or offers an exemption.
- If a GTIN is required, obtain the legitimate assigned identifier before generating the barcode image.
- If only internal scanning is needed, keep the internal SKU separate from standardized retail identity.
- Re-check marketplace policy before launch because platform requirements can change.
Common questions
Frequently asked questions
Do I need a UPC to sell on my own website?
Not automatically. Your own store can often operate with internal SKUs, but downstream marketplaces, retailers, wholesalers or fulfillment partners may require standardized identifiers.
Do marketplaces require UPC or EAN?
Many marketplace workflows require a unique product identifier such as GTIN, UPC or EAN, while some products may qualify for exemptions. Check the current rules for the specific marketplace and category.
Can I make up a UPC number for my online store?
You can create an internal code for your own system, but it should not be represented as an officially assigned UPC/GTIN. Use a legitimate GTIN when a standardized identifier is required.
Can I use Code 128 instead of UPC or EAN?
For internal inventory, often yes. For a marketplace or trading partner that explicitly requires a GTIN/UPC/EAN, generic Code 128 does not replace the required identifier.
Sources & standards
Technical claims in this guide are checked against primary or official documentation where available.