Scan a barcode
Read the number in a product or parcel barcode from a photo or your camera. Nothing is looked up, and the picture is not uploaded.
- Nothing is uploaded
- Works offline after first use
- Open source
- No watermark, no sign-up
Read EAN, UPC, Code 128 and other barcodes from a photo or your camera. It is free, and your images and the picture from your camera are not uploaded: everything runs in your browser on your device. Your browser asks for camera permission only if you press the camera button, and after your first run the page works offline.
Done
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
A barcode on a product or a parcel holds a number: the product number (EAN or UPC), or a code your own system gave it (Code 128, Code 39). This page reads the number from a photo or your camera and shows it to you, so you can copy it.
It does not look the number up. It will not tell you a price or what the product is, because that would mean sending the number to a service; this page keeps everything on your device.
Barcodes it reads
- Products: EAN-13, EAN-8, UPC-A, UPC-E, and ISBN on books.
- Labels and parcels: Code 128, Code 39, Code 93, ITF and ITF-14, Codabar.
- Two-dimensional: QR code, Data Matrix, Aztec, PDF417.
What a barcode number is for
- EAN and UPC numbers identify a product (a GTIN). A shop’s system or a product database turns the number into a name and a price; this page does not.
- Code 128 and Code 39 hold whatever the label-maker put there: an item code, a tracking number, an asset tag.
How it works
- Drop a photo of the barcode on the box, paste a screenshot, or press Scan with camera.
- Keep the whole barcode in the picture, flat and in focus, with blank space at both ends.
- Copy the number from the card. To make a barcode, use the [barcode generator](/tools/barcode-generator).
In your browser, not on a server
ZXing-C++ (Apache-2.0), a widely used open-source barcode reader compiled to WebAssembly, finds and reads the code on this page. The reader is a 0.9 MB file served from this site, so it is fetched on your first scan and then kept in your browser. Camera pictures are read frame by frame in memory and are never saved.
Compared with upload-based tools: A scanner that reads the picture on a server has to receive it first, and a Wi-Fi password or a ticket code travels with it. Here the picture is read on your device.
Verify it yourself. Give the page a short while after your first run to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.
Questions
Can it tell me the price or the product from a barcode?
No. It reads the number in the barcode. Looking a number up would mean sending it to a service, which this page does not do. Copy the number and search for it where you shop.
Which barcodes can it read?
EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, ITF, Codabar, and the two-dimensional QR code, Data Matrix, Aztec and PDF417.
Why does the number have a leading zero, or one more digit than I expected?
A UPC-A number (12 digits) is read as an EAN-13 with a 0 in front, because the two are one system at two lengths. Both are the same product number.
Does it work with a handheld scanner?
A handheld scanner types the number into whatever is open and needs no web page. This page is for reading a barcode from a picture or with a camera.
Is the picture uploaded?
No. The barcode is read on your device and the picture is not uploaded.
More image tools
QR code scanner
Drop, paste or choose an image, or use your camera. The code is read on this page, and a link is shown to you, never opened for you.
Remove EXIF Data
See what a photo reveals, then delete it. The image data is copied unchanged and only the metadata is removed; a sideways JPG is re-encoded only if Apply orientation is on.
EXIF Viewer
Drop a photo to read its metadata, including the location it was taken. The file is read on this device, so checking a private photo does not share it.
Crop image
Drag a box over the part you want, pick a ratio or a circle, and download the crop. The photo never leaves this device.
Other conversions
- JPG to GIF
- JPG to TIFF
- PNG to TIFF
- ICO to PNG
- HEIC to PNG
- HEIF to JPG
- PNG to JPG
- JPG to PNG
- WebP to PNG
- WebP to JPG
- Scan a QR code from an image
- QR code scanner for PC
- Blur text in image
- PNG compressor
- Reduce PNG size
- GIF compressor
- Reduce GIF size
- Make background transparent
- Add a white background
- Blur background
- 2x2 photo maker
- 35x45 mm photo maker