Data Matrix is the tiny square code on circuit boards, medical devices, medicine packs and machine parts. It packs text or numbers into a very small space and still reads when part of it is scratched or smudged. Type your text, choose square or rectangular, and download a scan-tested code. PNG and JPG are free.
Where Data Matrix is used
- Electronics and parts: serial numbers on boards, components and tools, often laser-etched.
- Healthcare: medicine packs and medical devices, usually as a GS1 Data Matrix carrying the GTIN, batch, expiry and serial number.
- Small labels: vials, test tubes, jewellery tags and anywhere a barcode won’t fit.
- Mail and documents: postage marks and document tracking.
Tips for readable Data Matrix codes
- Keep the data short. Fewer characters mean fewer, bigger squares at the same size.
- Leave a margin. Keep blank space at least one module wide around the code; we include it in the download.
- High contrast. Dark on light reads best. Laser etching and dot peen marking need a scanner that handles low contrast.
- Test at the final size. Print one, then scan it with the scanner your team uses before marking parts in bulk.
Need it for people to scan with a phone? Use a QR code. For tickets and passes, Aztec reads well from screens.