GTIN Validator

One wrong digit in a GTIN can keep a product out of Google Shopping. Paste the codes from your feed or sheet below. You see at once which ones have a wrong check digit, the wrong length, a lost zero, a repeat, or a start Google says not to submit.

Free, no signup. Everything runs in your browser. Nothing you paste or pick is sent or saved.

V
Pawel Wilk
Founder, PerfoAds ·
4 min

Pawel Wilk, founder of PerfoAds and Google Ads specialist.

Your codes

One per line, or copy a whole column (or several) from your sheet. Spaces, dashes and quotes are fine.

Valid
7 of 15
Wrong check digit
1
Wrong length
1
Duplicates
2
Restricted or coupon
3
Lost zero
1
Valid means well formed, not registered. A right check digit shows the number is built correctly. It does not prove the number belongs to that product with GS1. Only use the code the maker printed on the product.

15 codes checked

Copy valid codes gives each code once, in the form Google takes: ISBN-10 as ISBN-13, UPC-E as the 12-digit UPC, lost zeros put back, and a spreadsheet's .0 or commas taken out. Codes with other problems are left out. Copy problems gives the code and the reason, split by a tab, ready to paste into two sheet columns.

15 codes shown.

LineCodeTypeResult
28716340291573GTIN-13 (EAN-13)Valid
  • Repeated: 2 rows have this code. Each product or variant needs its own GTIN.
38716 3402 9157 3
Use: 8716340291573
GTIN-13 (EAN-13)Valid
  • Repeated: same code as line 2.
4'847205931643
Use: 847205931643
GTIN-12 (UPC-A)Valid
57619482057361GTIN-13 (EAN-13)
  • Wrong check digit. The last digit should be 0, not 1. Often a typo: check the code on the pack.
665917382427
Use: 065917382427
GTIN-12 (UPC-A)
  • Lost its leading zero: a spreadsheet likely cut the 0 at the start. Use 065917382427.
753819475GTIN-8 (EAN-8)Valid
838716402951842GTIN-14Valid
91-903752-48-5
Use: 9781903752487
ISBN-10Valid
  • ISBN-10. Google needs the 13-digit form: 9781903752487.
109790345612785ISBN-13Valid
  • Printed music number (ISMN, starts 979-0).
117.61948E+12--
  • Damaged by a spreadsheet: shown as a rounded number (like 1.23E+11). The real digits are lost. Get the code again from the product or supplier.
122007483104551GTIN-13 (EAN-13)
  • In-store number (prefix 2). Shops use these for items weighed or priced in the store. Google says not to submit it.
13417362950131GTIN-12 (UPC-A)
  • Company internal number (prefix 04). It only works inside one company. Google says not to submit it.
149921873406212GTIN-13 (EAN-13)
  • Coupon range (prefix 99). Not a product code. Google says not to submit it.
151111111111116GTIN-13 (EAN-13)
  • Looks made up: all the same digit or a straight run like 123456789. Real codes almost never look like this.
1612345--
  • Wrong length: 5 digits. A GTIN has 8, 12, 13 or 14 digits (an ISBN-10 has 10).

How to use it

  1. Export your products from your shop, or download your feed as a sheet.
  2. Copy the barcode or GTIN column and paste it above. You can paste several columns: pick the one with the codes in "Codes are in". Or pick the .csv or .txt file.
  3. Use the filters to go through each kind of problem, and fix it where the code comes from.
  4. Copy the valid codes, or copy the problems as code and reason to share with whoever owns the data.

Spaces, dashes, quotes and the apostrophe a sheet adds in front of a number are all fine. Google ignores spaces and dashes too. It takes codes with 8, 12, 13 or 14 digits, wants books as the 13-digit ISBN, and wants short 8-digit UPC-E codes as the 12-digit UPC. The tool turns both into the long form. Source: GTIN [gtin], Google Merchant Center Help, checked on 22 Nov 2026.

What the check digit tells you

The last digit of a GTIN is worked out from the digits before it. If one digit is typed wrong, or two are swapped, the last digit no longer fits. The tool shows the digit that would fit. Don't just change it: a wrong check digit usually means another digit is wrong too. Check the code on the pack.

A valid check digit means the number is well formed, not that it is registered to that product with GS1. A made-up number can pass this check. Google asks you not to guess or make up a GTIN. If a product has no GTIN, for example your own brand, you don't need to send one.

Old 10-digit ISBNs use a different check (the last character can be X). The tool checks it and turns the code into the 13-digit ISBN Google asks for: 978, the first 9 digits, and a new check digit. Sources: What is an ISBN?, ISBN International and Google Merchant Center Help, checked on 22 Nov 2026.

Codes Google says not to submit

Google asks for GTINs outside the restricted ranges 02, 04 and 2, and outside the coupon ranges 05, 98 and 99. A 12-digit UPC counts as if it had a 0 in front, so a UPC starting with 2 or 4 falls in 02 or 04. For a 14-digit GTIN the range starts at the second digit.

Code starts withWhat it isIn Google Shopping
02, 2 (20 to 29)In-store numbers, for items weighed or priced in the shopDon't submit: restricted range
04Numbers a company uses only inside its own businessDon't submit: restricted range
8 digits starting 0 or 2Company internal 8-digit numbersNot a product code (GS1)
05Coupons (GS1 US keeps 050 to 059 for future use)Don't submit: coupon range
98, 99Coupons and refund receiptsDon't submit: coupon range
952Kept by GS1 for demos and examplesNot a product code (GS1)
977Magazines and newspapers (from an ISSN)Fine
978, 979Books (ISBN-13)Fine
979-0Printed music (ISMN)Fine

Sources, checked on 22 Nov 2026: Google Merchant Center Help (restricted and coupon ranges), GS1 Company Prefix list (what each range is used for) and GS1 General Specifications (8-digit company numbers, printed music).

Lost zeros and spreadsheet damage

Spreadsheets treat a GTIN as a number. A UPC like 065917382427 becomes 65917382427: the 0 at the start is gone. An 11-digit code whose check digit fits is almost always a UPC that lost its 0, so the tool shows the code with the 0 put back. Same for a 9-digit ISBN-10 that lost its 0.

Long codes can also turn into a rounded number like 7.61948E+12. The last digits are gone for good, so the tool marks the code as damaged. Get it again from the product or the supplier, and format the column as text before you paste codes into a sheet. Some sheets add .0 at the end, or commas between the digits. Those are taken out and the clean code is shown.

A worked example

The example list has 15 made-up codes, one for each case. 7 are valid. The first code is in the list twice, once with spaces, so both rows are marked as duplicates. Each product or variant needs its own GTIN.

7619482057361 has a wrong check digit: the last digit should be 0. 65917382427 lost its leading zero. 1-903752-48-5 is an ISBN-10, valid, and the tool gives its 13-digit form 9781903752487. 2007483104551 starts with 2, 417362950131 is a UPC that starts with 4, and 9921873406212 starts with 99: Google says not to submit any of the three. 1111111111116 has a valid check digit but looks made up. 7.61948E+12 was damaged by a spreadsheet.

Check your whole Google Ads account

PerfoAds checks your Shopping and Performance Max campaigns, along with the rest of your account, and lists the most important problems first.

Start the audit: $149/mo per account

Up to 10 accounts, $149 each · Cancel anytime

Other free tools