Rectangular Data Matrix generator

Create a rectangular Data Matrix for narrow labels and part numbers; download PNG or SVG.

Using Data Matrix Rectangular

Rectangular Data Matrix is useful when a label has more width than height, for example beside a part or serial number. It keeps the Data Matrix pattern rather than squeezing a square code into a rectangle. This option creates ordinary Data Matrix, not GS1 DataMatrix.

Download PNG for documents or SVG for a sharp, resizable print layout. Generation takes place in your browser, without an account.

Questions about Data Matrix Rectangular

What if my content does not fit?
Capacity depends on the characters, not just the character count. Try square Data Matrix, or Data Matrix Rectangular Extension (DMRE) if your reader supports it. Enlarging the exported image improves print size, not data capacity. For GS1 product, batch and date fields, choose GS1 Data Matrix Rectangular.
How do I check the code before printing?
Leave the white margins intact, keep the image in proportion and scan a sample at its final printed size with the device you intend to use.

Symbology rendering uses BWIPP via bwip-js — MIT License. BWIPP © 2004–2024 Terry Burton; bwip-js © 2011–2025 Mark Warren.