Free
For single codes and small batches.
US$0 forever
You're on Free
No account, nothing to install
Type your data and the Data Matrix code appears as you type. Download it as PNG or SVG. It runs in your browser, so nothing is uploaded.
Free. No sign-up. No ads. Nothing uploaded.
Cancel any time · 14-day refund
Cancel any time · 14-day refund
Free, no sign-up. Codes are made in your browser; your text and CSV files are never uploaded.
Data Matrix Generator Pro is unlocked in this browser.
Using it on another device?
Want more? Data Matrix Generator Pro makes up to 1,000 codes at once, numbered sequences of up to 1,000 codes, label sheets that start on any label, and a whole roll of thermal labels in one PDF. US$19.90 a month or US$129 a year, cancel any time.
Free
For single codes and small batches.
US$0 forever
You're on Free
No account, nothing to install
Recommended
Pro
For label runs, long lists and whole rolls.
US$19.90 /month
billed every month
Cancel any time · 14-day refund
US$129 /year
≈ US$10.75/month, billed yearly
Cancel any time · 14-day refund
Or pay 129 USDT once for one year, no renewal
The free version stays free. See pricing.
Capacity depends on the symbol size and on the kind of data: digits pack two to a codeword, so a symbol holds about twice as many digits as letters. Error correction is fixed per size; you do not pick a level as you do with QR codes. The table shows a few sizes from the GS1 General Specifications (Table 5-32, equivalent to Table 7 of ISO/IEC 16022).
| Size (modules) | Digits | Letters / alphanumeric | Bytes | Error correction overhead |
|---|---|---|---|---|
| 10x10 | 6 | 3 | 1 | 62.5% |
| 16x16 | 24 | 16 | 10 | 50% |
| 24x24 | 72 | 52 | 34 | 40% |
| 32x32 | 124 | 91 | 60 | 36.7% |
| 52x52 | 408 | 304 | 202 | 29.2% |
| 144x144 | 3116 | 2335 | 1556 | 28.5% |
The largest square symbol holds 3,116 digits, 2,335 alphanumeric characters or 1,556 bytes. The largest rectangle (16x48) holds 98 digits. Pick Auto and the tool chooses the smallest size that fits; pick a size yourself when every label in a run must look the same.
The quiet zone is the clear margin around the code. GS1 specifies a quiet zone one module wide on all four sides of a GS1 DataMatrix; QR Code needs four modules (GS1 General Specifications, Table 5-46). The tool defaults to 2 modules to leave room for trimming (sizes in the quiet zone guide); do not go below 1 and do not print anything inside it.
The module size is the side of one square. On screen it is set in pixels here. In print it is called the X-dimension: for GS1 DataMatrix on retail consumer packaging GS1 gives a minimum of 0.396 mm, a target of 0.495 mm and a maximum of 0.990 mm (Table 5-46). For export to print, use SVG and scale it so each module lands in that range.
Colours: dark modules on a light background are the safe choice. The tool warns when the contrast between your two colours is low, or when the code is lighter than its background.
The ECC 200 version of Data Matrix uses Reed-Solomon error correction and this feature helps correct for partially damaged symbols.
Source: GS1 General Specifications, Release 26.0, section 5.6.
For laser marking and engraving software such as LightBurn, set Output size to millimetres, enter the module size you want on the part and download the SVG: its width and height are written in mm, so it imports at that size. “White background” is off by default, so the file has no background rectangle for the laser to engrave; the dark modules are filled squares joined into closed shapes.
Check the size your software shows after import and mark a test piece first; we have not tested every laser program. To mark a series, make a numbered sequence in Batch and download a ZIP of SVG files.
Open Batch under the tool, paste one value per line (or columns from Excel) or load a CSV file, or make a numbered sequence, and download a ZIP of PNG or SVG files, or a PDF laid out for Avery 5160, 5163 or 5167 sheets, your own A4 layout or thermal roll labels. Up to 100 codes per export are free. The Data Matrix labels page explains label sizes and printing.
Single codes stay free with every option. Data Matrix Generator Pro is for long lists: US$19.90 a month or US$129 a year, cancel any time.
| Feature | Free | Data Matrix Generator Pro |
|---|---|---|
| One code, PNG or SVG, all sizes and colours | Yes | Yes |
| GS1 mode with AI checks | Yes | Yes |
| Batch: ZIP of PNG or SVG | Up to 100 codes | Up to 1,000 codes |
| Label sheet PDF | Up to 100 codes | Up to 1,000 codes |
| CSV import with captions, numbered sequences | Up to 100 rows | Up to 1,000 rows |
| Thermal roll labels, one per page | One label | A whole list |
Details and refunds are on the pricing page.
A Data Matrix is a two-dimensional barcode made of square modules inside a solid “L” finder pattern on two sides and an alternating timing pattern on the other two. It is used where space is tight: small parts, electronic components, pharmaceutical packs, medical devices and logistics labels. The version in use today is ECC 200, standardised in ISO/IEC 16022.
This generator makes ECC 200 symbols in all 24 square sizes, from 10 × 10 to 144 × 144 modules, the 6 rectangular sizes from 8 × 18 to 16 × 48, and the 18 rectangular extension (DMRE) sizes of ISO/IEC 21471 from 8 × 48 to 26 × 64. For product codes that follow GS1 rules (GTIN, expiry date, batch, serial), use the GS1 Data Matrix generator, which adds FNC1 and checks every Application Identifier.
Four steps, no account:
Most failures come from the print, not the data:
Both are 2D codes. A Data Matrix is more compact for short data and needs a smaller quiet zone (1 module against 4 for QR Code in GS1’s Table 5-46), which is why it is common on small parts and healthcare packs. QR Code lets you choose the error correction level and is what most people expect for links on posters. If a regulation or a trading partner asks for GS1 DataMatrix, use the GS1 mode; for marketing links, a QR code is usually the better choice. The same data in both codes, measured: Data Matrix vs QR code.
Single codes are free, with every size and colour. No sign-up.
Create a Data Matrix codeGS1 is a registered trademark of GS1 AISBL. Avery is a registered trademark of Avery Products Corporation. This site is not affiliated with either.