Business tools · barcodes · nothing uploaded

Data Matrix generator

Data Matrix packs text into a very small square, which is why it marks electronic parts, medicines and tools. Free SVG, PNG and PDF.

Any text, up to about 1,500 characters

Text, colour, quiet zone and rotation

Free, no watermark. SVG and PDF are vector and print sharp at any size; the PDF page is exactly the barcode's size.

Many barcodes at once: a ZIP of PNG or SVG files
Or load a CSV: the first column is used. Free up to 20; lifetime licence up to 5,000.

Files are named after each value and use the size, colours and options above. Invalid values are skipped and listed in errors.txt.

Print-ready sheets and bigger batches: A$4.99 for 30 days or A$19 lifetime

Free, always

Every symbology, every single-barcode download (SVG, PNG, PDF) with no watermark, ZIPs of up to 20 barcodes, and the label-sheet preview and calibration page.

Lifetime, for small businesses

A$19

Everything in print-ready sheets, for good, plus ZIPs of up to 5,000 barcodes.

Buy lifetime

Charged in your local currency at checkout. Prices include GST for Australian buyers.

What Data Matrix is

Data Matrix (ECC 200) is a square or rectangular 2D barcode made of small modules, with a solid L-shaped border on two sides and a dotted pattern on the other two that tells the reader the grid size. It holds more data in less space than a linear barcode and keeps working when part of the mark is damaged. It is the standard for direct part marking (laser-etched serial numbers on metal and circuit boards), for medicines in many countries (as GS1 DataMatrix) and for small electronic components.

When to use it

For codes meant for the public to scan with a phone, use a QR code instead.

Size and quiet zone

The symbol grows from 10 by 10 modules for a few characters. Its printed size is the module size times the grid size. With a module of 0.25 mm, a short serial number fits in about 4 mm. Keep a quiet zone of at least one module all round, which the tool adds. Set the overall size in millimetres and the tool shows the module size; aim for at least 0.25 mm per module on labels printed by office or thermal printers.

Printing tips

Why barcodes fail to scan

Which download to use

To make many at once, use the ZIP option below the generator: paste one value per line or load a CSV and download PNG or SVG files named after each value.

How this tool works

Barcodes are drawn in your browser with bwip-js, an open-source (MIT) port of Barcode Writer in Pure PostScript, and PDFs are written with pdf-lib. Nothing you type is uploaded, and the page works offline after the first visit. Single barcodes are free in every format with no watermark. Paid licences cover print-ready label sheets and large batches; see the box above.

Frequently asked questions

Data Matrix or QR code?

Data Matrix is smaller for the same short data and is the standard for parts marking and healthcare. QR codes are better for consumers with phones, because every camera app reads them.

Can phones read Data Matrix?

Many barcode apps can, but the built-in camera apps on most phones only open QR codes.

How small can it be?

A short serial number can be printed a few millimetres square with a good printer. Test with your scanner.

What is GS1 DataMatrix?

A Data Matrix with GS1 application identifiers, used on pharmaceuticals and medical devices. This tool makes plain Data Matrix; GS1 DataMatrix needs the FNC1 structure and GS1 numbers.

How much can it hold?

Up to about 2,300 characters in theory; this tool allows 1,500. Smaller is easier to read.

Is there error correction?

Yes. Data Matrix ECC 200 uses Reed–Solomon error correction and can recover from a damaged or dirty mark.

Sources

Rules on this page last verified against these sources on 29 October 2026. This is general information, not tax or legal advice.

Related