Data Matrix Barcode Generator
Data Matrix is the 2D code of choice when space is at a premium. It stays readable at just a few millimetres across, which is why it marks everything from microchips and surgical instruments to pharmaceutical packaging.
Generate a Data Matrix barcode
Free · No watermark · In-browserControls
Appearance
Advanced
About Data Matrix
A high-density 2D code that stays readable at tiny sizes — ideal for electronics and medical devices.
Full Data Matrix guideHow Data Matrix works
A Data Matrix uses an L-shaped solid finder pattern along two edges and a timing pattern of alternating modules on the other two. This lets readers locate the code at any rotation and at very small sizes.
It offers excellent data density and Reed–Solomon error correction, surviving the laser-etching, dot-peening and inkjet processes used to mark metal and plastic parts directly.
In healthcare, GS1 DataMatrix carries the GTIN, batch, expiry and serial number required for pharmaceutical traceability regulations worldwide.
Where Data Matrix is used
- Electronics and component marking
- Medical device and surgical tool ID
- Pharmaceutical traceability (GS1)
- Direct part marking (DPM)
Data Matrix questions answered
What is a Data Matrix code?
Data Matrix is a high-density 2D barcode that remains readable at very small sizes, ideal for marking electronics, medical devices and pharmaceuticals.
How small can a Data Matrix be?
It can be read at just a few millimetres across, far smaller than a practical QR code, thanks to its efficient finder pattern.
What is GS1 DataMatrix used for?
It carries GTIN, batch, expiry and serial data for pharmaceutical and medical-device traceability required by healthcare regulations.
Data Matrix vs QR Code — which should I use?
Use Data Matrix for tiny, industrial or regulated part marking; use QR for consumer-facing links and larger labels read by phones.
More 2d matrix codes codes
QR Code
The ubiquitous 2D matrix code. Holds URLs, text, Wi-Fi, contacts and more — scanned by any phone camera.
Micro QR
A smaller QR variant for tight spaces, holding up to 35 numeric characters.
GS1 QR Code
QR Code carrying GS1 Application Identifiers for supply-chain and retail traceability.
GS1 Data Matrix
Data Matrix with GS1 AIs — the standard for healthcare and pharmaceutical traceability.
Need many Data Matrix codes?
Batch-generate hundreds from a CSV, or place Data Matrix on a full printable label with text and logos.