Free · no signup

    Free GTIN Checker: EAN and UPC Check Digits

    Check one EAN or a list of GTINs before preparing your product feed. Length, digits and the check digit are checked in your browser, with no account required.

    Keep leading zeros. Enter digits only, with no spaces or hyphens inside a code.

    Format and check digit checked in your browser. Product assignment: Not verified.

    Enter a code to start checking.

    How to use the GTIN checker

    1. 1

      Copy the complete code

      Use the barcode from the packaging or manufacturer’s product record, including its final check digit. Preserve leading zeros: spreadsheets may remove them.

    2. 2

      Enter one code per line

      Paste digits only, without spaces or hyphens inside a code. Empty lines are ignored. Other characters are flagged rather than silently removed.

    3. 3

      Read each result

      Compare the expected and received check digits. A correct check digit does not verify product assignment: also match the brand, model and variant.

    FormatTotal length
    EAN-88 digits
    UPC-A12 digits
    EAN-1313 digits
    GTIN-1414 digits

    EAN check digit calculator: the 3/1 formula

    Remove the final digit. Starting from the rightmost remaining digit, multiply alternately by 3 and 1. Add the products. The check digit completes this sum to the next multiple of 10; when the sum is already a multiple of 10, the check digit is 0.

    Check digit

    (10 − (weighted sum modulo 10)) modulo 10

    Worked example: 4006381333931

    • Without the check digit: 400638133393.
    • Left to right: 4×1 + 0×3 + 0×1 + 6×3 + 3×1 + 8×3 + 1×1 + 3×3 + 3×1 + 3×3 + 9×1 + 3×3 = 89.
    • The next multiple of 10 is 90: 90 − 89 = 1.

    ResultExpected digit 1, received digit 1: valid check digit.

    Restricted prefixes and ISBNs

    Prefixes 2, 02 and 04, read in the 13-digit format, indicate internal use or restricted circulation. For UPC-A, this means a code starting with 2 or 4; for EAN-8, with 2. For GTIN-14, the tool removes the first packaging indicator digit before reading the prefix. A correct check digit does not turn these numbers into worldwide product identifiers that can be reused for any item.

    Thirteen-digit codes starting with 978 or 979 belong to the book identifier family; 9790 identifies printed music (ISMN). Their mathematical check uses the same formula as EAN-13. Convert an ISBN-10 to its appropriate format before checking it here.

    Prepare the rest of your feed with the Google Shopping guide, or explore the free tools for product listings and campaigns.

    Frequently asked questions

    Why does Merchant Center reject a GTIN with a valid check digit?

    The check digit tests numerical consistency, not the product assignment. Match the manufacturer’s code to the exact model, size, color and packaging. Also check for missing leading zeros and restricted prefixes.

    When should I set identifier_exists to false?

    Only when the product genuinely does not have the required identifiers. This field is not a workaround for a GTIN missing from your file when the manufacturer has assigned one. Check which identifiers apply before editing the feed.

    Can I invent a GTIN with a correct check digit?

    No. A mathematically correct check digit does not assign a product number. Use the identifier actually assigned to your item, not another variant’s code. Do not replace the received check digit without finding the original number.

    Are my codes sent to a server?

    The check digit calculation runs in your browser. You can check multiple codes on separate lines without creating an account.

    Is your store compliant with Google Merchant Center?

    GClimb reviews your site the way a Google reviewer would and lists what to fix before it costs you a suspension. Run a free audit to get your compliance score.

    Run the free audit