Free Data Matrix Generator
Data Matrix packs data into a tiny square — the 2D standard for electronics, instruments and pharma marking.
Compact 2D code for small items.
Enter data to preview your barcode
Data Matrix at a glance
- Reads at very small sizes
- Error correction built in
- GS1 Data Matrix used in healthcare (UDI)
How to use this Data Matrix generator
Type or paste your data into the field above. The preview updates as you type, and anything that breaks the Data Matrix rules — a wrong length, an unsupported character or a bad check digit — is explained before you download, so you never print a code that will not scan.
Download PNG for documents and web pages, SVG when a designer or print shop needs a sharp vector file, or PDF for an exact-size print. Keep the white margin around the bars (the quiet zone) clear, print at 100% scale, and test-scan one label before a full run.
Data Matrix data is validated before rendering. Generating an image encodes a number you already own — it does not license or register identifiers with GS1 or any ISBN agency.