freebarcodeqr.com

Free Data Matrix Barcode Generator.

The compact 2D code on small parts and pharmaceutical packaging.

Generated in your browser. Never stored.

Data Matrix is a 2D matrix barcode that packs more data into less space than any 1D code. It's used on circuit boards, surgical instruments, pharmaceutical packaging, and small parts where a long 1D barcode would not fit.

Data Matrix has built-in Reed-Solomon error correction — a damaged or partly scratched code still scans correctly up to about 30% damage.

Free forever. No signup, no watermark on the downloaded image, no expiry on the barcode you generate today.

At a glance

StandardISO/IEC 16022 (2006) ISO/IEC 16022
Symbology family2D matrix; ECC 200 variant
Maximum capacity2,335 alphanumeric · 3,116 numeric · 1,556 binary bytes (144×144 grid)
Error correctionReed-Solomon; recovers from up to ~30% damage at default ECC 200 levels
Grid sizes24 square (10×10 to 144×144) + 6 rectangular variants
Required byEU FMD (Falsified Medicines Directive), US DSCSA, US DoD UID-1, GS1 healthcare FDA DSCSA
Year introduced1989 (RVSI Acuity CiMatrix); ISO standardized 2000, revised 2006
Data Matrix symbols of size 144×144 modules can encode up to 1556 8-bit bytes, 2335 alphanumeric characters, or 3116 numeric digits, with built-in Reed-Solomon error correction.
ISO/IEC 16022:2006, Annex K

Where you'll see Data Matrix

EU and US pharma serialization (FMD, DSCSA) requires Data Matrix on every prescription drug pack. Aerospace and defense (UID) use it for parts marking. Postal services use it for routing.

Camera-based scanners (phones, modern POS) read Data Matrix instantly. Older laser scanners cannot read 2D codes at all and need replacing if your workflow requires 2D.

Capacity

Data Matrix supports up to 2,335 alphanumeric characters or 3,116 digits in its largest 144×144 grid. In practice, codes printed under ~25 mm square should stay under 100 characters for reliable scanning.

Frequently asked questions

Is Data Matrix the same as a QR code?
No — they are different 2D formats with different encoding and error correction. Both are matrix codes but they are not interchangeable. Data Matrix tends to be smaller for the same data.
Can older laser scanners read Data Matrix?
No. Laser scanners can only read 1D barcodes. Reading 2D codes requires an imager (camera) scanner.

Related barcode formats

  • PDF417

    Stacked 2D code. Used on ID cards and boarding passes.

  • Aztec

    Compact 2D code. Used on rail and transit tickets.

  • Code 128

    All printable ASCII, variable length. The default for warehouses.