Make a Data Matrix code
Type the text for your label. Download a Data Matrix code, square or as a narrow rectangle, small enough for parts and packs.
Free, no sign-up, no credit card. Codes never expire, and nothing you type is sent anywhere.
0 of about 2,335 bytes. Letters and digits take 1 byte; accents and emoji take 2 to 4.
You get a plain Data Matrix code here. Medicine packs in the EU and US use GS1 Data Matrix with registered product numbers, which you can't make here.
How to make a Data Matrix code
- Type the text, such as a part number, lot, and date.
- Choose square, or rectangle for narrow labels and edges.
- Choose the square size. 0.5 mm suits most printers; 0.25 mm needs a sharp one.
- Select Test scan, then download a PNG, SVG, PDF, or EPS.
Questions
When should I use Data Matrix instead of a QR code?
For small labels on parts, electronics, and packs. A Data Matrix code is smaller than a QR code for the same short text and reads well when printed tiny. For links that people scan with phones, a QR code is the better choice.
How much text fits?
Up to about 2,300 letters or digits, or about 1,500 bytes of other text, in the largest square. Rectangles hold much less, so use them for short codes. The count under the field shows how much you've used.
Can it hold accents and other alphabets?
Yes. The text is marked as UTF-8 so readers show it correctly. Most phone apps and modern scanners read it; some older handheld scanners may not.
Is this the code on medicine packs?
Those use GS1 Data Matrix, with registered product numbers and serial numbers in a set format. You get a plain Data Matrix code here, not a GS1 one.
Do you see my text?
No. Your codes are made in your browser. Nothing you type is sent anywhere.
You might also need
-
Code 128 barcode
Inventory, asset, and shipping labels with letters and digits. -
Aztec code
Square codes for tickets and boarding passes. -
PDF417 barcode
Stacked barcodes for documents, tickets, and forms. -
Barcode generator
Every common barcode type, checked and print-ready. -
GS1 Digital Link QR
A checked GS1 Digital Link as a QR code or Data Matrix.