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.
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.
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.
| Line | Code | Type | Result |
|---|---|---|---|
| 2 | 8716340291573 | GTIN-13 (EAN-13) | Valid
|
| 3 | 8716 3402 9157 3 Use: 8716340291573 | GTIN-13 (EAN-13) | Valid
|
| 4 | '847205931643 Use: 847205931643 | GTIN-12 (UPC-A) | Valid |
| 5 | 7619482057361 | GTIN-13 (EAN-13) |
|
| 6 | 65917382427 Use: 065917382427 | GTIN-12 (UPC-A) |
|
| 7 | 53819475 | GTIN-8 (EAN-8) | Valid |
| 8 | 38716402951842 | GTIN-14 | Valid |
| 9 | 1-903752-48-5 Use: 9781903752487 | ISBN-10 | Valid
|
| 10 | 9790345612785 | ISBN-13 | Valid
|
| 11 | 7.61948E+12 | -- |
|
| 12 | 2007483104551 | GTIN-13 (EAN-13) |
|
| 13 | 417362950131 | GTIN-12 (UPC-A) |
|
| 14 | 9921873406212 | GTIN-13 (EAN-13) |
|
| 15 | 1111111111116 | GTIN-13 (EAN-13) |
|
| 16 | 12345 | -- |
|
How to use it
- Export your products from your shop, or download your feed as a sheet.
- 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.
- Use the filters to go through each kind of problem, and fix it where the code comes from.
- 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 with | What it is | In Google Shopping |
|---|---|---|
| 02, 2 (20 to 29) | In-store numbers, for items weighed or priced in the shop | Don't submit: restricted range |
| 04 | Numbers a company uses only inside its own business | Don't submit: restricted range |
| 8 digits starting 0 or 2 | Company internal 8-digit numbers | Not a product code (GS1) |
| 05 | Coupons (GS1 US keeps 050 to 059 for future use) | Don't submit: coupon range |
| 98, 99 | Coupons and refund receipts | Don't submit: coupon range |
| 952 | Kept by GS1 for demos and examples | Not a product code (GS1) |
| 977 | Magazines and newspapers (from an ISSN) | Fine |
| 978, 979 | Books (ISBN-13) | Fine |
| 979-0 | Printed 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 accountUp to 10 accounts, $149 each · Cancel anytime
Other free tools
Google Ads Character Counter
Count headlines, descriptions, sitelinks and callouts, and see a live ad preview.
Open toolSearch Terms Waste Finder
Paste a Google Ads search terms report and see which words spend money with zero conversions.
Open toolPerformance Max Asset Checker
Check a Performance Max asset group: text length, image shape and size, logos and videos, against Google specs.
Open toolGoogle Product Category Finder
Type a product and get the matching Google product category with its ID and full path, or match a whole list of titles.
Open toolUTM Builder for Google Ads and Meta
Paste your landing page and get one line of link tags with dynamic values that works for every Google or Meta ad.
Open toolGoogle Shopping Feed Checker
Check a product feed against Google rules in your browser: what Google can refuse, what costs you clicks, and which products.
Open tool