---
title: "Scan Barcode From Image – Read Barcodes in a Photo"
description: "Free barcode reader from image. Upload, drop or paste a photo or screenshot and read every barcode and QR code in it. Runs in your browser, nothing uploaded."
url: https://barcodejar.com/scan-barcode-from-image
source: BarcodeJar (free barcode tools)
---

# Scan Barcode From Image

Upload, drag in or paste a photo or screenshot and this tool reads every barcode in it: UPC, EAN, Code 128, QR, Data Matrix, PDF417 and more. Each code is outlined on the image, and the picture never leaves your device.

_Interactive tool: open https://barcodejar.com/scan-barcode-from-image to use it in your browser. It is free with no sign-up._

## How to scan a barcode from an image

1.  Drag an image onto the drop area, click it to choose files, or paste a screenshot with Ctrl+V or ⌘+V.
2.  Wait a moment while each image is decoded on your device.
3.  Check the outlines on the image: every barcode found is boxed and numbered.
4.  Copy a value, look up the product, or open the generator with the same data. Use **Copy all results** for a list.

**Quick answer:** to read a barcode from a picture, add the image here and the decoded number or text appears next to it, with the barcode type. You don’t need a scanner or an app, and screenshots work as well as camera photos.

## Why use an image instead of the camera?

Reading from an image is the easiest option when the barcode is already on your screen: an emailed shipping label, an e-ticket, a QR code in a screenshot, or a product photo from a supplier. It also helps when a live camera can’t focus, because you can take a sharp photo, crop it and try again. To scan physical items one after another, the [online barcode scanner](https://barcodejar.com/barcode-scanner) with batch mode is faster.

## How the reader tries harder

Images are decoded with the ZXing engine at full resolution (up to 3000 pixels on the long side). When the first pass finds nothing, it runs again with:

-   **Rotation:** barcodes at any angle, including upside down and sideways.
-   **Inversion:** light bars on a dark background, common on dark-mode screenshots and some packaging.
-   **Downscaling and noise reduction:** large, grainy phone photos are reduced and cleaned before another attempt.
-   **Different thresholds:** alternative ways of separating bars from background for low-contrast prints.
-   **Upscaling:** tiny images, such as a thumbnail of a QR code, are enlarged.

## Getting a readable photo

| Problem | Fix |
| --- | --- |
| Barcode is a small part of the picture | Crop to the barcode plus a little margin, or take the photo closer. |
| Bars look soft or doubled | Hold the phone still, tap to focus before taking the photo, and use more light. |
| White streak across the code | Glare. Tilt the item or the phone slightly and retake. |
| Thin 1D barcode in a screenshot | Zoom in on the page before taking the screenshot so each bar is several pixels wide. |
| Part of the code is cut off | Include the whole code and its quiet zone (the blank space at each end). |

## What you can do with the result

Every result can be copied. UPC, EAN and ISBN numbers get a **Look up product** link to the [barcode lookup](https://barcodejar.com/barcode-lookup), and every supported type links to the matching generator with the data filled in, so you can recreate a damaged label. To see the raw bytes, GS1 Application Identifiers or check digit, open the image in the [barcode decoder](https://barcodejar.com/barcode-decoder). For QR codes with WiFi details, contact cards or links, the [QR code scanner](https://barcodejar.com/qr-code-scanner) shows them in a friendly layout.

## Frequently asked questions

### How do I read a barcode from a picture?

Drop the photo or screenshot onto the box above, click to choose it, or copy it and press Ctrl+V (⌘+V on a Mac). The barcode value and type appear in a second or two, with a green box drawn around each code that was found.

### Can it read several barcodes in one image?

Yes. Every barcode in the picture is read, and each one is numbered on the image so you can match it to its result. You can also add many images at once.

### Why can’t it find the barcode in my image?

Usually the barcode is too small, blurred or cut off. Crop closer so the code fills more of the picture, keep its white margins, and avoid photos taken at a steep angle or with glare across the bars. Very low-resolution screenshots of 1D barcodes often lose the thin bars. Postal barcodes and some rare formats are not supported.

### Are my images uploaded to a server?

No. The image is decoded inside your browser with WebAssembly and never leaves your device. That makes it safe for shipping labels, tickets and documents with personal details.

### Which image formats work?

PNG, JPG, WebP, GIF and BMP work in every modern browser. AVIF works in most. HEIC photos from an iPhone open in Safari; in other browsers, export them as JPG first.

### Can I scan a barcode from a PDF?

Take a screenshot of the page with the barcode (zoom in first so the bars are sharp) and paste it here with Ctrl+V. Shipping labels and boarding passes in PDF form read well this way.

### What barcode types can it read?

UPC-A, UPC-E, EAN-13, EAN-8, ISBN, Code 128, GS1-128, Code 39, Code 93, Codabar, ITF, ITF-14, GS1 DataBar, Telepen, QR Code, Micro QR, rMQR, Data Matrix, PDF417, MicroPDF417, Aztec and MaxiCode.

## Related free tools

[**Online Barcode Scanner**Scan any barcode with your phone or webcam camera.](https://barcodejar.com/barcode-scanner)[**QR Code Scanner**Read QR codes from camera or image, no app needed.](https://barcodejar.com/qr-code-scanner)[**Barcode Decoder**Decode a barcode image to text, type and raw data.](https://barcodejar.com/barcode-decoder)[**Barcode Lookup**Look up any barcode number to see the product.](https://barcodejar.com/barcode-lookup)[**ISBN Lookup**Find a book by its ISBN-10 or ISBN-13.](https://barcodejar.com/isbn-lookup)[**Barcode Validator**Check whether a UPC, EAN, GTIN or ISBN is valid.](https://barcodejar.com/barcode-validator)[**How to Read a Barcode**What the bars and numbers actually mean.](https://barcodejar.com/guides/how-to-read-a-barcode)
