What Is a GS1 DataMatrix Rectangular Barcode?
GS1 DataMatrix Rectangular is the rectangular form of GS1 DataMatrix. It holds the same GS1 data, such as the GTIN, batch and expiry date, but is wide and short instead of square, so it fits narrow labels on vials, ampoules, syringes and slim cartons.
Like the square version, it starts with an FNC1 character and stores data as GS1 Application Identifiers, for example (01) GTIN, (17) expiry date and (10) batch. Rectangular sizes hold less data than the largest square ones, so keep the content short.
Use the square GS1 DataMatrix when you have the space or need more data, and GS1-128 if your scanners only read linear barcodes.
What Data Can GS1 DataMatrix Rectangular Hold?
GS1 Application Identifiers in brackets, for example (01)03453120000011(10)AB12, up to about 98 characters. We add or check the GTIN check digit and check that dates use the YYMMDD format.
Recommended Size
Leave a quiet zone of at least one module on every side. Check that your scanners read rectangular Data Matrix, and plan space for human-readable text if your sector requires it.
Rectangular GS1 DataMatrix Sizes
ECC 200 defines six rectangular sizes: 8 x 18, 8 x 32, 12 x 26, 12 x 36, 16 x 36 and 16 x 48 modules. The largest one holds far less than a big square symbol, so a GTIN with expiry and short batch fits, while a long serial number may push you to the square form.
The encoder picks the smallest rectangle that fits your data. Keep fixed-length AIs first to make that rectangle as short as possible.
Printing Rectangular Codes on Curved Packs
- Run the long side around the circumference of a vial only if the curve stays gentle; otherwise run it along the length.
- Use a module size your printer can render cleanly, since 8-module-high symbols leave little margin for error.
- Keep one module of quiet zone at the ends too, not only top and bottom.
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
GS1 DataMatrix Rectangular FAQs
Use rectangular when the label is long and narrow, such as on a vial or the edge of a carton. Use square when you have room or need to store more data.
Most modern 2D imagers do, but check older equipment before switching.
No. Both use the same GS1 Application Identifiers and FNC1 start; only the shape and capacity differ.
8 x 18 modules. It holds only a short element string, so in practice a GTIN alone may need 12 x 26 or larger.
No. DMRE adds more rectangular sizes in a separate standard. Check that your partners' scanners support them before using them.
