How to Get a Barcode for Your Product
To get a barcode for a product sold in shops or on marketplaces, first license a GTIN (the number) from GS1 or your country’s GS1 office, then turn that number into an EAN-13 or UPC-A barcode with a generator, and print it at the right size on your packaging. The number is what you pay for; the barcode image itself can be made for free.
1. Get the number (GTIN) from GS1
Every retail barcode encodes a GTIN, a unique number that says which company made the product. GS1 is the non-profit that manages these numbers worldwide, with an office in most countries.
You join GS1 in your country, get a company prefix, and create one GTIN per product variant (each size, colour and pack size needs its own number). Big retailers and Amazon check that the number belongs to your brand.
Cheap "barcode numbers" resold online often belong to another company. Many retailers and Amazon reject them.
2. Pick the barcode type
| You sell… | Use |
|---|---|
| Retail product, worldwide | EAN-13 |
| Retail product, US / Canada | UPC-A |
| Very small package | EAN-8 or UPC-E |
| Book | ISBN (EAN-13) |
| Outer carton / case | ITF-14 |
| Internal stock, no shop checkout | Code 128 (no GS1 needed) |
3. Make the barcode image
- Open the generator for your type, e.g. the EAN-13 generator.
- Type the first 12 digits of your GTIN: the check digit is added for you.
- Download SVG or PDF for your packaging designer, or PNG for a quick label.
4. Print it right
- Keep the size between 80% and 200% of the nominal size (EAN-13: 37.29 × 25.93 mm).
- Dark bars on a light background: black on white is safest. Never red bars.
- Keep the white margins (quiet zones) on both sides of the bars.
- Test-scan the printed proof with a phone app before printing thousands.
Questions
Can I make up my own barcode number?
For your own warehouse or shop, yes: use Code 128 with any internal code. For products sold through other retailers or Amazon, no: you need a GTIN licensed by GS1.
Do I need a different barcode for each size or colour?
Yes. Each variant a shop needs to tell apart (size, colour, flavour, pack size) needs its own GTIN and barcode.
More guides
- EAN vs UPC: What Is the Difference?
- Barcode Size Guide for Printing
- Amazon Barcodes: FNSKU vs UPC
- Static vs Dynamic QR Codes
Updated: