Sign in Sign up free Account

Data Matrix Code Generator

Type text, a serial or part number or a web address, and get a square Data Matrix code (ECC 200) at the smallest size that holds it. Download it as SVG for print and engraving or PNG, or make hundreds at once from a list.

Data Matrix Code Generator Runs in your browser: nothing is uploaded

What a Data Matrix code is

A square 2D code made of black and white cells, with a solid L along two edges and a dotted line along the other two that scanners use to find it. It holds far more in a small space than a linear barcode, which is why it is printed or etched on electronics, machine parts, labels and packaging.

Sized to what you type

The symbol grows only as much as it needs to: a short part number fits a 10 x 10 or 12 x 12 code, a web address a 32 x 32, and the largest, 144 x 144, holds up to 1,558 letters or 3,116 digits. Digits are packed two to a codeword, so numbers make the smallest codes.

Error correction built in

Every Data Matrix (ECC 200) carries Reed-Solomon error correction, so a scanner can still read it when part of the code is scratched, smudged or printed badly. Larger symbols are split into several blocks, each corrected on its own.

Checked by a real reader

Each size from 10 x 10 to 144 x 144 is checked by decoding it with an independent barcode reader, so what you download scans back to exactly what you typed.

On the blog: How to Make a Data Matrix Online, Step by Step

Reviews

No reviews yet. Used this tool? Yours could be the first.

Used this tool? Sign in to write a review.

Questions

What is the difference between a Data Matrix and a QR code?

Both are 2D codes. A QR code has three square finder patterns in its corners; a Data Matrix has an L-shaped border. A Data Matrix is more compact for short data like part and serial numbers, which is why industry prefers it for small labels and direct part marking; QR codes are what phones are used to reading for links.

Can a phone read a Data Matrix code?

Yes. Most phone barcode apps and the camera apps that read barcodes read Data Matrix, as do 2D handheld scanners. Older 1D laser scanners cannot read any 2D code.

Is this GS1 DataMatrix?

No. These are standard Data Matrix (ECC 200) codes for your own text and numbers. GS1 DataMatrix, used on medicines and regulated products, adds a special FNC1 start and application identifiers; for GS1 data on cartons, use the GS1-128 generator.

How small can I print a Data Matrix?

It depends on your printer and scanner: each cell needs to print cleanly. Download the SVG and set the size in your label or print software, keeping at least one cell width of clear space all round the code.

Can I make many Data Matrix codes at once?

Yes. Paste one value per line under Many barcodes at once and download them all as SVG or PNG in one ZIP.