Opo Codes

Data Matrix code generator

A Data Matrix is a small square code made of tiny squares that holds text in far less space than a bar code, which is why it is used on small parts, circuit boards and tiny labels. Opo Codes draws one free in your browser from any text, checks the scan, and exports PNG, SVG or PDF.

Open the generatorFree. Runs in your browser.

How to do it

  1. Open the generator with Data Matrix already selected.
  2. Type the text to store, such as a part code like OPO-0001.
  3. Look at the scan stamp, and set the module size for your print.
  4. Choose PNG, JPG, SVG or PDF, then download.

How much fits and how big it gets

The grid grows with the data. Eight digits such as 12345678 fit a grid of 12 by 12 modules, and OPO-0001 needs 14 by 14. The most it holds is 3116 digits, or 2335 capital letters, in a 144 by 144 grid. Past that the generator reports that the input is too long.

Because a square is compact, a Data Matrix of a short part code is far smaller than the same code as a Code 128 bar code. It is also read by a camera-type scanner, not a laser line scanner, so check your reader before you choose it.

Worked example: a part code

Type OPO-0001. The generator draws the 14 by 14 grid and reads it back. A VERIFIED stamp means the scan returned exactly OPO-0001. The text is case sensitive, so opo-0001 is a different code.

The built-in error correction lets a code with a small scratch still read, but it does not repair a code printed too small or too faint. Choose the module size to match your marking method, print one, and scan it before a batch.

Plain Data Matrix and what it does not do

This type stores plain text. It does not know about product numbers, dates or batches. If a buyer or regulator asks for those labelled in GS1 form, use the GS1 DataMatrix generator instead. For links people scan with a phone, a QR code is the common choice.

Other scripts such as Bangla can be encoded, but we have not tested which readers show them correctly. Scan a printed copy with your own reader. Contrast under 4.5 to 1 gets a warning, and the generator flags light codes on dark backgrounds.

Questions

Data Matrix or QR?

Data Matrix is more compact for short text and is common on parts. QR is read by every phone camera and suits links.

What is the maximum size?

Up to 3116 digits or 2335 capital letters. Longer text is refused with a message.

Can I add a logo?

No. Data Matrix is meant to stay plain, and this generator does not place a logo in it.

Can a phone read it?

Many phone cameras and scanner apps read Data Matrix, but not all, so scan with the reader you will actually use.

Related tools