QR · Data Matrix · Aztec · PDF417 · EAN/UPC · Code 128/39

Barcode and QR Batch Reader

Scan a stack of photos and PDF pages for every barcode in them, see each one cropped, and export a single CSV.

Files

Up to 100 files, 60 PDF pages

Drop photos or PDFs here or click to choose

Images up to 25.00 MB; PDF pages are drawn at 200 DPI.

What to look for

Fewer formats is faster and gives fewer false reads on noisy photos.

Camera

Optional live scan

Frames are read in your browser about three times a second; each distinct code is listed once with a count.

Codes found

Add files and press Scan files.

Barcode and QR Batch Reader

Operator: Abdulla Al Fahad. How tools are built and checked

Reading one barcode is easy with a phone; reading two hundred, from shelf photos, scanned delivery notes and event tickets saved as PDFs, is a job for a batch reader that finds every code in each picture and gives you one table.

This page reads each image or PDF page with the zxing-cpp decoder compiled to WebAssembly, returns every code it finds with its format and text, shows a crop of where each one sat in the picture, and writes the lot to a CSV.

Key features

  • QR (including Micro QR and rMQR), Data Matrix, Aztec, PDF417, MaxiCode, EAN-13, EAN-8, UPC-A, UPC-E, ISBN, Code 128, Code 39, Code 93, ITF, Codabar and GS1 DataBar
  • Several codes per picture, up to 255, each with a crop taken from its corner points
  • Up to 100 files and 60 PDF pages per run, with a progress bar and a Cancel button
  • Rotated, mirrored and inverted codes are tried, and a Try harder switch adds extra passes for small or skewed codes
  • A live camera scan that lists each distinct code once with a count
  • CSV export with source, page, format, text, validity and error columns

Which symbologies are read and how

Images are drawn to a canvas and read from their pixels; any side over 4,096 pixels is scaled down first. PDF pages are drawn at 200 DPI, so a code printed at 20 mm across becomes about 157 pixels wide, which is comfortable for a QR code but tight for a dense Data Matrix.

Text is shown in the decoder's human-readable form. A GS1 code shows its application identifiers with brackets, so a Code 128 label that starts with the FNC1 character reads as (01)... and not as raw bytes.

How it works

The decoder, zxing-wasm 3.1.6, runs in a Web Worker, so scanning a large image does not freeze the page, and Cancel stops the worker immediately. The WebAssembly file, about 0.9 MB, is served from this site.

For every file the page decodes the picture, hands the pixels to the worker, waits for the list of codes, cuts a crop around each code's corner points with a margin of 15% of its size, and releases the canvas before the next file so memory stays flat across a long batch.

When this helps

  • A stock count: 140 phone photos of shelf labels, each with one or two Code 128 labels and a QR code. One run returns one row per code, and a pivot on the format column separates the two label types.
  • A conference organiser has 60 tickets exported as a single PDF, one QR code per page. Scanning the PDF returns 60 rows with page numbers, ready to compare against the guest list.

Opening a file

  1. Drop the photos and PDFs; unreadable files are listed with the reason.
  2. Leave Every supported format on, or pick only the symbologies you expect.
  3. Press Scan files and watch the progress.
  4. Check the crops against the text, then download the CSV.
  5. Sort or filter by format, and use the crop to confirm any code you doubt before exporting.

Example

One 800 × 500 image with four codes drawn on a white page

A QR code for https://example.com/a, a Code 128 label HELLO-123, an EAN-13 5901234123457 and an Aztec code with the text Aztec sample 42

Rows in the table

QRCode  https://example.com/a  (identifier ]Q1)
Code128  HELLO-123  (]C0)
EAN13  5901234123457  (]E0)
Aztec  Aztec sample 42  (]z0)
All four valid, each with its own crop

Tips for best results

  • When you only expect one family, tick it: asking for QR codes alone avoids a linear scan line mistaking a striped shirt for a Code 39 label, and with EAN/UPC alone selected a Code 128 label on the same shelf is ignored instead of adding a second row for the same item.
  • Photograph codes so they are at least 150 pixels across; a QR code of 25 modules read from 100 pixels is only four pixels per module.
  • Digit-only results such as 0012345 lose their leading zeros if you open the CSV in a spreadsheet and let it guess the type; import the column as text.

Limits

A bright reflection across a code defeats any reader. The Try harder pass inverts and rotates but cannot recover pixels that are saturated white.

Rows from the camera are matched on format and text, so two different parcels that carry the same code appear as one row with a count.

A PDF whose pages are vector drawings of codes reads well, but a PDF of low-resolution scans is read at the resolution it contains, not at 200 DPI.

Common errors and how to fix them

"No barcodes were found"
Check that the code fills at least 150 pixels, switch Try harder on, and make sure the format you ticked is the one printed.
"The camera could not be opened"
Allow camera access for this site in the browser, close other apps that hold the camera, then try again.

What a result row contains

Each result carries the format, the decoded text, the symbology identifier, the rotation and the four corner points. Codes with a failed check digit or an error-correction failure are kept in the table with the error text and a red marker, so you see that something was printed there rather than wondering why a code is missing.

Camera mode

The camera mode grabs a frame about every 350 milliseconds, reads it without the extra Try harder passes, and merges repeats by format and text. Stopping the camera, or leaving the page, stops every track at once, including a camera that is still waiting for permission.

Frequently asked questions

Why does a code show as invalid with an error?

The decoder found the symbol but its check digit or error correction failed, which happens with damaged or partly covered codes. It is listed so you can see where the problem is, with the error text from the decoder.

If I drop more files after a scan, are the earlier rows kept?

New files are queued after the ones already listed, and nothing is read until you press Scan files again. That run re-reads the whole list and replaces the table, so use Clear files first when you want a fresh batch.

Does it read codes that are upside down, inverted or mirrored?

Rotated and inverted (light on dark) codes are tried on every picture. Mirrored codes are read for QR and Data Matrix, which the decoder supports; a mirrored Code 128 is not read.