GTIN-13 / EAN-13 Validator

Check a GTIN-13 / EAN-13 barcode with 13 digits against the GS1 check digit calculation.

Checks happen locally. We do not confirm product ownership or product data.

This validator checks

  • The number has exactly 13 digits.
  • The number contains digits only after spaces and hyphens are removed.
  • The final digit matches the GS1 modulo-10 check digit.

What is an EAN-13 or GTIN-13?

GTIN-13 is a 13-digit Global Trade Item Number. EAN-13 is the barcode symbol commonly used to represent it. It is the familiar retail format for many consumer products in Europe and other markets.

How is an EAN-13 structured?

The first twelve digits are assigned as part of the GTIN structure. The thirteenth digit is calculated from the preceding digits with the GS1 modulo-10 algorithm, helping detect transcription errors.

What does a valid EAN-13 result mean?

It means the length and mathematical check digit are consistent. It does not establish that GS1 allocated the number, that the product is active, or that a marketplace will approve its use.

Frequently asked questions

Are EAN-13 and GTIN-13 the same?

GTIN-13 names the 13-digit identification number; EAN-13 commonly describes the barcode symbol that encodes it.

Can a check digit reveal product information?

No. The check digit is for error detection only. Use an authoritative database when you need product or company information.

Read the GS1 guidance