If you’re getting ready to sell on Shopify — or expand to Amazon, Walmart, or physical retail — you’ll eventually need UPC barcodes. But searching for where to buy them is confusing fast: official sources, cheap resellers, “free” codes, lifetime deals. Some are perfectly fine. Some will get your listings rejected. This guide breaks down exactly where to buy UPC codes for Shopify, what’s safe, and what to avoid.
What a UPC code actually is
A UPC (Universal Product Code) is the 12-digit number under the barcode you see on retail products. It uniquely identifies a single product, and it’s built on a GTIN (Global Trade Item Number) issued by GS1, the global standards organization. Internationally, you’ll also see 13-digit EAN codes — same system, different length.
The key thing to understand: a barcode is only as trustworthy as where the underlying number came from. That’s the whole reason “where to buy” matters.
Option 1: GS1 (the official source)
GS1 is the organization that issues and manages the number prefixes behind every legitimate UPC. When you buy from GS1, the codes are registered to your company in the global database — which is exactly what large retailers and strict marketplaces want to see.
How GS1 pricing works (generally):
- You can license a company prefix (a block of numbers you assign to your own products), typically with an initial fee plus an annual renewal, priced in tiers based on how many products you need to identify.
- GS1 US also offers individual GTINs/barcodes for a one-time fee with no annual renewal — ideal if you only need a handful of codes.
Prices and plans change, so always confirm current rates on the official GS1 site for your country.
Buy from GS1 when: you plan to sell to major retailers (Walmart, Target, grocery), you want codes provably registered to your brand, or a marketplace explicitly requires GS1-issued barcodes. It’s the safest long-term choice.
Option 2: Third-party resellers
You’ll find sellers offering UPC codes for a few cents each, often as “lifetime, no renewal fees” bundles. These are real barcodes — but they’re typically numbers that were issued to another company’s GS1 prefix years ago and are being resold.
For some sellers that’s fine. For others it’s a problem:
- Amazon has restricted brand-registered listings to GS1-matched codes and may reject reseller UPCs where the registered company doesn’t match your brand.
- Walmart, Target, and most grocery/big-box retailers require GS1-registered codes outright.
- The numbers are not registered to your company, which can cause verification issues down the line.
Buy from a reseller when: you’re a small operation, selling on platforms that don’t verify GS1 ownership, and you’ve confirmed acceptance on your specific sales channels first. Treat “lifetime/no fees” claims with healthy skepticism.
Option 3: Buy codes directly inside Shopify (the easiest route)
If you’d rather not juggle a separate barcode vendor at all, you can buy UPC codes directly inside our Dragon UPC Barcodes Manager app. Instead of buying somewhere else and importing a CSV, you purchase the codes you need from within the app and assign them to your products and variants in the same place — no copying numbers between tabs, no separate account to set up.
It’s the most convenient option: buying and assigning happen in one workflow, right inside your Shopify admin. For strict big-box retailers that specifically demand GS1-registered codes, GS1 is still the safest route — but for getting products live quickly and keeping everything in one place, buying in-app is hard to beat.
Buy in-app when: you want the simplest possible path — purchasing and assigning codes in a single step inside Shopify, without setting up a GS1 account or vetting a reseller.
What about free UPC codes?
You’ll occasionally see “free barcode” offers. Be careful — free codes are almost always recycled or unregistered numbers with no guarantee of uniqueness. They can work for purely internal inventory tracking, but they’re a liability the moment you list on a marketplace or sell to a retailer. For anything customer-facing, it’s not worth the risk.
How many codes do you actually need?
This is where merchants overspend or underbuy. The rule: one unique barcode per sellable variant, not per product.
A t-shirt in 3 colors and 4 sizes isn’t one product — it’s 12 variants, so it needs 12 UPCs. Map out your full variant matrix before you buy so you purchase the right quantity (and pick the right GS1 tier).
Quick comparison
| Source | Best for | Marketplace acceptance | Cost shape |
|---|---|---|---|
| GS1 | Retail + strict marketplaces | Universally accepted | Initial fee + annual renewal, or one-time per GTIN |
| In-app (Dragon UPC Barcodes Manager) | Convenience — buy + assign in one place | Good for online stores & most marketplaces | Buy what you need, inside Shopify |
| Resellers | Small sellers, lenient channels | Hit or miss — verify first | Low one-time / “lifetime” |
| Free codes | Internal inventory only | Not reliable | Free |
After you buy: assigning and managing codes in Shopify
Buying the codes is only half the job — you then have to get them onto the right products and variants, validated, with no duplicates. Doing that by hand across a large catalog is tedious and error-prone (a single wrong check digit can get a listing rejected).
Our Dragon UPC Barcodes Manager handles this directly inside Shopify:
- Assign barcodes individually or in bulk via CSV import
- Check-digit and format validation (UPC-A / EAN-13) so you catch bad codes before a marketplace does
- Duplicate detection so the same code never ends up on two products
- Export your assignments anytime to keep a master record
So once you’ve bought your codes — whether from GS1, a vetted reseller, or directly inside the app itself — you can get them assigned and validated across your whole catalog in minutes instead of one product at a time. (Buy in-app and the codes are ready to assign immediately, with no import step at all.)
The bottom line
- Want the easiest path? Buy codes directly inside Dragon UPC Barcodes Manager and assign them in the same place — no separate vendor, no CSV import.
- Selling to retailers or on strict marketplaces? Buy from GS1 — it’s registered to your brand and accepted everywhere.
- Small store on lenient channels? A reputable reseller can work, but verify acceptance on your sales channels first.
- Just tracking inventory internally? Even free codes can do the job.
- Whatever you choose, buy one per variant, and manage them properly once they’re in Shopify.
Related reading
- How to Assign & Manage UPC Barcodes on Your Shopify Store — the step-by-step guide to getting your codes onto products and variants.
- How Dragon UPC Barcodes Manager Helps Your Business — what the app does and who it’s for.
Got your codes and need to get them onto your products? Install Dragon UPC Barcodes Manager — it’s free to get started, validates every code, and supports bulk import. Questions? Contact us and we’ll help.