Free Data Matrix generator
Type a value, paste a list, upload a CSV, or auto-number a sequence — every entry renders as an ECC-200 Data Matrix right in your browser. Download a single PNG, the whole batch as a ZIP, or a print-ready Avery label sheet. No sign-up, no watermark.
Any text or ID up to 1,556 bytes — a compact square code that stays readable on tiny labels.
0 of 0 codes ready
Add values on the left to see your codes here.
Generated in your browser — nothing is uploaded.
Data Matrix exists because some things are too small for any other code. The symbol scales from 10×10 modules up to 144×144, and a readable mark can sit in a few square millimeters — which is why you find it lasered onto circuit boards and dot-peened into engine parts. Surgical instruments carry it through the autoclave twice a day. A QR code with the same payload simply doesn't fit there.
The version everything modern uses is ECC-200. It carries Reed-Solomon error correction, so a symbol keeps decoding after scratches and partial wear, and it caps out at 2,335 alphanumeric characters, or 1,556 bytes of arbitrary data. This generator enforces the byte cap as you type — conservative for plain-ASCII payloads, which the C40 text mode packs tighter, but nobody marking parts gets anywhere near it. Two details matter at print time. The finder pattern is an L: two solid edges the scanner uses for orientation, with a dashed clocking track on the opposite sides. And the required quiet zone is only one module wide, against four for QR — part of how Data Matrix squeezes into spaces QR can't.
If a trading partner asked you for a GS1 Data Matrix — pharmaceutical serialization and medical-device UDI marking both ride on it — be aware that flavor starts with an FNC1 character and structures the payload into application identifiers. This tool produces plain ECC-200 without the FNC1 prefix, which is what internal part marking and asset tags call for. Regulated GS1 payloads need software from that ecosystem.
Defense suppliers meet Data Matrix in another uniform: MIL-STD-130 item marking specifies ECC-200 as the machine-readable symbol for IUID. The symbol this tool draws is exactly that; composing the UII payload inside the ISO/IEC 15434 envelope is its own homework, and your contract officer will have opinions about it.
Data Matrix vs QR code
| Data Matrix (ECC-200) | QR code | |
|---|---|---|
| Smallest practical mark | A few mm² — built for part marking | Roughly 1 cm² before phones struggle |
| Capacity | 2,335 alphanumeric / 1,556 bytes | 4,296 alphanumeric / 2,953 bytes |
| Quiet zone | 1 module per side | 4 modules per side |
| Error correction | Reed-Solomon, fixed per size | Reed-Solomon, selectable L/M/Q/H |
| Phone scanning | Usually needs a scanner app or Google Lens — most stock camera apps ignore it | Every stock camera app reads it instantly |
| Where it's the standard | Electronics, aerospace, UDI, IUID, pharma | Marketing, payments, consumer-facing labels |
The honest split: if a person with a phone scans the code, use QR. If a fixed scanner, a warehouse gun, or a size constraint is involved, Data Matrix. We tag office equipment with QR precisely because staff scan tags with whatever phone they hold — and we'd still pick Data Matrix for anything smaller than a matchbox.
Related free tools
Same workflow, different code. No sign-up on any of them.
QR Code Generator
Create QR codes for links, text, Wi-Fi, email, or phone. Customize colors, add a logo, download PNG or SVG, all in your browser.
Open generatorvCard QR Code Generator
A QR code that adds a contact in one scan — name, company, phone, email. Static, no expiry, no account, exported as PNG or SVG.
Open generatorBulk QR Code Generator
Turn a list, CSV, or numbered sequence into up to 500 QR codes at once, then export them as PNGs, a ZIP, or a print-ready Avery sheet.
Open generatorBulk Barcode Generator
The same batch workflow for linear barcodes. Paste a list or upload a CSV and render dozens at once as PNGs, a ZIP, or an Avery PDF sheet.
Open generatorBulk Code 128 Barcode Generator
The alphanumeric format most asset tags use. Paste a list, upload a spreadsheet export, or number a sequence — up to 500 Code 128 codes in one run.
Open generatorUPC Barcode Generator
UPC-A and UPC-E for retail products, plus EAN-13 and EAN-8 for markets outside North America. Check digits computed as you type.
Open generatorBarcode & QR Scanner
Read a code back with your camera or from a photo. QR, EAN, UPC, Code 128, and Data Matrix, decoded in your browser.
Open scannerCode 39 Barcode Generator
The legacy industrial format that old scanner fleets and military specs still require. One code or a batch of 500, validated as you type.
Open generatorEAN-13 Barcode Generator
Retail EAN-13 with the check digit computed for you — type 12 digits, get 13. Single codes or a CSV batch, verified before they render.
Open generatorGS1-128 Barcode Generator
Element strings in (AI) syntax with FNC1 placed automatically — GTIN and SSCC check digits verified, application identifiers validated.
Open generatorPDF417 Barcode Generator
The stacked format on shipping papers and passes. Renders single codes or a CSV batch, readable by laser guns and cameras alike.
Open generatorQR Code & Barcode Repair
Upload a photo of a code that won't scan. The tool decodes what survives in the print and rebuilds a clean replacement to reprint.
Open repair toolData Matrix — common questions
What comes up after the first sheet of labels is printed.
How small can I print a Data Matrix code?
The limit is your printer and scanner, not the format. On a 300 dpi office printer, keep the module (one black square) at 0.5 mm or larger — a 10×10 symbol lands around 6 mm wide with its quiet zone. Industrial DPM marks go smaller, but they're laser-etched and read by fixed scanners, not printed on an Avery sheet.Does this generator work for laser or dot-peen marking?
It produces the same ECC-200 symbol a marking machine would, so it's fine for proofing a payload or printing interim labels. For production DPM you'd normally generate inside the marking software itself, which compensates for the surface — a dot-peened code on curved metal needs different cell geometry than ink on paper.Why does my batch have a few blank cells?
A blank cell means that row failed validation — usually a payload over the 1,556-byte ECC-200 cap, which non-Latin characters reach faster because each one costs 2–3 bytes in UTF-8. The row's error note names the reason; fix the value and the cell fills in.
Marking assets at scale? Talk to sales
Codes render on a canvas in your browser; the values never leave your machine, and the ZIP and PDF export libraries load only when you click a download button. Batches cap at 500 rows per pass.
A printed Data Matrix is half of a workflow. Asset tagging in UNIO24 is the other half — the scan opens the item's record instead of just echoing its ID. And if your existing labels are failing in the field, the guide to barcodes that stop scanning covers the printing mistakes behind most of it.