What a GTIN is
A GTIN (Global Trade Item Number) identifies a trade item. It has four lengths:
| Type | Digits | Usually printed as |
|---|---|---|
| GTIN-8 | 8 | EAN-8 barcode on small packs |
| GTIN-12 | 12 | UPC-A barcode (North America) |
| GTIN-13 | 13 | EAN-13 barcode (JAN in Japan) |
| GTIN-14 | 14 | ITF-14 or GS1-128 barcode on cartons; the first digit is the indicator digit |
The last digit is always the check digit.
How the check digit is calculated
- Take the digits without the check digit.
- From the right, multiply them by 3, 1, 3, 1 … (the digit next to the check digit is multiplied by 3).
- Add the results. The check digit is the number you must add to reach the next multiple of 10.
For 978316148410: 9×1 + 7×3 + 8×1 + 3×3 + 1×1 + 6×3 + 1×1 + 4×3 + 8×1 + 4×3 + 1×1 + 0×3 = 100. 100 is already a multiple of 10, so the check digit is 0 and the full GTIN-13 is 9783161484100.
GS1 prefix
The first digits of a GTIN are its GS1 prefix. GS1 allocates prefixes to its Member Organisations, which license numbers to companies. The GS1 prefix column shows the prefix found; Prefix: issuer or use shows the GS1 Member Organisation that issued the number (for example GS1 Japan), as listed on the gs1.org page GS1 Company Prefix on 24 November 2026. Prefixes that page does not list are reserved by GS1 Global Office, so the column is empty for them.
The prefix does not show the country of origin. As GS1 puts it: “Since GS1 user companies can manufacture products anywhere in the world, GS1 Prefixes do not identify the country of origin for a given product.”
Some prefixes are reserved for special uses (GS1 General Specifications Release 26.0, Table 1-4). For these, the column shows the use instead and the row gets a note:
| GS1 prefix | Use |
|---|---|
| 0000000, 04 | Restricted circulation numbers within a company (e.g. in-store codes) |
| 02, 20–29 | Restricted circulation numbers within a region (e.g. variable measure) |
| 05 | Reserved |
| 0000001–0000099 | Unused |
| 951 | GS1 Global Office: General Manager Numbers (EPC GID) |
| 952 | Demonstrations and examples |
| 977 | ISSN (serial publications) |
| 978–979 (9790: ISMN) | ISBN (books); 9790 is ISMN (music) |
| 980 | Refund receipts |
| 981–983 | Coupons for a common currency area |
| 984–989 | Reserved |
| 99 | Coupons |
A GTIN-12 is read as its GS1 prefix with a leading 0 (Table 1-6 and the page’s Note 4); a GTIN-14 is read without its indicator digit; a GTIN-8 uses its own prefixes (Table 1-5). Restricted circulation numbers cannot be used in a GTIN-14. Prefix 05 is treated as reserved for every GTIN length, as in Table 1-6 and on the gs1.org page (Table 1-4 lists it for company prefixes).
Using the tool
- Paste one GTIN per line, or separate them with commas or semicolons;
(01)in front is accepted. You can also upload a CSV, TSV, TXT or Excel (.xlsx) file and choose the column. - To calculate missing check digits, turn on Calculate check digit and enter the numbers without it (7, 11, 12 or 13 digits). With it off, 12 digits are checked as a GTIN-12.
- Empty lines are skipped but keep their number, so No. matches the line or row number in your list. Duplicates are marked; tick Remove duplicates to drop them.
- Download the results as CSV, TSV, Excel, JSON, JSON Lines or text, or only the rows with errors.
Common errors
- Only digits 0–9 are allowed – the number contains letters or symbols. Turn on Clean up input to remove spaces and hyphens and to convert full-width digits.
- Must be 8, 12, 13 or 14 digits – a digit is missing or extra. When calculating the check digit, enter 7, 11, 12 or 13 digits.
- Only the application identifier (01) is accepted – the entry starts with another identifier such as (02). Enter the GTIN alone or with (01).
- Check digit should be … – the last digit does not match the one calculated from the others, so one of the digits is wrong. The expected check digit is shown in the results.