How to Translate Bar Codes

••• barcode image by bofotolux from

Bar codes use different sets of international standards to encode data as a series of white and black bars. There are many types of bar codes used to encode different types of data. UPC codes, used for commercial products, are some of the most common. Many bar codes, especially UPC codes, display the numeric equivalent of the code below the lines. These numbers indicate the type of bar code, and identification codes for the manufacturer and the product itself. You can use a bar code scanner to read the code and input it into a computer, or manually input the code into a bar code database.

    Look for the digits at the bottom of the bar code. All UPC bar codes have readable numbers printed on the bottom. UPC-A, a common standard for marking products, uses 12 digits.

    Find the first digit of the bar code, which is often printed in smaller type than the other digits. The last digit is usually smaller as well. The first digit indicates the type of UPC:

    0: Regular UPC codes 1: Reserved 2: Random weight items marked at the store 3: National Drug Code and National Health Related Items code 4: No format restrictions, for in-store use or on nonfood items 5: Coupon 6: Reserved 7: Regular UPC codes 8: Reserved 9: Reserved

    Find the next set of five digits. This is a unique identifier for the manufacturer. An organization called the GS1 assigns unique bar code ID numbers to manufacturers for use on UPC codes in the United States.

    Find the next set of five digits. This set is separated from the manufacturer code by a series of longer bar code lines. This code identifies the exact product. The last digit is a checksum, used by the scanner to ensure that the bar code was scanned correctly. The checksum is calculated using the first 11 digits of the bar code. The scanner calculates the checksum, and then checks its result against the last digit of the bar code. If the numbers match, the bar code was scanned correctly.

    Input the UPC code into an online UPC database (see Resources) to look up the manufacturer and product ID. Even if the database doesn't find the exact UPC you entered, it will return close matches that may provide some clues, and will likely give you the manufacturer, if not the exact product.


    • USB bar code scanners use keyboard emulation to enter the data into your computer. Just scan a bar code, and the numeric code appears at the cursor position on-screen.


About the Author

Based in Los Angeles but born and bred in Brooklyn, N.Y., Douglas Quaid has been writing for various websites since 2010. He holds a Bachelor of Arts in film from Bard College.

Photo Credits