Skip to main content
Online Tool

GTIN Validator

Validate GTIN-8, GTIN-12, GTIN-13 and GTIN-14 product identifiers. Verifies the check digit locally — no signup, no upload. When the check digit is wrong, the result shows the digit the code should end with and a button that swaps it in, after spaces, dashes, dots and underscores are stripped.

Accepts GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13) or GTIN-14 (ITF-14). Spaces, dashes and dots are ignored.

Result

Paste a GTIN and press Validate. The detected type, cleaned number and check digit will appear here.

Supported GTIN Types

The validator handles every standard GS1 GTIN length with the same mod-10 algorithm.

GTIN-8

8-digit EAN-8 for small retail packages.

GTIN-12

12-digit UPC-A used in the US and Canada.

GTIN-13

13-digit EAN-13 — the global retail standard.

GTIN-14

14-digit ITF-14 used on cases, cartons and pallets.

How the GTIN check digit is calculated

Every GTIN ends in a mod-10 check digit that catches every single-digit typo and most transpositions. The validator runs exactly these steps for you — here is the math worked out by hand so you can verify a code anywhere.

  1. Take the GTIN without its check digit 0 3 6 0 0 0 2 9 1 4 5
  2. Multiply digits alternately by 3 and 1 (from the right) 0×3 3×1 6×3 0×1 0×3 0×1 2×3 9×1 1×3 4×1 5×3
  3. Sum the products 0 + 3 + 18 + 0 + 0 + 0 + 6 + 9 + 3 + 4 + 15 = 58
  4. Round up to the next multiple of 10 60
  5. Subtract the sum — that's the check digit 60 − 58 = 2

The same algorithm applies to GTIN-8, GTIN-12, GTIN-13 and GTIN-14 — only the number of digits changes.

About this GTIN validator

This GTIN validator confirms whether a product identifier is structurally correct using the GS1 mod-10 check digit algorithm. It accepts all four GTIN lengths — GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13) and GTIN-14 (ITF-14) — so you can paste any retail or logistics code without thinking about the format up front.

The check runs entirely in your browser. There's no upload step, no signup and no paid API behind it.

When to Use It

  • Bulk-checking GTINs before sending a product feed to Amazon, eBay or Shopify.
  • Catching mistyped digits in a supplier's spreadsheet before importing it.
  • Verifying a GTIN-14 carton code matches the inner GTIN-13 item code (after wrapping).
  • Confirming a freshly minted GTIN before issuing it to a printer.
  • Debugging why a marketplace listing is being suppressed for an invalid identifier.

How It Works

  1. Paste the GTIN Type or paste any GTIN-8/12/13/14. Spaces, dashes, underscores and dots are cleaned automatically.
  2. Auto-detect the type Length determines whether the code is treated as GTIN-8, GTIN-12, GTIN-13 or GTIN-14.
  3. Check the check digit We run the GS1 mod-10 algorithm and compare against the digit you provided.
  4. See the result Valid codes show the detected type and cleaned number. Invalid codes show the expected check digit.
  5. Copy or fix Copy the cleaned, validated code to the clipboard or apply the suggested fix.

What to Avoid

  • Validating GTINs that still have spreadsheet apostrophes or thousand-separators attached.
  • Assuming a structurally valid GTIN means the product exists — it only means the number is well-formed.
  • Treating GTIN-14 cartons and inner GTIN-13 items as interchangeable in feeds.
  • Using internal SKU numbers as GTINs — they almost never validate.
  • Trusting any code where someone has 'fixed' the check digit by hand without recomputing it.

Tips & Tricks

  • If validation fails with a one-off check digit, you almost certainly have a typo in the body.
  • Use the Check Digit Calculator when you have the first 7/11/12/13 digits and need the missing one.
  • For bulk lists, paste each GTIN in turn — batch tooling is on the roadmap.
  • A GTIN-13 starting with 0 is the same code as a GTIN-12 (UPC-A) — both are valid.
  • GTIN-14 'indicator digits' 1–8 mean inner packs/cases; 9 means variable measure.

GTIN Checker: Is This GTIN Valid?

A GTIN is valid when it has 8, 12, 13 or 14 digits and ends in the correct mod-10 check digit.

GS1 GTIN Check vs This Validator

Verified by GS1 shows whether a GTIN is registered to a brand owner. This validator is a GTIN check of the number only, so run it first.

GTIN-13 and GTIN-14 Validation

Both use the same calculation; the validator tells them apart by length. See the GTIN guide for where each is used.

Validating a GTIN-14 Case Code

A GTIN-14 is often an indicator digit, the item GTIN-13 without its check digit, and a new check digit. Example 10614141000415 wraps item 0614141000418.

Frequently Asked Questions

What Is a GTIN?

GTIN (Global Trade Item Number) is the GS1 standard product identifier. It comes in four lengths: GTIN-8 (EAN-8), GTIN-12 (UPC-A), GTIN-13 (EAN-13) and GTIN-14 (ITF-14 / logistics). The validator checks all four with the same mod-10 algorithm.

How does GTIN check digit validation work?

Multiply digits at odd positions counted from the right (excluding the check digit) by 3 and even positions by 1. Sum the results. The check digit is whatever value makes the total a multiple of 10. ReadBarcode runs this check locally and shows the expected digit if yours doesn't match.

Why Is My GTIN Invalid?

The most common causes are a mistyped digit, an extra or missing digit, or leading/trailing characters from a spreadsheet (apostrophes, spaces). The error message shows the expected check digit, which usually pinpoints the typo.

Can I Paste a UPC or EAN Here?

Yes — a UPC-A is a GTIN-12 and an EAN-13 is a GTIN-13. They're all the same family. For full structure breakdowns and product lookup links, use the dedicated UPC Lookup or EAN Lookup tools.

Does the Validator Look up Product Names?

No — this is a pure validate-product-identifier tool. It confirms a GTIN is structurally correct. Product names depend on public databases and are handled by the lookup tools.

Is It Safe to Validate GTINs From Confidential Product Sheets?

Yes. The check digit math runs entirely in your browser — nothing is sent to a server, logged or stored.

Can I Check a GTIN Without the Check Digit?

Not here: the validator expects all 8, 12, 13 or 14 digits and reads the last one as the check digit. If you only have the first 7, 11, 12 or 13 digits, the Check Digit Calculator works out the missing one. Paste the completed code back here to confirm it.

Does a Valid GTIN Mean It Is Registered?

No. A matching check digit only shows that the number is well formed, and anyone can type a structurally valid GTIN that no company has been assigned. To see whether a GTIN is licensed to a brand owner, look it up on Verified by GS1.

Related Tools