Skip to content

GS1 DataMatrix generator

Data Matrix with GS1 data: GTIN, batch, expiry date and serial number. Used on medicine and medical device packaging, among others.

Qreska does not issue EAN numbers

GTIN/EAN numbers are issued by GS1 (in Poland: GS1 Polska). Qreska only draws the code from a number you already have.

Code settings

Enter the data as (AI)value, e.g. (01)05901234123457(17)261231(10)ABC123(21)SN0001.

The side of one square (module) of the code. Recommended 0.255 to 0.615 mm.

Blank margin around the code required by the standard. Keep it on.

A rectangular symbol fits narrow spaces but holds less data.

Appearance

Hexadecimal, for example #000000.

Fills the quiet zone too.

Preview

Size with quiet zone: 9.6 × 9.6 mm. The on-screen preview is enlarged.

Download the code

PNG file: 120 × 120 px, 317.5 DPI. Each module gets whole pixels and the DPI is set so the printout has exactly the size in mm shown above.

What is GS1 DataMatrix

GS1 DataMatrix starts with the FNC1 character and writes data using GS1 application identifiers, like GS1-128. It holds more data on a much smaller area, though.

Medicine packs in the EU carry a 2D code with the product code, serial number, batch and expiry date. The generator checks the format of every value, check digits and dates.

Frequently asked questions

Which data should go on a medicine pack?

Usually the GTIN (01), expiry date (17), batch (10) and serial number (21). The details come from regulations and the medicine verification system, so check them with your regulatory team.

How is it different from plain Data Matrix?

By the FNC1 character at the start and the GS1 data structure. The scanner thus knows the data is GS1 and can split it into fields.

Which module size should I choose?

For Data Matrix on healthcare products GS1 recommends a module of 0.255 to 0.615 mm. The generator defaults to 0.4 mm.

Does the order of fields matter?

A scanner reads any order. Fixed-length fields such as (01) and (17) are best placed before variable-length ones such as (10) and (21).

Where do I get a GTIN?

GTINs are issued by GS1 (in Poland: GS1 Polska). Qreska does not issue numbers; it only draws the code.