Image Tools

Barcode Scanner

Scan a barcode with your phone or laptop camera, or upload or paste a photo of one. It reads product codes (EAN, UPC) and the common industrial formats, checks the check digit, and can collect a whole batch of scans into a list you download as CSV.

Runs in your browser · nothing uploaded
Start the camera and hold the barcode across the red line, or upload a photo
Drop a photo of a barcode, click to choose, or paste with Ctrl+V

The barcode number appears here, with its format and a check of the check digit.

Was this tool helpful?5.0 1 rating

How to use the Barcode Scanner

  1. Click Start camera and hold the barcode across the red line, or drop, choose or paste a photo of it.
  2. The number appears with its format. For product codes (EAN and UPC), the check digit is verified and lookup links appear.
  3. Leave Keep scanning on to build a list: scanning the same code again adds to its count. Copy the list or download it as CSV.

Barcodes it reads

  • Product codes: EAN-13, EAN-8, UPC-A and UPC-E, the numbers on almost everything sold in shops.
  • Industrial and logistics: Code 128, Code 39, Code 93, ITF (including ITF-14 on shipping cartons) and Codabar.
  • 2D codes: Data Matrix, PDF417 (driver’s licenses, boarding passes), Aztec and QR codes.

In Chrome and Edge on Android, macOS and ChromeOS, the browser’s built-in barcode detector does the work. Everywhere else (Windows, Linux, iPhone and iPad, Firefox) the open-source ZXing decoder runs in the page instead, so the tool works on every modern device.

Getting a clean scan

Hold the barcode flat and fill most of the frame with it, with the bars running across the red line. Good light matters more than a good camera: avoid glare on shiny packaging and shadows across the bars. A barcode that is too close goes out of focus, so if nothing happens, move back a little. From a photo, crop close to the code and keep it sharp; barcodes held sideways or upside down are read too.

Check digits and product lookup

The last digit of an EAN, UPC or ITF-14 code is a check digit calculated from the others. The scanner recomputes it, so a misread or mistyped number is caught right away. For product codes, one click searches Open Food Facts (food and drink), UPCitemdb (general products) or Google for the number. Those searches open in a new tab; the scanner itself doesn’t send your codes anywhere.

Batch scanning for inventory

With Keep scanning on, the camera stays on and each new code is added to the list below, with a count of how often you scanned it. That makes quick stock counts possible with just a phone: scan each item, then download the list as CSV for a spreadsheet. The list is kept in this browser until you clear it.

Private by design

Decoding happens entirely on your device. Camera frames and photos are never uploaded.

Frequently asked questions

Can I scan a barcode from a picture?
Yes. Drop a photo or screenshot, click to choose one, or paste it with Ctrl+V. Crop close to the barcode and make sure the bars are sharp.
Does it work on iPhone and Windows?
Yes. Where the browser has no built-in barcode detector (Safari on iPhone, Chrome on Windows, Firefox), an open-source decoder runs in the page instead.
Why won’t my barcode scan?
Usually glare, blur or a barcode that’s too small in the frame. Move a little closer or further away, tilt the item to remove reflections, and keep the bars across the red line.
How do I find out what product a barcode belongs to?
For EAN and UPC codes, use the lookup links under the result: Open Food Facts for food and drink, UPCitemdb for other products, or a Google search.
Can I scan many items and export them?
Yes. Leave Keep scanning on, scan each item, then use Copy all or Download CSV. Repeat scans of the same code increase its count.
Can I install Barcode Scanner as a web app and use it offline?
Yes. Barcode Scanner is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools