GS1 DataMatrix

Need to mark small parts, curved surfaces, or components where a standard barcode won’t fit? The GS1 DataMatrix is the compact 2D barcode designed for exactly that — packing detailed product data into the tiniest of spaces.

What is GS1 DataMatrix?

GS1 DataMatrix is a two-dimensional barcode that encodes a large amount of information in a very small footprint. It's ideal for direct part marking and tracking high-value or regulated items where traceability and precision matter.

Key features of GS1 DataMatrix

  • Stores up to 2,335 alphanumeric characters or 3,116 digits
  • Ideal for high-precision items like surgical instruments, electronic parts, and automotive components
  • Used in some retail POS systems to encode variable data like weight or batch number
  • Can be read using 2D camera-based scanners (increasingly common in NZ and Australian supermarkets)
  • Built-in error correction enables accurate scanning even if the symbol is partially damaged

Benefits of GS1 DataMatrix

  • Compact: Fits detailed data into a much smaller space than traditional 1D barcodes
  • Direct Part Marking: Can be etched or lasered directly onto surfaces where labels aren’t practical
  • Reliable: Error correction ensures it still scans even if part of the code is missing or scratched
  • Secure: Supports traceability and anti-counterfeiting efforts

Understanding GS1 DataMatrix specifications

How GS1 DataMatrix Works

The GS1 DataMatrix is printed as a grid of small squares or dots, either square or rectangular in shape.

Key technical elements

  • Finder pattern: Border helps scanners locate and decode the symbol
  • Dot matrix: Encodes data using dark and light modules (dots or squares)
  • X-dimension: Defines the module size — crucial for consistent print quality
  • Quiet Zone: Requires clear space (1 module wide) on all four sides
  • Orientation: Always includes a light square in the top right corner to guide scanners
  • Shape options:
    • Square: Most common; holds the most data
    • Rectangular: Suited to narrow spaces or high-speed print environments

Common scenarios for GS1 DataMatrix

  • Marking small components and electronics
  • Medical devices and surgical instruments
  • Automotive and aerospace parts
  • Fresh produce and food packaging
Marking small components and electronics

Ideal for marking tiny or irregular-shaped parts, such as circuit boards, microchips, and electronic assemblies, where a traditional barcode simply won’t fit. It allows manufacturers to encode vital tracking information without compromising on space.

 

Medical devices and surgical instruments

Widely adopted in healthcare and pharmaceuticals, GS1 DataMatrix enables direct part marking on surgical implants, instruments, and devices. This supports asset tracking, reduces the risk of counterfeiting, and improves patient safety through enhanced traceability.

 

Automotive and aerospace parts

In high-stakes industries like automotive and aerospace, where part identification must withstand extreme conditions, DataMatrix is directly engraved onto metal components. Fun fact: NASA was one of the first to use DataMatrix in the 1980s to label rocket parts because the codes wouldn't peel or fade.

Fresh produce and food packaging

GS1 DataMatrix can hold variable data like batch codes, use-by dates, and product origin, helping reduce scan time and ensuring only affected packs are recalled — not an entire batch. This makes it valuable for fresh produce and perishable goods where precision matters.

GS1 DataMatrix Implementation Checklist

  • Print symbols with sharp, high-contrast definition
  • Always include a Quiet Zone (1 module wide) on all sides
  • Use GS1 Application Identifiers to encode structured data
  • Display the human-readable interpretation near the symbol (where possible)
  • Use dark symbols on light backgrounds for best scanning performance
  • Test your printed code using a 2D scanner or camera-based verifier
  • Orientation doesn’t significantly impact scanning, but consistency matters

FAQs

How is GS1 DataMatrix different from a standard DataMatrix code?

GS1 DataMatrix follows global GS1 standards, making it suitable for regulated supply chains. It includes a Function 1 Symbol Character (FNC1) at the start of the code to identify it as GS1-compliant — a key difference from generic or unregulated DataMatrix codes.

Which industries typically use DataMatrix barcodes?

DataMatrix is widely used in sectors that require precise part marking and traceability, such as:

  • Aerospace
  • Automotive manufacturing
  • Medical devices and instruments
  • Semiconductors
  • Fresh food and produce packaging

In fact, global healthcare authorities have identified GS1 DataMatrix as their long-term preferred barcode.

Can GS1 DataMatrix replace other types of barcodes?

In certain cases, yes. For example, some Australian supermarkets are replacing EAN-13 barcodes with GS1 DataMatrix for meat and fresh produce to encode more product data and reduce scan errors.

What type of scanner is needed to read GS1 DataMatrix?

You’ll need a camera-based or 2D barcode scanner. Traditional 1D laser scanners cannot read GS1 DataMatrix codes. Many retailers are now upgrading their POS systems to support 2D barcode reading. GS1 NZ is working with retailers and product manufacturers to ensure all retail point-of-sale systems in New Zealand can scan 2D barcodes by the end of 2027.

What size is a GS1 DataMatrix barcode?

The symbol size depends on the amount of data encoded:

  • Square format: from 10×10 to 144×144 modules
  • Rectangular format: from 8–18 modules high and 16–48 modules wide

Choose the format based on the available space and required data capacity.

What’s the minimum size for GS1 DataMatrix?

The smallest GS1 DataMatrix symbol starts at 10×10 modules, making it ideal for very small parts or limited surface areas.

What are GS1 Application Identifiers in a DataMatrix code?

GS1 DataMatrix uses Application Identifiers (AIs) to structure the data within the code.

Common AIs include:

  • 01 – Global Trade Item Number (GTIN)
  • 10 – Batch or lot number
  • 21 – Serial number

You can view the full list on GS1 New Zealand’s website.

What’s the best way to apply a GS1 DataMatrix to products?

Laser marking is a popular method due to its permanence and ability to mark diverse materials like plastic, metal, and glass. Other options include:

  • Thermal transfer printing
  • Inkjet coding
  • Direct part marking (e.g., engraving)

Choose the method based on the surface type and product durability needs.