Skip to main content
Online Tool

Barcode Type Detector

Paste any barcode value and we'll tell you whether it's UPC, EAN, GTIN, ISBN or a QR Code payload — with confidence and a recommended next tool.

Spaces, hyphens, dots and underscores are ignored. Detection runs entirely in your browser.

Detection

Paste a barcode value to identify the format. Each match comes with a confidence level and a direct link to the right validator.

Supported formats

Every format the detector can identify, with the rules used to spot it.

FormatLengthNotes
UPC-A12 digitsUS/Canada retail. GTIN-12.
UPC-E6–8 digitsCompressed UPC for small packages.
EAN-88 digitsShort EAN. GTIN-8.
EAN-1313 digitsGlobal retail standard. GTIN-13.
GTIN-1414 digitsITF-14 cartons and cases.
ISBN-1010 charsLegacy book identifier (mod-11).
ISBN-1313 digits978/979 prefix — modern book ID.
QR / TextVariableURLs and free-text payloads.

How confidence is scored

High confidence

Length matches and the check digit verifies — the format is confirmed.

Medium confidence

Length or structural shape matches but there's no check digit to verify (e.g. UPC-E, QR text).

Low confidence

Length matches a known format, but the check digit fails. Probably a typo or a different format altogether.

About this barcode type detector

This barcode type detector takes a raw barcode value — typed, pasted from a scanner, or copied from a spreadsheet — and identifies the most likely format. It runs the correct check-digit algorithm for each candidate (GS1 mod-10 for UPC / EAN / GTIN, mod-11 for ISBN-10) and reports confidence so you can tell a confirmed match from a length-only guess.

Use it to settle UPC vs EAN questions, decide whether a 13-digit number is an ISBN-13, or pick the right validator for an unfamiliar code.

When to use it

  • Identifying an unknown number pulled from an invoice or product feed.
  • Deciding whether a 13-digit code is an EAN-13 or an ISBN-13 before lookup.
  • Telling apart a UPC-A and a compressed UPC-E from a shelf-edge label.
  • Routing a scanned value to the right validator instead of guessing.
  • Detecting that a copied string is actually a QR Code URL, not a numeric barcode.

How it works

  1. 1Step 1
    Paste the value

    Type or paste a barcode. Spaces, hyphens, dots and underscores are stripped automatically.

  2. 2Step 2
    Length match

    We line up the cleaned value against every standard barcode length (6, 7, 8, 10, 12, 13, 14).

  3. 3Step 3
    Check digit

    Each candidate is verified with the right algorithm — GS1 mod-10 for GTINs, mod-11 for ISBN-10.

  4. 4Step 4
    Confidence score

    Length + valid check digit → high. Length only → low. URL / text payload → medium.

  5. 5Step 5
    Next-tool suggestion

    Every candidate links straight to the matching ReadBarcode tool — UPC Lookup, EAN Lookup, GTIN Validator, ISBN Reader or QR Reader.

What to avoid

  • Pasting a multi-line list — the detector evaluates a single value at a time.
  • Treating a low-confidence match as confirmed; the value may just happen to have the right length.
  • Relying on detection alone for ISBN-10 codes — booksellers normally re-issue them as ISBN-13.
  • Forgetting that 12-digit UPC-A and 13-digit EAN-13 ‘0+UPC' encode the same GTIN.
  • Mistaking an internal SKU that happens to be 12 digits for a real UPC — the check digit usually fails.

Tips & tricks

  • Use the example chips below to see how high-confidence matches are reported.
  • If you see two ‘high' candidates (EAN-13 and ISBN-13 for a 978-prefixed value), both are correct — pick the lookup that fits your goal.
  • Suspect a GTIN type? Run the cleaned value through the GTIN Validator to confirm.
  • When the result is Unknown, double-check you didn't paste extra characters from a spreadsheet (apostrophes, BOM).
  • For UPC-E payloads, expand to UPC-A in the UPC Lookup tool before doing any product search.

Frequently asked questions

Related validators & tools