xBarcodexBarcode
ISO STANDARD: ISO/IEC 16022:2006

Data Matrix Barcode Generator & Standard

A two-dimensional matrix barcode consisting of black and white 'cells' or modules arranged in either a square or rectangular pattern. Widely used for marking small items.

Try DATA_MATRIX Generator →

Technical Specifications

Structure L-shaped Finder Pattern + Clock Track + Data Region
Capacity Numeric: 3,116 chars, Alphanumeric: 2,335 chars
Character Set ASCII, ISO-8859-1

Common Applications

This standard is widely used in the following industries:

Electronics, Automotive, Aerospace, Medical Instruments

The Science Inside

How our Rust engine optimizes this specific format:

DP encoder spans all ISO 16022 modes to minimize codewords (ASCII/C40/Text/X12/EDIFACT/Base256).

  • O(1) character mapping via precomputed tables accelerates C40/Text/X12/EDIFACT packing.
  • ASCII mode includes double-digit compression (00-99 -> one codeword) and GS1 FNC1 mapping (0x1D -> 232).
  • Base256 is emitted unrandomized during DP, then randomized post-pass per codeword position (spec-compliant and localized to Base256 segments).
  • Symbol selection respects square/rectangular preference with clear capacity errors and spec padding (129 + pseudo-random pads).
  • Reed-Solomon ECC is cached (GF(256)) and interleaves blocks, handling long/short blocks for large symbols.
  • Utah + corner placement implements standard module mapping before region framing is applied.