Barcode Validator

Paste a barcode number — or a whole list of them — into this free barcode validator to check instantly whether each code is structurally valid. It detects the format, verifies the check digit, and explains exactly why any code fails, so you can fix it instead of guessing. Everything runs in your browser: no signup, no upload, and your codes are never sent to a server.

Barcode Validator

Check one barcode number — or a whole list — for a valid format and check digit, with the exact reason when a code fails. Free, private, no signup.

Checked formats: GTIN-8 / EAN-8, GTIN-12 / UPC-A, GTIN-13 / EAN-13, GTIN-14, SSCC-18, ISBN-13 and ISBN-10. Spaces and hyphens inside a code are ignored.

Important: “valid” here means structurally correct — the right length, digits and check digit. It does not prove the number is registered to you or that it matches a real product. Only a GS1 registry lookup can confirm ownership.

100% private — every check runs in your browser with plain JavaScript. Nothing is uploaded or stored, unlike server-side validators.

How to validate a barcode number

Paste one barcode per line, or separate codes with commas, then press Validate barcodes. Each code gets its own verdict — valid or invalid — together with the format detected and, when a code fails, the exact reason. You can check a single code from a supplier sheet or a whole list at once, and copy the full results table for your records. Spaces and hyphens inside a code are ignored, so you can paste numbers exactly as they appear on a label or spreadsheet.

  1. Paste barcode numbers, one per line or comma-separated.
  2. Press Validate barcodes.
  3. Read each verdict and reason, fix failures, and copy the results if needed.

What this validator checks

Three things, in order: first, that the code has a recognised length and contains only digits (with X allowed as the final character of an ISBN-10); second, that the format matches — GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, SSCC-18, ISBN-13 for codes starting 978 or 979, and ISBN-10; and third, that the check digit or check character is correct — GS1 modulo-10 for the GTIN family, modulo-11 for ISBN-10. A code passes only if all three checks succeed, and the result names which check failed when one does not. For ISBN codes, you can create one first with our ISBN barcode generator.

Why a barcode fails validation

The most common cause is a simple typo: a transposed pair of digits, a digit dropped when copying from a label, or an extra digit added by mistake. Next is a wrong check digit copied from an old spreadsheet — the validator shows the expected digit, so the fix is a single character. Codes can also fail because they are not GTIN codes at all: internal Code 128 or Code 39 labels follow different rules and are not validated here. If a code fails, check its length first, then the expected check digit shown in the result.

What “valid” does — and does not — prove

A valid verdict means the number is well formed: the right length, the right characters, and a check digit that matches the maths. It does not prove the number is registered to you, licensed by GS1, or attached to a genuine product, and it cannot look up what product a code belongs to. Ownership can only be confirmed through a GS1 registry lookup, and product details through a scanner or product database. If a code fails here because its check digit is wrong, use our GS1 Check Digit Calculator to work out the correct digit before reprinting. You can also check codes by scanning them with the ISBN Barcode Scanner or the EAN-13 Barcode Scanner. A valid number can still fail to scan if the printed bars are damaged, too small, or poorly printed — use our barcode tester to check whether the printed image itself scans.

How do I know if a barcode number is valid?

Paste it into the validator above and press Validate barcodes. A valid code shows its detected format and a confirmation that its check digit is correct; an invalid code shows exactly which check failed.

Can I validate multiple barcodes at once?

Yes. Paste one code per line or separate them with commas, and the validator checks the whole list, giving a separate verdict and reason for each code plus a total count of valid and invalid codes.

My barcode scans but fails validation — why?

The most likely cause is a wrong or missing check digit, or a truncated code. Some scanners also read non-GTIN symbologies such as internal Code 128 labels, which do not follow GTIN check-digit rules and are not validated by this tool.

Does a valid barcode mean the product is genuine?

No. Validation only proves the number is structurally correct. It says nothing about who owns the number or whether it matches a real product — only a GS1 registry lookup can confirm ownership.