Labelmodule

Online barcode scanner

Read UPC, EAN, Code 128, QR, Data Matrix, PDF417 and other codes with your camera or from an image file. The decoder runs in your browser: camera frames and images stay on your device and are never uploaded.

Point the camera at a barcode or QR code, or open an image.

A photo, screenshot or downloaded barcode: PNG, JPEG, WebP or SVG.

Camera frames and images are decoded on this device. Nothing is uploaded or saved.

How to use it

  1. Tap “Scan with camera” and allow the camera when the browser asks. On a phone the back camera is used.
  2. Hold the code flat and steady so it fills about half of the dashed frame. The scan stops as soon as a code is read.
  3. No camera at hand? Choose “Scan an image” and open a photo, a screenshot or a downloaded barcode file.
  4. Copy the result, or open it if it is a web link. The type of code is shown next to the content.

Nothing leaves your device

The scanner is zxing-cpp, an open-source barcode reader, compiled to WebAssembly and served from this site. It runs inside your browser tab. Camera frames are read one at a time in memory and discarded; nothing is recorded, saved or sent to us or to anyone else.

An image you open is read the same way: the file is decoded by your browser and is not uploaded. The page sets no cookies and has no analytics.

Code types it reads

Every code type that the generators on this site make was tested with this scanner, from downloaded PNG and SVG files and through a camera feed.

  • Postal barcodes such as USPS Intelligent Mail, POSTNET or Royal Mail 4-state are not read.
Supported barcodes
GroupCode types
Retail productsUPC-A, UPC-E, EAN-13 (including ISBN), EAN-8, GS1 DataBar
Shipping and logisticsGS1-128, ITF-14, Interleaved 2 of 5
Inventory and industryCode 128, Code 39, Code 93, Codabar
2D codesQR code, Micro QR, Data Matrix, PDF417, Aztec

Reading the result

UPC and EAN results show the full number including the check digit, which the scanner verifies. A UPC-E shows its 8 printed digits and the same number as a 12-digit UPC-A. GS1-128 and GS1 Data Matrix show the Application Identifiers in brackets, for example (01) for the GTIN and (17) for the expiry date; the raw data with separator characters is shown underneath for copying into other systems.

The scanner tells you what is encoded in the code; it does not look up products. A UPC or EAN number identifies a product only through the records of the brand that owns it; GS1's Verified by GS1 service shows the registered company for a GTIN.

Tips for a good scan

  • Light the code evenly and tilt it slightly if a glossy label reflects the light.
  • Move the code closer until it fills about half of the frame, then hold still for a moment so the camera can focus.
  • Very small or dense codes read better from a sharp photo, cropped close to the code.
  • A code that will not scan from the camera or a photo may also fail at the till: check its size and print quality with the guide on printing barcodes.

Questions

Is the barcode scanner free?
Yes. There is no account, no app to install and no limit on scans.
Are my camera and images uploaded?
No. The decoder runs in your browser, so camera frames and image files stay on your device. Nothing is stored after you leave the page.
Does it work on iPhone and Android?
Yes, in browsers that let web pages use the camera, such as Safari, Chrome, Edge and Firefox. Allow camera access when the browser asks; if you blocked it before, turn it back on in the browser's site settings.
Can I scan a barcode from a screenshot or a PDF?
Screenshots and photos work: choose “Scan an image”. For a PDF, take a screenshot of the page or export it as an image first.
Can it find the product for a barcode?
No. The scanner shows the number or text in the code. To see which company a UPC or EAN belongs to, look the number up in Verified by GS1.
Can it read several barcodes at once?
From an image, yes: up to 8 codes in one picture are read and outlined. The camera stops at the first code it reads.
Why does the camera not start?
The browser may have blocked it for this site, another app may be using it, or the device has no camera. The message under the view says which; scanning an image works in every case.