While QR codes are square and two-dimensional, traditional barcodes (1D codes) consist of parallel lines. These are used globally to identify retail products (UPC and EAN formats) and track shipments (Code 128).
If you want to look up a product’s barcode online but don’t own a physical laser barcode gun, you can use your laptop webcam or phone camera as a reader.
Supported Barcode Standards
With ScanApp.org, you can scan multiple formats:
- UPC-A and EAN-13: The standards found on retail store products.
- Code 128 / Code 39: Used on shipping labels, books, and logistics documents.
- Data Matrix / Aztec: High-density 2D formats often found in manufacturing.
Guide: How to Scan a Barcode Online
- Visit ScanApp.org/barcode/ or the homepage.
- Grant camera permissions.
- Hold the barcode up to the camera horizontally. Because barcodes are linear, make sure the line of bars is straight across the camera viewport.
- Hold it steady: Standard webcams need a clear, unblurred image of the vertical bars to decode the digit sequence correctly.
- The parsed digits will display instantly on the screen, ready to copy or search online.
Why Webcam Scanning Works (and Where It Doesn’t)
A webcam can decode any barcode that a phone camera can — the math is identical. The difference is in physical setup. Webcams have fixed focal lengths optimized for 2–4 feet (faces in video calls), which is too far for small printed barcodes.
To get reliable webcam decoding:
- Print the barcode at full resolution if you’re scanning from a screenshot. Don’t shrink it.
- Move the product closer than feels natural — about 6–12 inches from the lens.
- Light it from the side, not from behind the camera, to avoid glare.
- Hold it flat and perfectly horizontal. Tilting a 1D barcode 30 degrees from horizontal makes the parallel bars curve in the camera frame and breaks decoding.
- Be patient with autofocus. Webcam autofocus is slower than phone cameras; give it 2–3 seconds.
If live decoding fails, fall back to the upload method: take a clear, well-lit photo with your phone, then upload it at scanapp.org/barcode. The image decoder is generally more forgiving.
What Each Format Encodes
| Format | Used for | Length |
|---|---|---|
| UPC-A | US/Canada retail products | 12 digits |
| UPC-E | Compact UPC for small packages | 8 digits |
| EAN-13 | International retail | 13 digits |
| EAN-8 | Small EAN packages | 8 digits |
| ISBN-13 | Books — starts with 978 or 979 | 13 digits |
| Code 128 | Shipping labels, logistics, healthcare | Variable |
| Code 39 | Industrial, automotive, government ID | Variable, alphanumeric |
| Code 93 | More efficient Code 39 | Variable |
| Codabar | Libraries, blood banks, photo labs | Variable |
| ITF (Interleaved 2 of 5) | Warehouses, distribution | Variable, even-length digits only |
| Data Matrix | Electronics, medical devices, tiny labels | High density 2D |
| PDF417 | Driver’s licenses, boarding passes | High density 2D |
| Aztec | Train tickets, payment cards | 2D, no quiet zone needed |
| MaxiCode | UPS package routing | Fixed-size 2D |
ScanApp.org/barcode supports all of these out of the box.
Use Cases for Online Barcode Scanning
Inventory checks. Scan the UPC, paste into your supplier’s order portal to verify pricing.
Returns and warranty claims. Many manufacturers ask for the UPC or serial barcode when you submit a return. Scan and copy the code in seconds.
Library cataloging. Scan the Codabar or Code 39 barcode on each book; paste into your library management software.
Healthcare and pharmacy. Code 128 and Data Matrix appear on every pharmaceutical package. Scanning at scanapp.org/barcode lets you verify the lot number against recall notices.
Shipping verification. Scan the Code 128 tracking number on a label to look up status without typing the long sequence by hand.
What About Books? Use the ISBN Scanner
For books specifically, the ISBN scanner at scanapp.org/isbn filters to ISBN formats and links you to price comparisons on Amazon, AbeBooks, and ThriftBooks. It’s the same engine as the general barcode scanner, optimized for the ISBN workflow.
Frequently Asked Questions
Can I scan a barcode with my laptop’s webcam?
Yes. Open scanapp.org/barcode in any modern browser, allow camera access, and hold the barcode 6–12 inches from your webcam in good lighting.
Why isn’t my webcam reading the barcode?
The most common reasons: barcode is too small for the webcam’s fixed focus distance (move closer), glare from overhead lighting (light from the side), or the barcode is tilted (hold it horizontally).
Can I scan a UPC code from an image instead of a camera?
Yes. Upload a clear photo of the barcode at scanapp.org/barcode. Image decoding is often more reliable than live webcam scanning.
What barcode formats does ScanApp support?
QR Code, UPC-A, UPC-E, EAN-13, EAN-8, Code 128, Code 39, Code 93, Codabar, ITF, Data Matrix, PDF417, Aztec, MaxiCode, and RSS-14.
Do I need a special barcode scanner hardware device?
No. A laptop webcam or phone camera and scanapp.org/barcode handle every common retail and logistics format.