Published Nov 28, 2026
# Do You Need to Buy a Barcode Number?
Almost every barcode question that starts with "how do I get a barcode" is really three different questions. Do you need a number that the whole world can look up, a number that only your own warehouse understands, or just a symbol that fits on a small package? The answer decides whether you pay a yearly membership fee, pay a one-off fee for one number, or pay nothing at all. It does not change the geometry of the symbol: an EAN-13 printed from a licensed number and an EAN-13 printed from an invented number are pixel-for-pixel the same shape and both scan.
The difference is not in the bars. It is in who owns the digits, and where those digits have to be unique.
Which Situation Are You In?
| Where the code gets scanned | What you need | Who has to own the number | Registration |
|---|---|---|---|
| A shop till, a supermarket, a marketplace catalogue | GTIN-13 (EAN-13) or GTIN-12 (UPC-A) | You, through a GS1 Company Prefix, or a reseller whose prefix you inherit | Yes |
| Your own shelves, warehouse picking, a workshop | Any Code 128 or Code 39 reference you invent | Nobody outside your company | No |
| Event badges, assets, tables, tickets, internal forms | Code 128, QR or Data Matrix with an internal ID | Nobody outside your company | No |
| Hospital or logistics partner that mandates GS1 keys | GS1 GTIN, SSCC, GLN or GRAI | You, licensed from your local GS1 member organisation | Yes |
| Small item too narrow for 13 digits | GTIN-8 (EAN-8) | Issued by your GS1 member organisation | Yes |
The dividing line is simple: the moment the number leaves your building and someone else's database has to recognise it, the number has to come from a registry. Everything inside your building is your business.
Where the Digits Come From
An EAN-13 is not a random 13-digit string. It is built in three parts, and the last one is arithmetic rather than a choice:
| Part | Length | Who assigns it |
|---|---|---|
| GS1 Company Prefix | 7 to 10 digits (varies) | Your local GS1 member organisation, on a licence |
| Item reference | whatever is left before the check digit | You, freely, inside your own prefix |
| Check digit | 1 | Computed with the 3-1 modulo-10 weighting |
A prefix of 8 digits leaves 4 digits for item references, enough for ten thousand products. A prefix of 10 digits leaves 2 digits, which is 100. That single choice is what the membership fee is really scaling, so buy the prefix that matches your catalogue, not the largest one you can afford. The item reference is yours to structure: one team keeps a block for private label, another block for the next size up, and never reuses a reference for a different trade item.
The check digit is the part you can verify yourself in ten seconds. Weight the first 12 digits from the right with alternating 3 and 1, sum the products, and the check digit is the amount needed to reach the next multiple of 10. The same rule runs on EAN-8, UPC-A, GTIN-14 and SSCC; EAN-13 check digit walks through a full worked example. A number whose check digit is wrong is rejected by most till software before anyone notices the rest is fine.
Buying From GS1 Versus Buying a Single Number
| GS1 membership | Reseller's single number | |
|---|---|---|
| What you pay | Annual fee, scaled by company size and prefix length | One-off fee per number, sometimes a small catalogue |
| Who the prefix belongs to | You, for as long as you renew | The reseller |
| How many items you can number | Everything under your prefix, forever | Exactly what you bought |
| What a GS1 lookup resolves to | Your company name | The reseller's company name |
| Renewal risk | You control it | If the reseller lapses, the prefix may be withdrawn |
| EAN-8 / case codes / SSCC | Available, same prefix | Usually not available |
Reseller numbers are legal and cheap, and for a one-product crowdfunding run they are often how the first barcode gets printed. The catch is ownership: because the digits resolve to the reseller in GS1's registry, anyone who looks the number up finds their company, not yours. Large buyers and marketplaces that verify numbers against the registry expect the item to resolve to the brand that is selling it, and a number whose prefix belongs to a third party does not pass that check. If your plan is to be listed by buyers who verify, the prefix has to be yours.
Renewal is the second catch. A licence you stop renewing stops being yours, and the numbers already printed on packaging in circulation no longer resolve to anyone. Numbers you bought once from a reseller carry that same risk one level up: you are one step away from a membership you do not control.
Internal Barcodes Need No Registration
Nothing in a symbology specification requires you to ask permission to encode your own SKUs. What matters inside your own system is that two different objects do not end up with the same string, and that the string survives a typo:
| Use | Symbology to reach for | Why |
|---|---|---|
| Shelf-edge and picking labels | Code 128 | Dense, full ASCII, every scanner in the building reads it |
| Case or carton handling on a private line | Interleaved 2 of 5 or Code 128 | Numeric payloads, cheap printing |
| Asset tags, tool crib, lab samples | Code 128 or Data Matrix | Long IDs, small labels |
| Tables, menus, forms, badges | QR code | A URL or a record key, scanned by a phone |
| Anything that will later be sold retail | GTIN via a licensed prefix | So the number is portable when the product is |
Two rules keep internal codes from rotting. First, keep the identifier as a string of digits with a fixed length and zero padding, because spreadsheets and ERP exports strip leading zeros and silently merge two SKUs. Second, run the check-digit maths even for internal numbers, or add your own mod-based suffix; a transposed digit in a warehouse label is exactly as expensive as one at a till, it just fails later. Our barcode generator adds the check character for every symbology it prints, so an internal Code 128 arrives self-checking.
What the Prefix Does Not Tell You
The first digits of an EAN-13 identify the GS1 member organisation that issued the prefix. They do not identify where the product was made, and they do not identify the brand. A company that licences a prefix in one country can manufacture and sell in ten, and the number never changes. A code beginning with a familiar range therefore proves only that some company paid a membership fee to one GS1 office; it proves nothing about origin, quality or ownership. The myth repeats every few years on social media, which is why What is a barcode and What is a GTIN both spend time on what the prefix is and is not.
If you want to know who a number belongs to, GS1's public information and its GEPIR-style lookups resolve a GTIN to the licensee. If you want to know where an item was manufactured, that is a customs question, not a barcode question: origin has to be printed as text.
How Many Numbers Do You Actually Need?
Most small catalogues overestimate. A prefix is not a pack of numbers you consume; it is a namespace you subdivide. Six sizes of one shirt, in two colours, is twelve trade items, and a trade item is any version of a product that is offered separately to a buyer. Bundles, multipacks and gift sets each take their own reference. Colour, size, flavour, pack quantity and a changed recipe or a new net content all split the item. A new label slogan does not.
| Change to the product | New GTIN? |
|---|---|
| New size, colour, flavour or pack count | Yes |
| Net content or quantity changes | Yes |
| Recipe or formula changes | Yes |
| New packaging shape only, same contents | Usually no |
| Redesigned label, same product | No |
| Price change | No |
That table is the difference between a catalogue of 12 references and one of 300, and it is the question to settle before choosing a prefix length.
A Practical Order of Operations
- Decide where the code will be scanned. Till or partner system means a GTIN; your own equipment means an internal reference.
- If it is a GTIN, count your trade items for the next couple of years and pick the prefix length that leaves enough references.
- Write the numbering scheme down before generating anything: prefix, block boundaries, what the digits mean.
- Generate the symbol from the number rather than typing bars: EAN-13 generator for retail, Code 128 for internal.
- Print a test and scan it with the hardware that will actually read it, at the size and distance you will use.
- Keep the scheme in one place. The expensive failure is not a missing barcode, it is two products quietly sharing a number.