How to create one in 3 steps
- Enter your details in the form above — only the fields for this type, nothing extra.
- Check the live preview and customise the colour, background and size (256, 512 or 1024 px) to match your brand or print.
- Click Download PNG, test-scan the code once with your phone, then print it or share it wherever your audience is.
About this Data Matrix
Data Matrix (ISO/IEC 16022, ECC 200) is the 2D code of industry and healthcare: it stores real data in a fingernail-sized square — a few millimetres across — and still reads with up to about 25% of the symbol damaged, thanks to Reed–Solomon error correction. GS1 DataMatrix is the mandated code on medicines and medical devices across the EU and US (UDI), and electronics makers laser-etch it directly onto parts.
Unlike QR it has no decorative finder squares in the corners — an L-shaped solid border plus a clock track of alternating modules tell the scanner where the data lives.
Best uses
- Medicine and medical-device packs (GS1/UDI)
- Laser-etched electronics and engine parts
- Aerospace component tracking
- Small labels where QR will not fit
Put the code exactly where the decision is made — on the table, the counter, the packaging, the invitation or the screen — and give people one short line of instruction such as “Scan to open” or “Scan to pay”. Print codes at least 2 cm wide with a quiet white border and strong contrast so older phone cameras read them quickly; for posters scanned from a distance, use the 1024 px size and print bigger — a good guide is roughly one tenth of the scanning distance.
How it works
Encoding runs on the vendored bwip-js library (the browser port of BWIPP, the encoder trusted by label software), producing true ECC 200 symbols — not a QR with a different skin. Capacity runs from a few characters in a 10×10 symbol to ~2,335 alphanumeric characters at 144×144.
Worked example
A PCB maker etches each board with a Data Matrix holding LOT-8841;EXP-2027-05-style traceability data in 5 mm. Ten years later a technician scans the board and the full production record opens.
Frequently Asked Questions
Is this Data Matrix generator free?
Yes. Loona’s Data Matrix generator is completely free with no signup, no watermark and no limit on how many codes you create, for personal or commercial use.
Will my QR code expire?
No. Loona creates static QR codes: your information is encoded directly inside the QR pattern itself, not stored on a server or hidden behind a paid redirect. A code you print today will keep working as long as the destination itself stays active.
Is my information private on this Data Matrix page?
Yes. Generation happens 100% in your browser using JavaScript. Nothing you enter is sent to or stored on any server.
Data Matrix or QR code — which one?
Data Matrix when size is tiny, the surface is a part or pack, or an industry rule (pharma UDI, GS1 healthcare) names it. QR when the general public must scan it — every phone camera reads QR natively, while Data Matrix often needs a proper scanner app.
Can phone cameras scan Data Matrix?
Many newer phones and most dedicated scanner apps can; some stock camera apps cannot. For consumer-facing uses, prefer QR.
Related QR Code Generators
The high-density all-rounder for logistics and inventory.
The retail product standard outside North America.
Every common 1D symbology in one tool.
Test-scan any code with your camera.
The North American retail standard.
Embed this tool on your website — free
Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.