Data Matrix Generator

A tiny square 2D code that holds a lot of data and survives damage. Type any text, or GS1 data like (01)…(17)…(10)… for a GS1 DataMatrix.

Barcode type

A tiny square 2D code for parts, electronics and healthcare. Start with (01) for GS1 DataMatrix.

Size & style
Checking…
—

🔒 Made in your browser. Your numbers never leave this page. Print PDFs at Actual size / 100%.

How to use it

  1. Enter text, a serial number or a URL, or GS1 data in brackets for GS1 DataMatrix.
  2. Set the module size: 15–20 mil for labels, 10 mil only on high-resolution printers.
  3. Download SVG/PDF for marking or artwork, PNG for labels.

Why choose Data Matrix

A Data Matrix packs dozens of characters into a square a few millimetres wide. Built-in error correction keeps it readable even when part of it is scratched or smudged. That's why it's used for marking electronic components and car parts, and for healthcare. US medical device UDI labels and pharmaceutical serialisation commonly use GS1 DataMatrix.

The solid "L" on two sides helps the scanner find the code; the dotted edges on the other two set the grid. Unlike 1D barcodes it can be read from any angle, but it needs a camera-based (imager) scanner. Older laser scanners can't read it.

Plain Data Matrix vs GS1 DataMatrix

If your text starts with an Application Identifier in brackets, like (01)09506000134352(17)271231(10)LOT42, we create a GS1 DataMatrix. It starts with a special FNC1 character so retail and healthcare systems understand the fields: GTIN, expiry, lot and serial. Anything else becomes a regular Data Matrix.

GS1 DataMatrix is also one of the 2D codes retailers are preparing to scan at checkout. See GS1 Sunrise 2027.

Size and printing

  • The more data, the more modules. Keep content short for small labels.
  • Leave a quiet zone of at least one module (we add two).
  • Black on white, matte labels. Glossy finishes can glare under scanners.
FAQ

Data Matrix: common questions

How much can a Data Matrix hold?

Up to 2,335 alphanumeric or 3,116 numeric characters, though small labels work best with under 50.

Can phones scan Data Matrix?

Most barcode scanner apps can, and so can any camera-based scanner. Old laser scanners can't.

How do I make a GS1 DataMatrix?

Start your data with an Application Identifier in brackets, e.g. (01) followed by the 14-digit GTIN.

Make your first barcode in 10 seconds.

Free, no sign-up, and it's ready to print.

Start generating ↑