Data rules
Any printable ASCII, up to 200 characters
- Length: 1–200 characters
- Character set: alphanumeric
- Check digit: not used
- Quiet zone: 1 modules
2D codes
Data Matrix encodes text or numbers in a compact square with strong error correction — ideal for very small parts.
Enter valid data to see the barcode.
Encoding happens entirely in your browser. This tool encodes numbers you already own — it does not issue or register GS1 company prefixes.
Any printable ASCII, up to 200 characters
GS1 DataMatrix packs Application Identifier data into a small 2D square, widely used for healthcare and direct part marking.
Aztec codes need no quiet zone, which makes them the standard for rail and airline tickets printed edge to edge.
PDF417 is a stacked linear symbology holding well over a kilobyte of data — used on IDs, boarding passes and shipping labels.
Data Matrix is a 2D matrix symbology that encodes up to about 2,335 alphanumeric characters in a square or rectangular grid with an L-shaped finder pattern.
It reads reliably at very small sizes and under poor contrast, and it is the usual choice for direct part marking by laser or dot peen.
Yes. The Data Matrix generator is free, has no signup and adds no watermark. The symbol is encoded in your browser, so the data you type is never uploaded to a server.
Download SVG for anything that will be printed. SVG is vector, so bar widths and the quiet zone stay exact at any size. PNG is fine for screens and slide decks, but never scale a PNG barcode up — enlarging it blurs the bar edges and scanners start failing.
Data Matrix is more compact at small sizes and dominant in industrial marking. QR is better known to consumers and easier to scan with a phone camera at distance.
This page follows the published specifications. The bodies that own them: