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 rectangular Data Matrix codes that fit on strips where a square code will not: cable markers, test tubes, PCB edges and shelf rails. Enter your text or serial number and download a print-ready ECC 200 symbol.
Checked live against the official rules for this barcode type.
Any text.
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
Rectangular Data Matrix is the same ECC 200 code as square Data Matrix, laid out in a wide, short grid. ISO/IEC 16022 defines six rectangular sizes — 8 × 18, 8 × 32, 12 × 26, 12 × 36, 16 × 36 and 16 × 48 modules — each with the familiar L-shaped finder on two edges and a clock track on the other two.
The smallest size is just 8 modules high, so a short code can be printed on a band a few millimetres tall. The example 1234567890 fits the 8 × 18 symbol, because digits are packed two per codeword. The largest standard size holds up to 98 digits, 72 alphanumeric characters or 47 bytes.
Every size carries Reed–Solomon error correction, so the code still reads with some damage. For longer data in a flat shape, the Data Matrix Rectangular Extension (DMRE, ISO/IEC 21471) adds sizes such as 8 × 64 and 26 × 64; switch it on with the dmre advanced option.
Specification
Four steps from data to a print-ready file.
Step 1
Enter your Data Matrix Rectangular data. Any text.
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.
Flag labels and heat-shrink sleeves where only a thin strip is visible.
Sample IDs printed along the side of tubes, slides and small vials.
Serial numbers along the edge of a PCB or on narrow components.
Location or item codes on shelf rails and bin fronts with little height.
Fitting a 2D code onto a narrow carton flap or blister edge.
Small details that make the difference between a code people ignore and one they scan.
Force a particular shape with the advanced option version=12x36 (or any other rectangular size) so every label in a run is identical.
Keep data short: the rectangular sizes top out quickly, and a square Data Matrix holds far more.
Check that your scanner supports DMRE before using the dmre option — older readers only know the six original sizes.
Run the long side of the code along the length of a tube or cable, not around it, so it does not bend out of view.
Press Test scan to confirm the code reads before you print a batch.
When the space is much wider than it is tall, such as a cable tag or tube. For the same data, a square code is usually more compact overall.
Yes. The six ISO/IEC 16022 rectangular sizes are part of ECC 200, so any 2D imager that reads Data Matrix reads them. DMRE sizes need a newer reader.
Data Matrix Rectangular Extension, standardised as ISO/IEC 21471. It adds extra rectangular sizes, especially longer 8-, 12- and 16-row codes, for more data in a flat shape.
Use the GS1 DataMatrix type for GTIN, batch and expiry data, and add version=16x48 (or another rectangular size) in the advanced options.
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.