---
title: "Barcode Validator – Check UPC, EAN, GTIN & ISBN"
description: "Free barcode validator. Paste any UPC, EAN, GTIN-14, ISBN, ISSN or SSCC to check its length, check digit and GS1 prefix country. Bulk validation and CSV export."
url: https://barcodejar.com/barcode-validator
source: BarcodeJar (free barcode tools)
---

# Barcode Validator

Paste a barcode number to find out instantly whether it's valid: the tool detects the type, checks the length and check digit, and shows the GS1 prefix and issuing country.

_Interactive tool: open https://barcodejar.com/barcode-validator to use it in your browser. It is free with no sign-up._

## How to validate a barcode number

1.  Type or paste the number printed under the barcode. Spaces and hyphens are fine.
2.  Read the detected type and whether the check digit is valid. An invalid code shows the correct last digit.
3.  Check the GS1 prefix line to see which country office or special range the number belongs to.
4.  Use the conversions (UPC-E ⇄ UPC-A, ISBN-10 ⇄ ISBN-13) or click **Generate barcode**.

## What the validator checks

| Format | Length | Check digit | Extra information shown |
| --- | --- | --- | --- |
| UPC-A | 12 | GS1 mod 10 | Number system, UPC-E form, EAN-13 form, GS1 prefix |
| UPC-E | 8 (or 6/7 without check) | From UPC-A expansion | Expanded UPC-A |
| EAN-8 | 8 | GS1 mod 10 | Prefix, restricted (0/2) numbers |
| EAN-13 | 13 | GS1 mod 10 | GS1 prefix and country, UPC-A if it starts with 0 |
| GTIN-14 | 14 | GS1 mod 10 | Indicator digit meaning, prefix |
| ISBN-10 | 10 | Mod 11 (X) | ISBN-13 equivalent, registration group |
| ISBN-13 | 13 (978/979) | GS1 mod 10 | ISBN-10 equivalent, registration group |
| ISSN | 8 | Mod 11 (X) | EAN-13 (977) barcode number |
| SSCC | 18 | GS1 mod 10 | Extension digit, prefix |

## Special prefixes worth knowing

-   **000–019, 030–039, 060–139**: GS1 US. A 12-digit UPC-A becomes an EAN-13 starting with 0, so most US products land here.
-   **020–029, 040–049, 200–299**: restricted distribution, used inside a store or company. Not unique.
-   **050–059**: coupons (UPC-A starting 5).
-   **952**: reserved for examples in GS1 documentation, never on real products.
-   **977**: serial publications (ISSN). **978–979**: books (ISBN), with 979-0 used for sheet music (ISMN).
-   **980–984, 990–999**: refund receipts and coupons.

For every country range, see the full [GS1 country code list](https://barcodejar.com/gs1-country-codes). Remember the prefix shows where the brand registered its number, not where the product was made.

## Valid number, unknown product?

A correct check digit doesn't tell you what the product is. Try the [barcode lookup](https://barcodejar.com/barcode-lookup) to search free product databases, or scan the code from a photo with [scan barcode from image](https://barcodejar.com/scan-barcode-from-image) if you don't trust the printed digits.

## Frequently asked questions

### How do I know if a barcode number is valid?

Check three things: the length matches a standard (8, 12, 13 or 14 digits for products), the last digit is the correct check digit, and the prefix is one GS1 has assigned. This validator does all three as you type.

### Does "valid" mean the barcode is registered to a company?

No. Valid means the number is well formed. Anyone can create a number with a correct check digit. To see who licensed a GTIN, search it on GS1’s [Verified by GS1](https://www.gs1.org/services/verified-by-gs1) service.

### Why is my 8-digit code shown as two types?

Eight digits can be an EAN-8, a UPC-E or an ISSN, and some numbers pass the check digit test for more than one. The validator shows every reading that is valid, so you can pick the one that matches the barcode on the product.

### What do prefixes 978, 979 and 977 mean?

978 and 979 are Bookland: the barcode carries an ISBN. 977 is for magazines and other serials, and the next seven digits are the ISSN without its check digit.

### What does a barcode starting with 2 mean?

Prefixes 020–029 and 200–299 are restricted distribution numbers. Stores use them for their own items and variable-weight goods such as meat or cheese, where the price or weight is often part of the number. They are not unique worldwide.

### Can I validate a list of barcodes?

Yes. Click **Bulk**, paste one number per line, and invalid lines are highlighted. Download the results as CSV to fix them in your spreadsheet.

### What is UPC-E to UPC-A expansion?

UPC-E is an 8-digit compressed UPC that drops zeros. Expanding puts the zeros back to give the 12-digit UPC-A, which is what databases and point-of-sale systems store. The validator shows the expansion for every valid UPC-E.

## Related free tools

[**Check Digit Calculator**GS1 check digits for UPC, EAN, GTIN, SSCC and ISBN.](https://barcodejar.com/check-digit-calculator)[**Barcode Country Codes**Which country is a barcode from? GS1 prefix lookup.](https://barcodejar.com/gs1-country-codes)[**Barcode Lookup**Look up any barcode number to see the product.](https://barcodejar.com/barcode-lookup)[**UPC to EAN Converter**Convert UPC-A ⇄ EAN-13 and UPC-E ⇄ UPC-A.](https://barcodejar.com/upc-to-ean-converter)[**ISBN-10 to ISBN-13 Converter**Convert ISBN-10 ⇄ ISBN-13, single or in bulk.](https://barcodejar.com/isbn-converter)[**Online Barcode Scanner**Scan any barcode with your phone or webcam camera.](https://barcodejar.com/barcode-scanner)[**Barcode Decoder**Decode a barcode image to text, type and raw data.](https://barcodejar.com/barcode-decoder)
