GS1 Barcodes & Valid GTINs for Shopify

LabelCraft - barcode labels for Shopify that print at exactly the size you set.

EN · FR · DE · ES
The guarantees behind every label
Exact to ±0.1 mm

Every label prints at the size you set - measured, not approximate.

Never a silent failure

Overflow or a missing barcode always raises a visible warning before you print.

Whole-dot barcodes

Modules snap to your printer's dots, so codes stay crisp and scan first time.

Your barcodes, untouched

We never overwrite or reassign a product's existing barcode.

A barcode is only useful if it scans and if it is the right number. An EAN-13 with a wrong check digit, a UPC pasted into the wrong field, or the same code reused across two products will be rejected by Google Shopping, refused by Amazon, and ring up the wrong item at the till. This guide explains what a GTIN is, how its check digit works, why marketplaces are so strict about it, and how to check and fix every barcode in your Shopify store before a single label prints.

What is a GTIN, and what is an EAN-13?

GTIN stands for Global Trade Item Number — the GS1 standard product number that sits behind a retail barcode. The barcode symbol is just one way to print that number. The four common forms, by length:

Because the shorter forms nest inside the 14-digit space, Google, Amazon and most retailers treat a 12-digit UPC and a 13-digit EAN as the same kind of identifier. LabelCraft renders the correct symbol — EAN-13, UPC-A, EAN-8 or Code 128 — automatically from your product data.

The check digit: how one wrong number breaks a barcode

The last digit of an EAN-13 or UPC-A is not part of the product number — it is a checksum that lets a scanner catch a misread or a typo. GS1 computes it with a fixed rule:

  1. Take the data digits — every digit except the final one (the check digit).
  2. Reading right to left across those data digits, multiply them by 3, 1, 3, 1, … (the rightmost data digit is multiplied by 3).
  3. Add up the results.
  4. The check digit is (10 − (sum mod 10)) mod 10 — the number that makes the total a multiple of 10.

Example: the data digits 400638133393 sum to 89 by that rule, so the check digit is (10 − 9) = 1 and the full valid GTIN-13 is 4006381333931. Change that last digit to 4006381333930 and the barcode is broken — every scanner and marketplace will reject it. LabelCraft's Barcode check page spots exactly this and offers the corrected number, 4006381333931, as a one-click fix.

GS1 prefixes are not country-of-origin codes

The first two or three digits of a GTIN are the GS1 Prefix — they identify the GS1 Member Organisation that issued the number, for example 00–13 for GS1 US, 400–440 for GS1 Germany, or 690–699 for GS1 China.

Restricted and internal barcodes — keep these off Google Shopping

Some prefix ranges are reserved for codes that are not globally-unique retail products. They scan on your own system but collide with other companies' numbers anywhere else — and marketplaces refuse them:

Why Google Shopping and Amazon reject invalid GTINs

Google Merchant Center treats the GTIN as the key that matches your offer to its catalog, so it checks the number hard. Get it wrong and the product is disapproved — it stops showing in Shopping ads and free listings until you fix it:

How merchants end up with invalid GTINs

Check and fix every Shopify barcode with LabelCraft

LabelCraft's Barcode check page audits every variant's barcode against all of the rules above and turns the findings into one-click fixes:

Every check runs on a single read-only page, with a dry-run preview before anything is written and zero impact on your monthly label quota — previews and audits never count against it. Nothing fails silently: each barcode comes back with a plain-English explanation.

Getting real GS1 barcodes

If a product genuinely needs a globally-unique retail barcode, there is only one source — GS1:

Install free — 200 labels per month →

Not sure whether a barcode in your store is valid? Contact LabelCraft support — we respond within one business day.

Related guides