Skip to main content
Online Tool

Online Barcode Reader

Scan a barcode with your camera, upload an image, or paste an image URL. Decoded entirely in your browser.

Point your camera at a barcode. We'll decode it automatically.

Camera access requires HTTPS and a one-time permission.

Result

Decode a barcode from your camera, an uploaded image, or an image URL — the result will appear here.

Supported barcode formats

The reader decodes the major 1D and 2D symbologies used across retail, logistics and healthcare.

UPC-A
UPC-E
EAN-8
EAN-13
ITF / ITF-14
Code 39
Code 93
Code 128
Codabar
QR Code
Data Matrix
Aztec
PDF417

About the online barcode reader

The ReadBarcode online barcode reader scans 1D and 2D barcodes directly in your browser — straight from your phone camera, a webcam, an image upload or an image URL. Decoding runs locally with WebAssembly, so the barcode never leaves your device. It works for retail UPC/EAN codes, logistics labels with Code 128 or ITF, QR codes and Data Matrix.

Use this when you need to scan a barcode online without installing an app, or when you want to verify what a printed label actually encodes.

When to use it

  • Reading a product barcode on a store shelf from your phone.
  • Decoding a Code 128 carton label from a quick photo or upload.
  • Checking a QR code on a poster without opening it on your phone.
  • Debugging what a generated barcode actually encodes.
  • Scanning when you don't trust unknown app store scanner apps.
  • Quick desktop scanning over a webcam for catalog work.

How it works

  1. Pick an input

    Choose camera, image upload or paste an image URL — whichever is fastest.

  2. Allow access if needed

    Grant camera permission once. Uploads and URLs don't need any permission.

  3. Frame the barcode

    Hold the code flat and steady. The reader auto-detects 1D and 2D formats.

  4. Get the decoded value

    The result panel shows the value, format and timestamp.

  5. Copy or scan again

    Copy the value with one click or hit Clear to scan the next one.

What to avoid

  • Blurry, very dark or very washed-out photos — the decoder needs sharp edges.
  • Reflections on glossy packaging that wipe out part of the bars.
  • Cropping that cuts off the quiet zone (white space) around a barcode.
  • Heavily rotated or warped images — straighten them first if you can.
  • Expecting a UPC to come back with product info on its own — that needs a lookup tool.

Tips & tricks

  • Good even lighting beats a high-resolution camera every time.
  • Move your phone slightly closer instead of zooming in.
  • If a 1D code fails, try cropping tighter and uploading the cropped image.
  • For QR codes on screens, dim your monitor a bit to reduce glare.
  • Damaged labels often still decode if you photograph them straight on.

Decoding tips by barcode type

The reader auto-detects the format, but a little framing know-how gets a clean read on the first try.

Barcode typeHow to get a clean read
Retail UPC / EANFill about 60% of the frame and keep the bars horizontal. These 1D codes decode fastest when the quiet zones on both ends are visible.
Code 128 / ITF-14 cartonsShoot straight on under even light. Long logistics codes fail when the photo is taken at an angle that compresses the narrow bars.
QR codesHold steady so all three corner finder squares are sharp. On a screen, dim the display to kill glare before scanning.
Data Matrix / GS1 2DGet close — these are small and dense. Avoid heavy JPEG compression on uploads, which smears the tiny modules together.
Damaged or curved labelsPhotograph the label flattened and straight on. Partial damage often still decodes thanks to the error correction built into most symbologies.

Private by default

Decoding runs in your browser using a WebAssembly build of the ZXing library. Camera frames and uploaded images never leave your device, and we don't store the barcodes you scan.

Frequently asked questions

Which barcode formats does the reader support?
The reader decodes UPC-A, UPC-E, EAN-8, EAN-13, Code 39, Code 93, Code 128, ITF (Interleaved 2 of 5), Codabar, ITF-14, RSS-14, RSS Expanded, QR Code, Data Matrix, Aztec and PDF417.
Do you upload my images to a server?
No. The camera stream stays in your browser, and uploaded images are decoded locally with WebAssembly. Pasted image URLs are loaded directly by your browser too — we don't proxy them.
The camera scanner isn't starting — what should I check?
Camera access requires HTTPS and a user gesture. Make sure you're on a secure connection, allow camera permission when prompted, and that no other tab is currently using the camera.
Why didn't my uploaded image decode?
Try a sharper, well-lit photo where the barcode is straight, fills most of the frame, and isn't reflective or wrinkled. For dense 2D codes (QR, Data Matrix), avoid heavy compression.
Can I paste an image URL from another website?
Yes, if the host allows cross-origin image loading (CORS). If a URL fails, download the image and use the upload option instead.

Related tools