GS1 Data Matrix Generator

Generate GS1 Data Matrix barcodes in your browser with live preview, validation, and PNG/SVG export.

Advanced options
Enter a value to see a live preview.

What GS1 DataMatrix is

GS1 DataMatrix is ISO/IEC 16022 Data Matrix carrying GS1 Application Identifiers, widely used for healthcare and traceability data such as GTIN, lot, and expiry.

Generate it now

Enter your AI data, e.g. (01)09521234543213(17)250101(10)ABC123, for a live preview.

Valid input

Input uses GS1 Application Identifier syntax; bwip-js interprets AI structure inside the Data Matrix payload automatically, regardless of the parse option's value.

Key options

Supported options include version (fixed symbol size). parse is also accepted, but it does not control GS1 AI structure interpretation -- that always happens, as above. parse instead controls whether bwip-js decodes its own caret-escape syntax (e.g. ^048 for a raw byte value) inside an AI's value before that value is validated; an ordinary AI value with no such escape text renders identically whether parse is set or not.

Output and printing

Export SVG for small product/traceability labels; Data Matrix's narrow quiet zone suits tight label real estate.

Common uses

GS1 DataMatrix carries GTIN, lot, and expiry data for product traceability, and is the standard 2D symbol on pharmaceutical unit packs in many regulatory regimes.

Example

See the live preview above, seeded with a bwip-js-verified valid AI string.

Size guidance

GS1 DataMatrix inherits Data Matrix's narrow quiet-zone requirement, letting it fit on small pharmaceutical and product labels.

Troubleshooting

Malformed AI syntax is the most common input error; check parentheses and fixed-field lengths against the GS1 AI table.

Related formats

Related formats: GS1 Digital Link Data Matrix, HIBC Data Matrix, and plain Data Matrix.

FAQ

Does this generator issue GTINs?

No -- it only renders the symbol from AI data you already hold; GTINs are assigned by GS1.