Barcode utility

Barcode & QR Code Decoder

Upload a photo of a barcode or QR code and read what it contains - decoded in your browser.

Input image

Upload or drop a barcode image

Drop a barcode image here, or click to choose a file

PNG, JPG or WebP · decoded locally in your browser

What is the Barcode Decoder?

A barcode decoder does the reverse of a generator: it reads the pattern in an image and tells you what data it encodes. Point this tool at a photo of a product barcode, a ticket QR code or a scanned label and it returns the decoded value plus the symbology it found - EAN-13, Code 128, QR, DataMatrix and the rest. Everything runs locally in your browser, so the image never leaves your device.

Common Uses for the Barcode Decoder

  • Identify what an unknown barcode on a product or label encodes
  • Read the value inside a QR code before scanning it with your phone
  • Recover a barcode number when the printed digits are worn or missing
  • Check that a generated barcode actually encodes the value you intended

How image decoding works

The decoder scans the image for the characteristic finder patterns of 2D codes and the bar-and-space timing of linear codes, then converts the pattern back into raw data. Enabling aggressive recognition lets it find lower-contrast and slightly skewed codes, at a small cost in speed. That is why a straight, sharp, evenly lit photo decodes instantly while a folded or glossy label may need a second attempt.

Decoding as a quality check

Beyond reading unknown codes, the decoder is a free print-quality check: generate a barcode here, print a test label, photograph it and decode the photo. If the decoded value matches your input, the label scans; if decoding fails or returns the wrong value, your size, contrast or quiet zone needs fixing before you print the full run. It is the fastest verification loop available - no scanner hardware required.

Reference

Frequently Asked Questions

Which barcode types can it read?
The common linear and 2D formats: EAN-13, EAN-8, UPC-A, UPC-E, Code 39, Code 93, Code 128, Codabar, ITF, DataMatrix, PDF417, Aztec and QR codes. For best results the whole symbol should be visible, straight-on and in focus.
Is my image uploaded anywhere?
No. Decoding happens entirely in your browser using an open-source decoder library - the image is never sent to any server.
The decoder found nothing - what now?
Retake the photo straight-on with the full barcode in frame and good contrast. Glare, blur, curved surfaces and cut-off quiet zones are the usual culprits. A flatbed scan of a printed label decodes far more reliably than a crumpled photo.
Can it decode a barcode from a phone screen or screenshot?
Yes - clean screenshots and on-screen codes decode well. Crop the screenshot to just the barcode area if it sits among other content.

More barcode tools