Corporate17 July 2026

How to Check Whether a Barcode or Product Is Genuine

Practical steps to verify a product's barcode against registered GS1 data, and why the barcode alone is only one indicator of authenticity.

Lawyer Do Khanh Linh — Director, LTV Law
Reviewed by Lawyer Do Khanh Linh — Director, Hanoi Bar Association
Updated 17 July 2026
How to Check Whether a Barcode or Product Is Genuine
Table of contents

Almost every product on sale today carries a row of black and white bars with a string of digits underneath: the barcode. For consumers, retailers and distributors, the barcode is one of the first and most accessible clues to a product's origin and to whether it is legitimately in circulation. Not everyone knows how to read and check a barcode correctly, however, or understands the limits of this method.

This guide explains how to check whether a barcode, and the product carrying it, is genuine in Vietnam: calculating the EAN-13 check digit by hand, scanning with a phone app, and comparing the country prefix with the origin stated on the label. It also sets out clearly what a barcode cannot prove, so that a matching scan does not create a false sense of security.

What a barcode is and why it is worth checking

A barcode represents data as parallel bars of different widths, which a scanner can read to identify a product. The most common type on consumer goods is EAN-13, a sequence of 13 digits administered worldwide by GS1. The code is tied to the identity of the company and the product, and is used for traceability, warehouse management and checkout. For background, see our guide to what a barcode is and its structure and types.

Checking a barcode has several practical benefits:

  • Identifying origin: the first three digits show the country or territory where the company registered the code, which can be compared with the origin printed on the packaging.
  • Spotting irregularities: a barcode with a wrong check digit or a prefix that does not exist is a clear warning sign of unregulated or poor-quality goods.
  • Retrieving information: many barcodes are linked to product databases that show the brand name, a reference price and where the product is sold.
  • Protecting your interests: for imported goods, cosmetics and dietary supplements, which are frequently counterfeited, checking the barcode is an important first screening step.

Calculating the EAN-13 check digit by hand

This is the most fundamental method and the most reliable, because it does not depend on an app or an internet connection. In an EAN-13 code, the last digit (the 13th) is a check digit calculated using the standard GS1 formula. If you recalculate it and arrive at the same last digit, the barcode is mathematically valid. If you arrive at a different digit, the sequence has almost certainly been invented or misprinted.

The formula

Take the first 12 digits, numbering the positions from 1 to 12 from left to right:

  1. Add together all digits in the odd positions (1, 3, 5, 7, 9 and 11). Call this total A.
  2. Add together all digits in the even positions (2, 4, 6, 8, 10 and 12), then multiply by 3. Call this total B.
  3. Calculate the overall sum: S equals A plus B.
  4. Take the nearest multiple of 10 that is equal to or greater than S and subtract S. The result is the check digit. Expressed another way, the check digit is 10 minus the remainder of S divided by 10, and if that gives 10 the check digit is 0.

Worked example

Suppose the first 12 digits are 8 9 3 4 5 6 7 1 3 8 1 2 and you need the 13th check digit:

  • Step 1, sum of odd positions (A): 8 plus 3 plus 5 plus 7 plus 3 plus 1 equals 27 (the digits in positions 1, 3, 5, 7, 9 and 11).
  • Step 2, sum of even positions: 9 plus 4 plus 6 plus 1 plus 8 plus 2 equals 30 (positions 2, 4, 6, 8, 10 and 12). Multiplied by 3, this gives 90, which is B.
  • Step 3, overall sum: S equals 27 plus 90, which is 117.
  • Step 4, check digit: the nearest multiple of 10 that is equal to or greater than 117 is 120. 120 minus 117 equals 3.

The check digit is therefore 3, and the complete EAN-13 code is 8934567138123. If you see this sequence on a product and your own calculation gives 3 as the last digit, the code is structurally valid. If the last digit printed on the packaging is different, for example 8934567138127, the sequence is certainly not a standard barcode, which is a suspicious sign.

Tip: to check quickly without mental arithmetic, an online EAN-13 checking tool can be used: enter 12 or 13 digits and the tool calculates the check digit and reports whether the code is valid.

Using a barcode scanning app on your phone

For most people, the fastest and most convenient method is to scan with a phone. With a camera and a suitable app, product information can be looked up in seconds. Commonly used tools in Vietnam include:

  • iCheck Scanner: a widely used Vietnamese app with a Vietnamese interface, showing the product name, manufacturer, reference price and community reviews. Available on Android and iOS.
  • Scan and Check: an app developed in Vietnam that focuses on authentication and traceability of goods.
  • Barcode Viet (Barcode VN): scans and looks up domestic barcodes, showing the country prefix and basic information.
  • Zalo: the familiar messaging app has a built-in QR code and barcode scanner in its scan function, which is convenient because most people in Vietnam already have it installed.
  • Google Lens: built into the Google app and Google Photos, using artificial intelligence; point the camera at the barcode and Google returns search results related to the product.
  • Barcode Lookup and Barcode Scanner: international apps with large databases, suitable for checking imported goods, with an English interface.

Basic scanning steps

  1. Download and install the app from the App Store or Google Play.
  2. Open the app and allow access to the camera.
  3. Point the camera at the barcode and hold it steady until the app recognises it.
  4. Read the result. If the product name, manufacturer, images and points of sale match the item in your hand, that is a positive sign. If no information appears, or the information is completely different from the product, be suspicious.

As an alternative to an app, you can type the barcode digits directly into Google search. If the code is valid and in circulation, Google usually returns the brand name, images and pages selling the product.

Comparing the country prefix with the origin on the label

