Skip to main content
Online Tool

UPC Lookup & Validator

Validate UPC-A and UPC-E codes, verify the check digit and decode the number system. Product-name lookup links out to external catalogs.

Accepts UPC-A (12 digits) or UPC-E (6–8 digits). Spaces and dashes are ignored.

Result

Enter a UPC and press Validate. We'll verify the check digit and show the structure breakdown.

About lookup data

A UPC is just an identifier — there is no single official database that maps every UPC to a product name. Public databases vary in coverage, especially for private-label, regional or older items. ReadBarcode's validator works 100% offline in your browser and does not depend on any paid API. The product lookup integration is on the roadmap.

UPC-A number system digit

The first digit of a UPC-A hints at what kind of code it is. This is a coarse classification — manufacturers and use cases overlap.

DigitMeaning
0, 6, 7, 8Regular UPC codes (most retail products)
1Reserved
2Random-weight items (produce, meat, deli) — price encoded in the barcode
3National Drug Code (NDC) — pharmacy and OTC drugs
4Loyalty cards and in-store use
5, 9Coupons

UPC-A vs UPC-E

UPC-E is not a different product code — it's a shorter printing of a UPC-A that drops runs of zeros so the barcode fits on small packs. This tool validates both and shows the expanded 12-digit form when you paste a UPC-E.

UPC-AUPC-E
Length12 digits8 digits (zero-suppressed)
Typical useStandard retail packagingSmall items where a full UPC won't fit
EncodesNumber system + manufacturer + product + check digitA compressed form of a UPC-A with specific zero patterns
Scans asUPC-AExpands back to its 12-digit UPC-A at the register

About this UPC lookup tool

This UPC lookup tool validates and decodes UPC-A and UPC-E barcodes — the 12-digit and 8-digit codes found on most retail products in the United States and Canada. It checks the check digit using the official mod-10 algorithm, splits the code into its number system, manufacturer and product segments, and shows the equivalent EAN-13 so you can use it anywhere in the world.

The validator works fully in your browser. A real product database lookup is on the roadmap; for now, validated codes can be sent to external catalog searches with one click.

When to use it

  • Verifying a UPC before listing a product on Amazon, eBay or Shopify.
  • Catching a mistyped digit in a printed UPC before sending it to a printer.
  • Confirming whether a code is UPC-A or compressed UPC-E.
  • Converting a UPC-A to its EAN-13 equivalent for international use.
  • Decoding a UPC's number system to spot coupons, NDC or random-weight codes.

How it works

  1. Paste the UPC

    Type or paste the digits. Spaces and dashes are ignored automatically.

  2. Validate

    We compute the check digit and confirm the format is UPC-A or UPC-E.

  3. See the structure

    Number system, manufacturer prefix, product code and check digit are split out.

  4. Get the EAN-13

    We show the EAN-13 equivalent (UPC-A with a leading zero) for international catalogs.

  5. Look it up externally

    Open the validated code in Google or a public catalog if you need product info.

What to avoid

  • Trusting any code that fails the check-digit test — it's almost certainly wrong.
  • Expecting every UPC to return a product name; many private-label items aren't in any public database.
  • Mixing up UPC-A (12 digits) with EAN-13 (13 digits) — the leading zero matters.
  • Validating a UPC with extra characters — clean spaces, dashes and letters first.
  • Paying for a third-party lookup before validating the UPC is even structurally correct.

Tips & tricks

  • Random-weight codes starting with 2 don't have a stable product mapping — they encode price.
  • If your UPC is on a coupon, it starts with 5 or 9 — that's not a product.
  • Use the EAN-13 form when querying international catalogs.
  • Save validated codes to a spreadsheet before sending them to a printer.
  • For book or magazine codes, use the ISBN reader instead of UPC lookup.

Frequently asked questions

What is a UPC code?
UPC (Universal Product Code) is the 12-digit barcode used on most retail products sold in the United States and Canada. The full form is UPC-A; a compressed 8-digit variant called UPC-E exists for small packages.
How is the UPC check digit calculated?
Take the first 11 digits, multiply digits in odd positions (1st, 3rd, …) by 3 and even positions by 1, sum them, then the check digit is the value that makes the total a multiple of 10. ReadBarcode does this calculation for you and tells you the expected digit if it doesn't match.
Why does my UPC fail validation?
Common reasons: extra spaces or letters, missing or extra digits, or a typo that breaks the check digit. The error message will tell you which one. UPC-A must be exactly 12 numeric digits.
Does this tool return product names and brands?
Not yet — this is a free validator and structure decoder. A real product database lookup is on the roadmap. For now, use the validated UPC with your own product source or the link-outs below.
Can I look up an EAN-13 here?
Use the EAN Lookup tool for EAN-8 and EAN-13. A UPC-A is technically an EAN-13 with a leading zero, so the GTIN Validator also accepts both.

Related tools