Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Barcode scanner, camera or picture.

Point your camera at a barcode, or drop, choose or paste pictures of them, and read them in the browser. It reads the barcodes on products (EAN and UPC), shipping and stock labels (Code 128, Code 39, ITF), QR codes, Data Matrix, PDF417 and Aztec, and several codes in one picture, each outlined so you can see which is which. Turn on batch mode for a stocktake: every scan is listed and counted, kept in this browser until you clear it, and ready to save as a spreadsheet.

Need a custom tool, app or website? Contact us 
Use the camera, or drop, choose or paste pictures of barcodes.

Nothing opens on its own. Product numbers get a button to search the web, links show their address first. The list is kept in this browser until you clear it.

Barcodes are read in your browser. The camera picture never leaves your device.

What it reads

Products, labels and 2D codes.

01 / Products

EAN and UPC

The barcodes on things you buy, with the check digit verified so a misread number is flagged.

02 / Labels

Code 128, 39, 93, ITF

The codes on parcels, stock, tickets and ID badges, plus Codabar and DataBar.

03 / 2D codes

QR, Data Matrix, PDF417, Aztec

Square and stacked codes, as on boarding passes and medicine boxes, several in one picture.

Guide

How to scan a barcode online, with a webcam or a photo.

This online barcode scanner reads barcodes from your camera or from a picture, in the browser, and shows the number or text inside along with the type of code. It reads the product codes on things you buy, the codes on shipping and stock labels, and 2D codes such as QR, Data Matrix and PDF417. For EAN and UPC codes it also checks the last digit, so you know when a number was misread.

How to use the barcode scanner

  1. Press Scan with the camera and allow the camera. On a phone the back camera is used first.
  2. Hold the barcode flat and straight, so it fills about half the frame. The scanner beeps when it reads it. If you have more than one camera, pick it from the Camera list; on phones that allow it, Torch turns on the light.
  3. Or press Scan pictures and choose one or several, drop them on the box, or paste a screenshot. The picture shows with a green outline round each code found, and every code goes into the list.
  4. The result shows on the right with the type, such as EAN-13 or Code 128. Press Copy to copy it.
  5. For a product number, Search the web looks the number up. For a link, the scanner shows the website's name first and opens it only if you press Open the link.

Which barcode is which

TypeWhat it holdsWhere you find it
EAN-13, EAN-813 or 8 digitsRetail products in most of the world; books, with a number starting 978 or 979
UPC-A, UPC-E12 digits, or a short 8 digit formRetail products in the US and Canada
Code 128Letters, digits and symbolsShipping labels, parcel tracking, warehouse labels
Code 39, Code 93Capital letters and digitsOlder stock systems, ID badges, parts labels
ITFPairs of digitsOuter cartons and cases
QR, Data Matrix, AztecText, links, any dataPosters, small parts, medicine packs, tickets
PDF417Long text in stacked rowsBoarding passes, some ID cards

A barcode holds only a number or a short text. The product's name and price live in the shop's own system, not in the code, which is why the scanner gives you a search button instead of a product name.

How the check digit works

The last digit of an EAN or UPC code is worked out from the others, so a scanner can tell when a digit was read wrong. Take the example number 5901234123457. Leave off the final 7, and starting from the right of what is left, multiply the digits by 3, 1, 3, 1 and so on:

  • The digits from the right are 5, 4, 3, 2, 1, 4, 3, 2, 1, 0, 9, 5.
  • Times 3, 1, 3, 1 in turn gives 15, 4, 9, 2, 3, 4, 9, 2, 3, 0, 27, 5. The total is 83.
  • The check digit is what you add to reach the next multiple of ten: 90 minus 83 is 7.

It matches the last digit, so the scanner shows "Check digit is correct." If you see "Check digit does not match", scan again or type the number in by hand.

Batch mode for a stocktake

Tick Batch mode: keep scanning and count and the camera stays on after each read. Every code goes into a list with a count, and the heading shows how many different codes and how many scans in total. When you are done, Save as CSV downloads a file with the columns Code, Type, Count and Last scanned, which opens in any spreadsheet.

The list is kept in this browser, so a reload or a closed tab does not lose a stocktake halfway. Press the minus button next to a code to take one off its count when something was scanned twice, and Clear to start a new list.

  • Move each item away after the beep. The same code held in view is counted again after about two and a half seconds, which is handy for counting identical items one after another but easy to do by accident.
  • Spreadsheet apps can turn long codes into numbers, dropping a leading zero or showing them in a short scientific form. Import the Code column as text to keep every digit.
  • Untick Beep on each scan for a quiet room. Batch mode and the beep setting are remembered.

Reading a sheet of labels from one photo

A picture can hold many codes. Each one found is outlined and numbered on the picture, so you can see at a glance which labels were read and which were missed. On a busy sheet, a code can be missed; if one has no outline, take a closer photo of that part, or scan it with the camera. Choosing several pictures at once reads them one after another into the same list.

When a barcode will not scan

  • Too close. Many laptop cameras cannot focus up close. Move the code back until it is sharp, even if it looks smaller.
  • Glare. Shiny packs reflect light into the camera. Tilt the item a little.
  • Curved or creased. Flatten the label, or turn a bottle so the bars face the camera straight.
  • A blurry picture. Take a sharper photo with the code filling more of the frame, then scan the picture.
  • Too dark. On a phone, press Torch while the camera is on. Laptops have no light, so move to a brighter spot.

Need to make a barcode instead? Use the barcode generator. For QR codes only, the QR code scanner works the same way.

Questions

Good to know.

Can I scan a barcode with my laptop camera?

Yes. Press Scan with the camera and hold the barcode flat, filling about half the frame. Good light helps; laptop cameras are not as sharp as phone cameras.

Can I scan a barcode from a picture or screenshot?

Yes. Drop it, choose it, or paste it with Command or Ctrl and V. Each code found is outlined on the picture and listed. You can choose several pictures at once.

Does it tell me what the product is?

It reads the number. Product names are not in the barcode itself, so there is a button to search the web for the number.

What is batch mode?

The camera keeps scanning. Each code is added to a list, repeats are counted, and you can save the list as a CSV for a stocktake.

Is anything uploaded?

No. Barcodes are read on your device and the camera picture is never sent.

Can I scan the barcode on a book?

Yes. The barcode on a book is an EAN-13 that holds the ISBN, starting with 978 or 979. Search the number to find the book.

Can I scan a barcode shown on another screen?

Usually, yes. Turn the other screen's brightness up and hold it steady, or take a screenshot of it and scan the picture instead.

Why does the scanner say the check digit does not match?

One of the digits was probably misread, often from blur or glare. Scan it again with the code sharper and flatter, or check the printed number under the bars.

Can it read several barcodes at once?

From a picture, yes: every code it finds is outlined and listed. With the camera, scan the codes one after another in batch mode.

Will I lose my list if I close the tab?

No. The list of scanned codes is kept in this browser on this device until you press Clear. It is never sent anywhere.

Can I turn on the phone light?

Where the phone and browser allow it, a Torch button shows once the camera is on. If no Torch button shows, your phone or browser does not let web pages use the light, so add light another way.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch