How to Get a Barcode for Your Product

To get a retail barcode, license a GTIN from GS1 (a company prefix, or a single GTIN for one or two products), assign one number to each product variant, then generate and print the UPC or EAN barcode.

Short answer: contact GS1 in your country. You either license a GS1 Company Prefix, which lets you create a block of product numbers (GTINs), or, in some countries such as the US, buy individual GTINs. Give each product variant its own GTIN, make the barcode with a UPC or EAN-13 generator, and print it at the right size. Selling only in your own shop? You don’t need GS1 at all.

Do you actually need a GS1 barcode?

It depends on where the product will be scanned.

Where you sellDo you need a GS1 GTIN?What to use
Supermarkets, chain stores, pharmaciesYesGS1 Company Prefix and UPC-A / EAN-13
Amazon, Walmart Marketplace, Google Shopping and similarUsually yes (exemptions exist)GS1 GTIN; Amazon GTIN exemption if eligible
Independent shops and boutiquesOften, ask the buyerGS1 GTIN is the safe choice
Your own shop, market stall or website onlyNoAny internal code, e.g. Code 128 SKU labels
BooksNo (ISBN instead)ISBN barcode from your ISBN agency

Option 1: License a GS1 Company Prefix

A GS1 Company Prefix is a unique number assigned to your company. You add your own item reference numbers and a check digit to it to create GTINs. A shorter prefix leaves more digits for item numbers, so it covers more products: roughly, a prefix sized for 10 products, 100, 1,000 and so on.

Fees are set by each national GS1 organisation and vary a lot. Most charge an initial membership or licence fee and an annual renewal; some base the price on how many GTINs you need, others on your company’s annual turnover. Check the current price list on your local GS1 website. If you stop paying the renewal, the prefix is no longer licensed to you, and GS1 rules say the numbers shouldn’t be used for new products.

The benefit is that your company is listed as the brand owner in GS1’s global registry, which retailers and marketplaces use to check product data.

Option 2: Buy a single GTIN

If you only have one or a few products, GS1 US sells individual GTINs for a one-off fee with no annual renewal, and several other GS1 organisations offer similar small-business options. A single GTIN is fully legitimate and accepted by retailers. It doesn’t give you a company prefix, so if your range grows, a prefix becomes cheaper per product.

What about cheap barcodes from resellers?

Websites selling UPC codes for a few dollars usually sell numbers carved out of company prefixes that were issued decades ago, before GS1 introduced licence agreements. The barcode is technically valid and scans at a till, but:

  • GS1’s registry shows the original prefix owner as the brand, not you;
  • Amazon checks product IDs against GS1 data and can remove listings whose GTIN doesn’t match the brand;
  • many large retailers require GTINs licensed directly from GS1.

For a small local shop, a resold number may work. For anything bigger, a GS1-licensed GTIN avoids problems later.

Selling on Amazon: GTINs, exemptions and FNSKU

When you create a new listing, Amazon asks for a product ID such as a UPC, EAN or ISBN. If your products don’t have barcodes (for example handmade goods or private-label items sold only on Amazon), a brand owner can apply for a GTIN exemption for that brand and category. Approval isn’t automatic and requirements change, so check Seller Central for the current process.

Fulfilment by Amazon adds a second label: the FNSKU, an Amazon-assigned code that ties a unit to your seller account. It’s printed as a Code 128 barcode over or next to the manufacturer barcode. You can create those labels with the FNSKU label generator.

How do I turn my GTIN into a barcode?

  1. Assign a GTIN to each variant. Size, colour, flavour and pack count each need their own number. Keep a spreadsheet so numbers are never reused.
  2. Check the check digit. The last digit is calculated from the others. Use the check digit calculator or UPC check digit calculator.
  3. Choose the symbol. In the US and Canada, 12-digit GTINs are printed as UPC-A. Elsewhere, 13-digit GTINs are printed as EAN-13. Both scan worldwide; see UPC vs EAN.
  4. Generate the barcode as SVG or PDF for your packaging designer, so it stays sharp.
  5. Print it at the right size, between 80% and 200% of the nominal size, with clear quiet zones. See the barcode size guide.
  6. Test a printed proof with a scanner or our online barcode scanner before the full print run.
UPC-A barcode example for GTIN 012345000058
UPC-A (12 digits)
EAN-13 barcode example for GTIN 9520123456788
EAN-13 (13 digits)

Barcodes for cases and pallets

If retailers order your product by the case, the case needs its own GTIN, usually printed as an ITF-14 or GS1-128 barcode. Pallets shipped to distribution centres often need an SSCC label; the SSCC generator builds the number and barcode. Ask your retailer for their supplier labelling guide, which spells out exactly what they expect.

Common mistakes to avoid

  • Making up a number, or copying one from another product. It will clash with a real product somewhere.
  • Reusing a GTIN for a new or changed product. GS1 has rules on when a change needs a new number; see What is a GTIN?
  • Shrinking the barcode or cutting its height to fit the design. Undersized or truncated codes fail at the till.
  • Printing in red, or on a dark or shiny background. Scanners need dark bars on a light background.

Frequently asked questions

How do I get a barcode for my product?

Join GS1 (the organisation in your country, such as GS1 US or GS1 UK) to license a company prefix, or buy a single GTIN if you only have a few products. Assign a unique GTIN to each product variant, then turn each number into a UPC or EAN barcode with a barcode generator and print it on the packaging.

How much does a barcode cost?

It depends on your country and the size of your business. GS1 organisations charge an initial fee plus an annual renewal, priced by the number of product codes you need or by company turnover. GS1 US also sells single GTINs for a one-off fee. Generating the barcode image itself is free.

Can I make my own barcode for free?

You can create the barcode image for free, and for internal use (stock, assets, your own shop’s till) you can use any number you like, typically in Code 128. For selling through retailers or marketplaces you need a real GTIN licensed from GS1; a made-up UPC will clash with someone else’s product.

Are cheap barcodes from resellers legitimate?

Many resellers sell numbers from old company prefixes issued before GS1’s licence rules changed. The barcode scans, but GS1’s database lists the original company, not you. Many large retailers and Amazon check GTINs against GS1 data and can reject or remove listings that don’t match, so resold numbers are risky if you plan to sell through them.

Do I need a barcode to sell on Amazon?

Usually yes: Amazon asks for a GTIN (UPC, EAN, ISBN) when you create a new product, and checks it against GS1 data. Brand owners whose products don’t carry a barcode can apply for a GTIN exemption. If you use Fulfilment by Amazon, you may also need an FNSKU label, which Amazon assigns.

Do I need a different barcode for each size and colour?

Yes. Every variant that is sold separately (each size, colour, flavour or pack count) needs its own GTIN. A multipack or case that is ordered or shipped as a unit needs its own GTIN too.

How do I get a barcode for a book?

Books use an ISBN, not a GS1 company prefix. Get the ISBN from your country’s ISBN agency (for example Bowker in the US or Nielsen in the UK and Ireland), then make the barcode with the ISBN barcode generator.

Related free tools