---
title: "GS1 DataMatrix Rectangular Generator – Free"
description: "Free rectangular GS1 DataMatrix generator. Encode GTIN, batch, expiry and serial as (AI)value pairs in a narrow rectangular code. Download PNG, SVG or PDF."
url: https://barcodejar.com/gs1-data-matrix-rectangular-barcode-generator
source: BarcodeJar (free barcode tools)
---

# GS1 DataMatrix Rectangular Generator

Make a rectangular GS1 DataMatrix for narrow spaces such as vial labels and the edges of cartons. Type your GS1 data as (AI)value pairs.

_Interactive tool: open https://barcodejar.com/gs1-data-matrix-rectangular-barcode-generator to use it in your browser. It is free with no sign-up._

## How to create a GS1 Data Matrix Rectangular barcode

1.  Enter your data in the box above. Type each AI in parentheses followed by its value, with no spaces, e.g. (01)09506000134352(17)271231(10)LOT42A. GTIN check digits must be correct.
2.  The barcode updates live as you type. Open **Customize** to change the bar height, colors, rotation or quiet zone.
3.  Click **Download PNG** for labels and documents, or **SVG / PDF** for print and packaging design.
4.  Test it with our [online barcode scanner](https://barcodejar.com/barcode-scanner) before you print a large run.

## What is a GS1 Data Matrix Rectangular barcode?

A **rectangular GS1 DataMatrix** holds the same GS1 data as the square [GS1 DataMatrix](https://barcodejar.com/gs1-datamatrix-generator), but in a wide, short shape. ECC 200 defines rectangular sizes from 8×18 to 16×48 modules, so the code fits on curved or narrow surfaces where a square would not.

It is common on small vials, ampoules and syringes, and on the side flap of folding cartons.

## Where GS1 Data Matrix Rectangular is used

-   Vials, ampoules and syringes
-   Narrow carton flaps and edges
-   Small medical device labels

## GS1 Data Matrix Rectangular specifications

-   **Type:** 2D matrix, rectangular (ECC 200)
-   **Sizes:** 8×18 to 16×48 modules
-   **Data:** GS1 Application Identifiers, starting with FNC1
-   **Standard:** ISO/IEC 16022

## Frequently asked questions

### When should I use a rectangular GS1 DataMatrix?

Use it when the space is long and narrow, such as a vial label or carton edge. If you have a square area, the square version holds more data.

### Do scanners read rectangular DataMatrix?

Yes. Rectangular sizes are part of the Data Matrix ECC 200 standard and are read by 2D imaging scanners.

### Why does my data not fit?

The largest standard rectangular size is 16×48 modules, which holds far less than a large square code. Shorten the data or use the [square GS1 DataMatrix](https://barcodejar.com/gs1-datamatrix-generator).

## Related free tools

[![GS1 Data Matrix Generator example](/thumbs/gs1datamatrix.svg)**GS1 Data Matrix Generator**Create GS1 Data Matrix barcodes free. PNG, SVG, PDF.](https://barcodejar.com/gs1-datamatrix-generator)[![Data Matrix Rectangular Generator example](/thumbs/datamatrixrectangular.svg)**Data Matrix Rectangular Generator**Create Data Matrix Rectangular barcodes free. PNG, SVG, PDF.](https://barcodejar.com/rectangular-data-matrix-generator)[![Data Matrix Generator example](/thumbs/datamatrix.svg)**Data Matrix Generator**Create Data Matrix barcodes free. PNG, SVG, PDF.](https://barcodejar.com/data-matrix-generator)[![GS1-128 Generator example](/thumbs/gs1-128.svg)**GS1-128 Generator**Create GS1-128 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/gs1-128-barcode-generator)[![HIBC Data Matrix Rectangular Generator example](/thumbs/hibcdatamatrixrectangular.svg)**HIBC Data Matrix Rectangular Generator**Create HIBC Data Matrix Rectangular barcodes free. PNG, SVG, PDF.](https://barcodejar.com/hibc-data-matrix-rectangular-barcode-generator)[**GTIN Check Digit Calculator**GTIN-8, 12, 13 and 14 check digit calculator.](https://barcodejar.com/gtin-check-digit-calculator)
