Data Matrix Generator

Create Data Matrix codes for small electronic components, pharmaceuticals and industrial marking.

Any text, number or URL.

Design options

Preview

About Data Matrix

Data Matrix is a 2D matrix barcode that stores a lot of data in a very small square or rectangle. It remains readable even when printed at just a few millimetres and with up to 30% damage, thanks to Reed-Solomon error correction (ECC 200).

It is the mandatory code for marking pharmaceuticals in many countries (GS1 DataMatrix) and is widely used for direct part marking on electronic components and industrial parts.

Technical specifications

Technical specifications
CapacityUp to 3,116 digits / 2,335 alphanumeric characters
Error correctionReed-Solomon ECC 200
ShapesSquare or rectangular
StandardISO/IEC 16022

Common uses

  • Pharmaceutical packaging and serialisation
  • Electronic components and PCBs
  • Aerospace and automotive part marking
  • Postal franking

How to create a Data Matrix

  1. Type or paste your data into the content field.
  2. Adjust colors, size, human-readable text and quiet zone.
  3. Check the live preview — it updates instantly as you type.
  4. Download as PNG, JPG, SVG, PDF or EPS, or print it directly.

Why use our Data Matrix generator?

  • Free, no watermark

    Unlimited barcodes for personal and commercial use, without registration.

  • Print-ready vectors

    SVG, PDF and EPS downloads stay sharp at any size — perfect for packaging and print shops.

  • Private by design

    Everything is generated locally in your browser. Your data is never uploaded.

  • Works everywhere

    Optimised for phones, tablets and desktops, and fully keyboard and screen-reader accessible.

Frequently asked questions

Is this Data Matrix generator really free?

Yes. You can create and download as many codes as you need, for free, with no account and no watermark.

Can I use the codes commercially?

Yes. The generated images are yours to use on products, packaging, labels, documents and marketing. For retail product barcodes (EAN/UPC) you need valid numbers from GS1.

Which file formats can I download?

PNG and JPG for screens and office documents, and SVG, PDF and EPS vector files for professional printing.

Is my data stored or shared?

No. Codes are generated entirely in your browser with JavaScript. Nothing you type is sent to our servers.

Related tools