About Data Matrix
Data Matrix is a 2D matrix barcode that stores a lot of data in a very small square or rectangle. It remains readable even when printed at just a few millimetres and with up to 30% damage, thanks to Reed-Solomon error correction (ECC 200).
It is the mandatory code for marking pharmaceuticals in many countries (GS1 DataMatrix) and is widely used for direct part marking on electronic components and industrial parts.
Technical specifications
| Capacity | Up to 3,116 digits / 2,335 alphanumeric characters |
|---|---|
| Error correction | Reed-Solomon ECC 200 |
| Shapes | Square or rectangular |
| Standard | ISO/IEC 16022 |
Common uses
- Pharmaceutical packaging and serialisation
- Electronic components and PCBs
- Aerospace and automotive part marking
- Postal franking
How to create a Data Matrix
- Type or paste your data into the content field.
- Adjust colors, size, human-readable text and quiet zone.
- Check the live preview — it updates instantly as you type.
- Download as PNG, JPG, SVG, PDF or EPS, or print it directly.
Why use our Data Matrix generator?
Free, no watermark
Unlimited barcodes for personal and commercial use, without registration.
Print-ready vectors
SVG, PDF and EPS downloads stay sharp at any size — perfect for packaging and print shops.
Private by design
Everything is generated locally in your browser. Your data is never uploaded.
Works everywhere
Optimised for phones, tablets and desktops, and fully keyboard and screen-reader accessible.
Frequently asked questions
Is this Data Matrix generator really free?
Yes. You can create and download as many codes as you need, for free, with no account and no watermark.
Can I use the codes commercially?
Yes. The generated images are yours to use on products, packaging, labels, documents and marketing. For retail product barcodes (EAN/UPC) you need valid numbers from GS1.
Which file formats can I download?
PNG and JPG for screens and office documents, and SVG, PDF and EPS vector files for professional printing.
Is my data stored or shared?
No. Codes are generated entirely in your browser with JavaScript. Nothing you type is sent to our servers.
Related tools
- PDF417 GeneratorCreate PDF417 codes with high data capacity for driving licences, boarding passes and official documents.Open tool
- Aztec Code GeneratorCreate Aztec codes for train and airline tickets and digital documents — no quiet zone needed.Open tool
- Bulk Barcode GeneratorGenerate hundreds of barcodes at once from a list, CSV or Excel file and download them as a ZIP.Open tool
- Online Barcode ScannerScan and read barcodes and QR codes with your webcam or from an image file — free and private.Open tool