DataMatrix, QR and barcode decoder online

Upload several photos of a DataMatrix code, QR code or barcode, or take one with your camera.

Results will appear here.

How to decode a DataMatrix code, QR code or barcode from a photo

This page decodes DataMatrix codes right in the browser — no app to install and no sign-up. It works with GS1 DataMatrix marking codes (such as the Russian Chestny ZNAK track-and-trace codes on medicines, shoes, clothing, dairy and tobacco) as well as any other DataMatrix.

It also reads linear barcodes: EAN-13 and EAN-8 on products, UPC-A and UPC-E, Code 128 and GS1-128 — for example, the SSCC on a carton or pallet label. And QR codes.

  1. Click “Choose files” or drop photos of the code onto the page. Several images at once are fine.
  2. Or click “Use camera” — on a phone the camera opens; take a picture of the code.
  3. All code types are searched by default. If you know the type, pick it in “Code types” — that is faster.
  4. In a fraction of a second the content of the code appears under the image, and the code is outlined on the photo.

What the result shows

The code type and the whole code string. Invisible GS group separators (character 29), required in marking codes, are shown as ⟨GS⟩ — you can see whether they are in place.

For GS1 codes — a GS1 DataMatrix or a GS1-128 barcode — the fields: GTIN (01), serial number (21), verification code (91, 92 or 93), expiry date (17), batch (10), SSCC (00) and other application identifiers.

For EAN-13, EAN-8, UPC-A and UPC-E — the barcode digits, that is the product number.

The “All codes in the image” mode finds and reads every code in the photo — for example, on a multipack or a sheet of labels.

Which images work

Phone photos, screenshots or scans in JPG and PNG, up to 4096 pixels per side; the page converts BMP, GIF, WebP and AVIF to PNG itself. DataMatrix codes are read at an angle, on curved packaging (bottles, tubes), under glossy film with glare, faded, rotated to any angle and mirrored. It helps if the code takes up a noticeable part of the frame and is in focus. Shoot a barcode whole, across the bars, with white margins at the ends.

An image in which a code was read is not stored: the file is kept on the server only while it is being decoded. Images in which no code was found or read are kept to improve recognition, for no longer than a year.

Reading codes in your own software

The decoding is done by the same barcode reader library that is sold on this site for integration: C++, C and Python, Windows and Linux (including ARM), reading frames from an industrial camera on a production line in milliseconds. It works free and offline for the first 30 days. Since version 1.1 it reads QR codes too.

Questions and answers

How do I read a DataMatrix code online without an app?

Upload a photo of the code on this page or take one with your phone camera — the content of the code appears under the image. Nothing to install, no sign-up required.

Which codes can it decode?

DataMatrix, including GS1 DataMatrix marking codes, QR codes and EAN-13, EAN-8, UPC-A, UPC-E, Code 128 and GS1-128 (SSCC) barcodes.

Can I decode an EAN-13 or SSCC barcode online?

Yes. Upload a photo of the barcode: for EAN-13 the page shows the barcode digits, for a GS1-128 logistics label — the code string and its GS1 fields, including the SSCC (00), the serial shipping container code.

Can it read GS1 marking codes?

Yes. Marking codes such as Chestny ZNAK are GS1 DataMatrix: the page shows the code string with GS separators and splits it into fields — GTIN, serial number and verification code.

Does it check the code in the Chestny ZNAK system?

Yes, after signing in: the “Check in Chestny ZNAK” button under the decoded fields shows the code status (in circulation, retired, written off), the product, the owner and the manufacturer. Without signing in, the page decodes the code and checks its structure: GS1 format, GTIN check digit, serial number, verification code and GS separators.

Are uploaded photos stored?

Not if a code was read: the file is kept on the server only while it is being decoded and is deleted right after. Images in which no code was found or read are kept to improve recognition, for no longer than a year.

Why is the code not recognized?

Most often the code is too small in the image, blurred or cut off by the edge of the frame. Take the photo closer and sharper, with the whole code in the frame; a barcode — across the bars, with margins at the ends. If there are several codes in the photo, choose “All codes in the image”.

Can I decode DataMatrix and barcodes in my own software?

Yes. The library behind this page is sold for integration: C++, C and Python, Windows and Linux. You can download it and use it free for 30 days. It reads QR codes since version 1.1.