Free online tool

UPC scanner

Scan the UPC on any product to read its 12-digit number, confirm the check digit and pull up the product name.

No barcode handy? Tap a sample to scan it

Results

Nothing scanned yet. Decoded barcodes print out here like a receipt.

  1. Start the camera, drop in an image or PDF, or type the number.
  2. Read the value, the barcode type and, for products and books, what it is.
  3. Copy it, search it on Google, or export the whole list to Excel.

    How to scan a UPC barcode

    Start the camera and hold the barcode level, with the whole thing in the frame and a little white space on the left and right. UPC bars are thin, so hold steady for a second and let the camera focus. On a dark shelf, turn on the flashlight button. If the pack is curved, like a can, turn it so the bars run up and down the curve.

    No camera, or a barcode that is too scratched to read? Type the 12 digits in the Type code tab.

    What a UPC scan tells you

    A UPC (Universal Product Code) is the 12-digit barcode on almost everything sold in stores in the United States and Canada. The bars encode exactly the digits printed under them. The number identifies the brand owner and the specific item, and the last digit is a check digit that catches reading errors.

    After each scan this page shows:

    • the UPC number and whether its check digit is valid
    • the EAN-13 and GTIN-14 forms of the same number, which marketplaces such as Amazon often ask for
    • the GS1 prefix, which shows where the brand registered its barcode numbers
    • the product name, brand and image when it is in Open Food Facts or one of its sister databases
    • search buttons for Google, Google Shopping, Amazon and eBay

    If the result says the check digit is wrong, a digit was misread. Scan again in better light. The calculation behind that check is worked through in what the numbers in a UPC code mean.

    Scanning many items

    Switch on Batch mode to keep the camera running between scans. Scanning the same UPC again raises its quantity and does not add a new row, so a shelf count comes out as one line per product. Export the list to Excel or CSV from the buttons above the results. For a few dozen items this works well. For hundreds a day, a USB handheld scanner is faster and worth buying.

    If you only have the number

    Type the digits into the UPC lookup to validate the number and search for the product. For 13-digit codes from outside North America, use the EAN lookup, and for anything else the general barcode lookup.

    FAQ

    UPC scanner: questions and answers

    How do I scan a UPC code with my phone?

    Press Start camera, allow camera access, and hold the barcode about 15 cm from the lens so the bars fill most of the frame. It beeps when it reads and shows the 12-digit number. It works in the browser on iPhone and Android, with no app.

    What is the difference between UPC-A and UPC-E?

    UPC-A is the standard 12-digit barcode. UPC-E is a squeezed 8-digit version for small packs such as gum, cosmetics and soda cans. It leaves out zeros that can be worked out again. This scanner reads both. A UPC-E is shown as its full 12-digit number, with the short printed form noted beside it.

    Can I find out the price by scanning a UPC?

    No. A UPC holds an identification number and nothing else. Prices live in each store’s own database, which is why the same item costs different amounts in different places. After a scan, the Shopping, Amazon and eBay buttons show what sellers are charging today.

    My scan shows 13 digits. Is that still a UPC?

    A 13-digit number is an EAN-13. Every UPC can be written as an EAN-13 by putting a zero in front, and products from outside North America carry a true EAN-13 that does not start with zero. EAN vs UPC explains how the two relate.