Check digits, fixed for you
Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.
Create Data Matrix codes that fit lots of data into a tiny square. Enter text, a serial number or a link, and download a print-ready 2D barcode for labels, parts and packaging.
Checked live against the official rules for this barcode type.
Any text or link, up to about 2,000 characters.
Pick a label template or adjust size, text, colors and style.
One click styles the label. Your data and size stay as they are.
Check your data
Tap to preview
Data Matrix is a 2D barcode made of square modules in a grid, from 10 × 10 up to 144 × 144, plus rectangular sizes from 8 × 18. It is recognised by an L-shaped solid border on two sides and an alternating “clock” pattern on the other two.
The modern version, ECC 200, uses Reed–Solomon error correction, so a code stays readable even if part of it is damaged. The symbol size is chosen automatically to fit your data.
A single symbol holds up to 3,116 digits, 2,335 alphanumeric characters or 1,556 bytes. Very small codes are possible: a short serial number fits in a code a few millimetres across.
Specification
Four steps from data to a print-ready file.
Step 1
Enter your Data Matrix data. Any text or link, up to about 2,000 characters.
Step 2
Check the live validation — check digits are added for you and any problem is explained in plain words.
Step 3
Pick a label template or adjust bar width, height, text, colours and style. The printed size updates as you go.
Step 4
Press Test scan, then download a PNG at up to 1200 DPI, vector SVG or PDF — or print it on label sheets.
Details most barcode generators charge for — all free in the studio above.
Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.
Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.
Set the bar width and height and see the finished printed size update live, in mm or inches.
PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.
Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.
Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.
Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.
Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.
Real-world applications for this symbology.
Serial numbers on circuit boards and components where space is tiny.
Laser-etched or dot-peened onto metal parts in aerospace and automotive.
Instruments, implants and lab samples with unique identifiers.
Postal services use Data Matrix for digital stamps and franking.
Encoding document IDs and metadata on forms and records.
Small details that make the difference between a code people ignore and one they scan.
Keep the data short — fewer characters mean bigger modules for the same printed size, which scans more reliably.
Choose a rectangular Data Matrix for narrow labels such as cable tags or vials.
Use GS1 DataMatrix, not plain Data Matrix, when encoding GTINs, batches or expiry dates for healthcare or retail.
Data Matrix needs a camera-based (imaging) scanner; laser scanners cannot read 2D codes.
Leave at least one module of blank space around the code.
Both are 2D codes. Data Matrix is more compact for short data and is preferred in industry and healthcare; QR codes are easier for phones to scan from a distance and better for consumer links.
Up to 2,335 alphanumeric characters or 3,116 digits, though a few dozen characters is ideal for small labels.
Most barcode scanner apps can, including StylQR’s free scanner, but many phone camera apps only read QR codes.
The current version of Data Matrix with Reed–Solomon error correction. All codes made here are ECC 200.
Store more data in a small square or stacked symbol.
Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.
The barcodes people make most.