Barcode tools · Local scanner

Barcode reader.

Upload a barcode image or scan with your camera. Detection runs on your device and supports common retail, industrial and 2D formats.

Scan a barcode

12 MB and 40 megapixels maximum. Files never leave your browser.

Decoded value

Choose an image or start the camera.

Supported formats and limits

The reader uses the browser's native Barcode Detection API when available and lazy-loads a locked local ZXing fallback only after you choose an image or start the camera. Typical formats include UPC-A/E, EAN-8/13, Code 39, Code 128, ITF, Codabar, Data Matrix, PDF417, Aztec and QR. Exact support varies by browser and image quality.

A decoded number is not a product-directory lookup and does not prove ownership, authenticity or GS1 registration. No uploaded image or camera frame is sent to TNAADO.

Worked example: checking a scan of 5901234123457

Suppose the reader returns 5901234123457 from an EAN-13. To check the result by hand, weight the first 12 digits with 1 and 3 alternately from the left: 5×1 + 9×3 + 0×1 + 1×3 + 2×1 + 3×3 + 4×1 + 1×3 + 2×1 + 3×3 + 4×1 + 5×3 = 5 + 27 + 0 + 3 + 2 + 9 + 4 + 3 + 2 + 9 + 4 + 15 = 83. The next multiple of 10 is 90, so the check digit should be 7, which matches the last digit read. A misread digit would normally break this test, so a result that passes it is very likely to have been read correctly. Paste the number into the EAN / UPC check digit validator to run the same test automatically.

How the decoding works

Where your browser supports it the page uses the built-in Barcode Detection API, which asks the operating system to find and decode symbols in an image or video frame. Otherwise it loads the ZXing library, which locates the symbol, measures bar and space widths, and converts them to digits or characters. Blurred, tilted, low-contrast or very small symbols fail most often; a sharp photo taken square-on with the whole symbol and its quiet zone in frame decodes best. The image is processed in your browser and is not uploaded.

Sources and as-of date

As of 26 October 2026. The detection behaviour described here is taken from the specification and library documentation below; support differs between browsers and devices.

Frequently asked questions

Why will my barcode not scan?

The usual causes are blur, glare, a symbol cut off at the edge, low contrast and a missing quiet zone. Retake the photo square-on with even light and the whole symbol in frame.

Is my image uploaded?

No. The file or camera frame is decoded in your browser and is not sent to TNAADO.

Does a decoded number mean the product is genuine?

No. The reader only converts bars to a number. It does not look the number up, and a valid check digit does not prove the number was issued to the seller.

Which formats can it read?

Common retail formats (UPC, EAN), Code 39, Code 128, ITF, Codabar and the 2D codes Data Matrix, PDF417, Aztec and QR. Exact support depends on your browser and image quality.

Worked example: reading an EAN-13

Create the code 5901234123457 with the EAN-13 generator, download it as a PNG, and choose that file above. The decoded value field should show 5901234123457, the same 13 digits you encoded, and the format should be reported as EAN-13. If the decoder returns nothing, the usual causes are listed below.

ProblemLikely causeFix
Nothing decodedLow contrast, glare, or the quiet zone was croppedRetake the photo with even light and a margin around the symbol
Wrong digitsImage too small so bars mergedUse a larger or sharper image (the limit is 12 MB and 40 megapixels)
Format not foundThis browser lacks that format in its native detectorThe page falls back to a local ZXing decoder for common formats

Next steps: barcode generator, EAN-13 generator, QR reader, or ISBN barcode generator.