Home / Free tools / Merchant Center / GTIN Checker
GTIN Checker for Google Merchant Center
Paste one barcode or a whole column. The checker validates length, the GS1 check digit and the prefixes Google rejects, flags spreadsheet damage such as lost leading zeros, and converts ISBN-10 and UPC-E where Google asks for the longer form.
Runs in your browser. Nothing you paste or choose is uploaded or stored.
What the checker tests
Google's GTIN attribute page sets out the rules a value must meet. The checker applies each of them to every line you paste:
- Length. Google accepts 8, 12, 13 or 14 digits: GTIN-8 (EAN-8), GTIN-12 (UPC-A), GTIN-13 (EAN, JAN and ISBN-13) and GTIN-14 (ITF-14 for multipacks). Spaces and dashes are allowed and ignored, so the checker strips them first.
- Check digit. The last digit of every GTIN is calculated from the others with the GS1 modulo 10 method. If it does not match, the number was mistyped, cut short or made up. The checker tells you which digit it expected.
- Restricted ranges. Numbers that start with 02, 04 or 2 (in the 13-digit form) are for internal or in-store use, such as weighed produce or a shop's own labels. Google does not accept them.
- Coupon ranges. Prefixes 05, 98 and 99 are reserved for coupons and are rejected too.
- Duplicates. The same number on two lines is flagged. Google asks for a separate GTIN for every variant, and only allows repeats when variant attributes such as condition or multipack differ.
- Spreadsheet damage. 11-digit values (a UPC that lost its leading zero), scientific notation such as 8.85E+12 and placeholder values like 0000000000000 are caught with a plain explanation.
How to use it
- Export your products from your store or feed tool and open the file in a spreadsheet. Format the barcode column as text so leading zeros stay.
- Copy the GTIN column and paste it into the box. Up to 10,000 values at once work fine on a laptop or phone.
- Click Check GTINs. Each row shows the type (for example GTIN-13), a Valid, Check or Invalid badge and the reason.
- Download the CSV if you want to sort the problems in your spreadsheet, fix the values at the source (for Shopify, the barcode field of each variant), and fetch the feed again.
A worked example
Take the value 36000291452. It has 11 digits, which is not a valid GTIN length. Adding a leading zero gives 036000291452; the GS1 calculation over the first 11 digits gives 2, which matches the last digit, so this is almost certainly a UPC-A that a spreadsheet trimmed. The checker reports exactly that and shows the corrected value. By contrast, 4006381333932 has the right length but the wrong final digit (the correct one is 1), so it is reported as invalid and should not be submitted until you have the real barcode.
For books, paste the ISBN-10 printed on older editions, such as 0306406152. The checker validates the ISBN-10 check character and gives you the ISBN-13 9780306406157, which is the form Google wants in the gtin attribute.
What it cannot tell you
No offline tool can confirm that a valid number belongs to your exact product. Google compares GTINs against data from manufacturers and other sellers, and a valid but wrong GTIN can still lead to an "incorrect product identifier" issue. The GS1 registry, the manufacturer's spec sheet and the physical package are the sources to trust. If you resell branded goods without a barcode in your system, ask your supplier; if you make the product yourself, it usually has no GTIN at all, and that is fine.
For a full walkthrough of the Merchant Center errors, read how to fix a missing or invalid GTIN. To understand the maths behind the last digit, see how a GTIN check digit is calculated. If your products have no barcode, this guide to identifier_exists explains what to send instead.
Checking a whole feed
GTIN problems rarely come alone. If you would rather check every column at once, the feed file checker reads a CSV, TSV or XML feed and applies these GTIN rules along with price, availability, title and link checks. For a hosted audit with safe automatic fixes, Merchant Feed Doctor is available on Apify and RapidAPI.
Questions
Does a valid check digit mean the GTIN is correct for my product?
No. The check digit only proves the number is internally consistent. A real GTIN that belongs to another product also passes. Compare the value with the barcode printed on the package or with the manufacturer's data.
Why does my 12-digit UPC show as 11 digits?
Spreadsheet programs treat barcodes as numbers and drop the leading zero. Format the column as text before you paste or import, then re-enter the value. The checker shows the 12-digit form when adding a zero gives a valid check digit.
What should I do if my product has no GTIN?
Leave the gtin attribute empty. Google says not to guess or invent a value. For custom, handmade or store-brand products, send brand and mpn where they exist, or identifier_exists = no.
Can I submit an ISBN-10?
Google asks for the 13-digit ISBN. The checker converts a valid ISBN-10 to its ISBN-13 (prefix 978) so you can paste the correct value.
Is anything I paste saved?
No. The check runs in your browser with JavaScript. The numbers are not sent to Van Born Labs or anyone else.
Google, Merchant Center, YouTube, LinkedIn, Indeed, Glassdoor and Shopify are trademarks of their owners. Van Born Labs is independent and not affiliated with them. Google's own help pages are the final word on its rules.