Asas Label
Free Tool

Free Data Matrix Generator

Create a plain Data Matrix for your own systems, or a GS1 DataMatrix with product, batch, date and serial data.

Example: ASAS-LABEL-1234

Everything runs in your browser. What you type is never sent to us.

Preview

Printed size: 10.0 × 10.0 mm

Downloads come out at the printed size shown here. On screen, the preview is scaled to fit.

When Data Matrix makes sense

Data Matrix fits where a line barcode will not: small parts, vials, electronics, and any label with data to carry but no room for it. Its built-in error correction can often still read a code that is partly damaged, which suits items marked for tracking through a long working life.

Plain or GS1?

  • Data Matrix holds any text you choose. It suits internal systems where you control the scanners and the software.
  • GS1 DataMatrix uses a set structure with Application Identifiers, such as (01) for the product, (17) for expiry, (10) for batch and (21) for serial. Healthcare and other regulated supply chains commonly use it. Check what your market requires.

Size and scanning

Size each square, called a module, to suit your printer. We start at 0.5 mm. Below about 0.38 mm, test on a real press, because ink gain and material can close up the squares. A blank margin of one module surrounds the code in the file. The more data you add, the more squares the code needs, so at a fixed module size it grows.

Most retail tills still scan line barcodes, so check before using Data Matrix at a shop checkout.

What this tool does and does not do

It draws the barcode for the number you enter. It does not issue numbers: retail barcodes need a number licensed from GS1.

Scan a printed sample before a full run. Print quality, material and color all affect scanning, and only a barcode verifier gives a formal grade.

FAQ

Common questions

What is the difference between Data Matrix and QR Code?

Both are square codes. Data Matrix can be smaller for short data, and it is common in industry. QR Code is what people expect to open with a phone, so use it for anything consumers will scan.

Can a phone read a Data Matrix code?

Many scanning apps can, but the built-in camera on a phone usually focuses on QR Codes. If people will scan the code themselves, choose a QR Code.

Is this tool enough for regulated serialization?

It can draw single codes correctly, which helps with design and testing. Live serialization needs a system that issues and records each number, and print checks on the production line.