The first three digits of an EAN-13 code, known as the GS1 prefix, show the country where the company registered the code. An important caveat: the prefix reflects where the code was registered, not necessarily where the product was actually made. It is still useful for spotting inconsistencies with the "Made in" statement on the packaging.

Some common prefixes are:

PrefixCountry or territory of registration
893Vietnam
690 to 699China
880South Korea
450 to 459, 490 to 499Japan
885Thailand
888Singapore
00 to 13United States and Canada
300 to 379France
400 to 440Germany
500 to 509United Kingdom

How to compare: if a product states "made in Japan" but its barcode starts with 690 (China) without a reasonable explanation, such as a Chinese company manufacturing under contract for a Japanese brand, this calls for caution. Conversely, genuine Vietnamese goods usually carry the 893 prefix assigned to Vietnam. A complete reference is available in our list of country barcode prefixes.

An important limitation: a barcode is not conclusive proof

This is the point consumers most need to remember. A product with a valid barcode that returns information when scanned is not necessarily genuine. The reasons are:

  • Barcodes can be copied: a counterfeiter can photograph the barcode of a genuine product and print it identically on the packaging of a fake. When scanned, the app still displays the correct information for the genuine product.
  • A barcode encodes product identity, not quality: it tells you which item the code belongs to, but cannot verify whether the item in your hand is the original.
  • Databases are incomplete: many genuine products, particularly personally imported goods and new products, are not yet in app databases, so a "not found" result can appear even for a genuine item.

A barcode should therefore be treated as one of several layers of checking, not the only one. To increase confidence, combine it with:

  • Anti-counterfeiting labels: holograms, colour-shifting labels and the manufacturer's traceability QR labels, which are much harder to copy than a barcode.
  • Invoices and documents: the purchase invoice and the manufacturer's warranty card.
  • Reliable sales channels: brand stores, authorised dealers, and official brand stores on e-commerce platforms.
  • Close inspection of the packaging: print quality, spelling mistakes, borders and colours; counterfeit goods often contain small errors.

Brand owners facing copies of their products on online marketplaces can take further steps; see our guide to handling counterfeit goods on e-commerce platforms.

Checking imported goods

For imported goods, the check should be more thorough:

  1. Compare the barcode prefix with the country of origin on the Vietnamese supplementary label. Goods imported through official channels must carry a supplementary label that clearly states the origin, the importer and the distributor.
  2. Check the supplementary label: under the regulations, imported goods circulating in Vietnam must bear a Vietnamese supplementary label showing the name of the goods, the origin, and the name and address of the entity responsible. A missing supplementary label indicates unregulated goods.
  3. Use an international app such as Barcode Lookup to check the code of a foreign product and compare the images and brand name.
  4. Check the brand's website: many international brands allow a product code or serial number to be entered on their official site for verification.

For goods from China, a prefix of 690 to 699 is normal. What matters is consistency between the barcode, the supplementary label and the distribution channel, not the fact that the goods come from China.

Special points for cosmetics and food

These are the two most frequently counterfeited product groups, and they directly affect health:

  • Cosmetics: in addition to the barcode, check the batch code embossed on the packaging. Batch code checking websites can show the production date and expiry date. Genuine imported cosmetics must have a product declaration receipt number. Be wary of unusually low prices and blurred printing.
  • Food and dietary supplements: check the expiry date, the food safety declaration number and the import label. For dietary supplements, look up the registration number in the regulator's system. The barcode is only the first step; the declaration number and anti-counterfeiting label are the decisive factors.

Frequently asked questions

Can checking a barcode tell genuine goods from fakes with certainty?

No. Barcodes can be copied, so a barcode should only be treated as one indicator, and you need to combine it with anti-counterfeiting labels, invoices and purchases from reliable channels before reaching a firm conclusion.

If a scan returns no information, is the product fake?

Not necessarily. Many genuine products, new products and personally imported goods have not yet been added to app databases, so check other factors before drawing a conclusion.

What does the last digit of a barcode mean?

It is the check digit, calculated by a mathematical formula from the preceding 12 digits; if your recalculation gives a different digit, the sequence is almost certainly invented or misprinted.

What does the 893 prefix mean?

893 is the GS1 prefix for companies that register barcodes in Vietnam, so goods whose codes are registered by Vietnamese companies usually start with 893.

Does the barcode prefix show where the product was made?

Not exactly. The prefix shows the country where the company registered the code, which is not necessarily where the product was manufactured, but it is still useful for detecting inconsistencies with the origin stated on the label.

Which apps can be used to check barcodes in Vietnam?

iCheck, Scan and Check and Barcode Viet are commonly used and support Vietnamese, Zalo and Google Lens are convenient because they are already built in, and for foreign goods Barcode Lookup has a large international database.

Can I calculate the EAN-13 check digit myself?

Yes. Add the digits in the odd positions, add the digits in the even positions and multiply that sum by 3, add the two totals and then find the amount needed to reach the next multiple of ten, as in the worked example above; this check needs no internet connection.

What if the lookup shows a different company from the brand on the packaging?

A mismatch between the registered owner of the code and the printed brand is a warning sign and warrants caution before buying, unless there is a reasonable explanation such as contract manufacturing.

How LTV Law helps

Checking a barcode is a simple but useful way to screen goods, provided you remember that it is not conclusive proof. If your business needs genuine, valid barcodes registered correctly under the GS1 standard, LTV Law advises on and handles barcode registration in Vietnam. You can also read our full guide to registering a GS1 barcode or check official information at GS1 Vietnam.

For barcode registration or brand protection and anti-counterfeiting advice, contact our team.

This article is for general information only and does not constitute legal advice.

barcode verificationauthenticityGS1

Need help protecting your rights in Vietnam?

LTV Law acts as your licensed local representative — from filing to enforcement.

ZALOCALL