Free · 100% browser-side · zero server upload

Data Matrix ECC 200 Barcode Generator (ISO/IEC 16022)

Generate compact square Data Matrix ECC 200 symbols from 10×10 up to 104×104 with digit-pair compression, optional GS1 FNC1 prefixing, GF(256) Reed-Solomon, and Annex F placement.

ISO/IEC 16022 ECC 20010×10 to 104×104 squareGF(256) 0x12D Reed-SolomonOptional GS1 FNC1

Interactive barcode workbench

Compresses consecutive digit pairs automatically into compact ECC 200 square matrices (10×10 up to 104×104).

Warns automatically if foreground/background contrast drops under 4.5:1.

Barcode preview and diagnostics

Data Matrix barcode

GS1-ASSET-2026

Scanner contrast: 17.74:1 (WCAG AA compliant)

  • Symbology: Data Matrix ECC 200 (ISO/IEC 16022)
  • Matrix size: 16×16
  • Data / EC bytes: 12/12 data · 12 RS EC (1 block)
  • Compression & prefix: 2 digit pair(s)

All encoding, check-digit calculation, SVG vector drawing, and PNG rasterization run locally in this tab. Share links keep settings after the hash, which browsers never send to a server.

How ECC 200 Data Matrix encoding works

Data Matrix ECC 200 is the standard two-dimensional matrix symbol across electronics PCBs, aerospace parts, healthcare UDI device labels, and miniature warehouse tags. Every square symbol features a solid L-shaped finder pattern along its left and bottom edges and alternating light-and-dark clock borders along the top and right edges so optical readers locate orientation at any rotation.

Before computing error correction, this generator compresses your input using ISO/IEC 16022 ASCII and digit-pair rules: any pair of consecutive digits (00 through 99) packs into a single codeword (value + 130), halving symbol size for numeric serials and GTIN strings. Checking Prepend GS1 FNC1 inserts codeword 232 at the beginning of the stream for GS1 Application Identifier strings such as (01) GTIN and (17) expiration date.

The encoder automatically selects the smallest standard square matrix—starting at 10×10 (3 data bytes, 5 EC bytes) through 16×16, 24×24, 32×32 multi-region symbols, and up to 104×104—computes Reed-Solomon parity over GF(256) with primitive polynomial 0x12D, interleaves multi-block symbols, and maps every bit according to Annex F Utah placement.

Exporting crisp module edges for laser marking and labels

Use the Module size slider (4 to 12 px) and Quiet zone control (10 to 30 px) to size your symbol. Each SVG merges contiguous horizontal modules per row with crispEdges rendering, while Download PNG renders integer pixel squares onto an opaque canvas with at least a 2-module bright quiet zone around the perimeter.

Diagnostic metrics in the result panel report exact matrix dimensions, occupied data capacity versus symbol capacity, Reed-Solomon EC byte count, block interleaving count, and how many digit pairs were compressed.

Frequently asked questions

What is the difference between ECC 200 and older Data Matrix formats?

ECC 200 is the modern ISO/IEC 16022 standard using GF(256) Reed-Solomon error correction and even symbol dimensions (such as 10×10, 16×16, and 24×24) with an L-shaped solid finder border. Older ECC 000–140 variants are obsolete and omitted here.

When should I turn on the GS1 FNC1 prefix?

Turn on Prepend GS1 FNC1 when your payload carries GS1 Application Identifiers (such as 01 followed by a 14-digit GTIN, 17 expiration date, or 10 batch/lot) for healthcare UDI or retail supply-chain scanning. Leave it unchecked for general URLs, asset tags, and plain serial strings.

Why does a 10×10 matrix hold only a few characters?

A 10×10 ECC 200 symbol has an 8×8 interior mapping grid (8 total codewords): 3 codewords hold your payload and 5 codewords are dedicated to Reed-Solomon error correction. Longer payloads automatically step up to 12×12, 14×14, 16×16, or larger sizes.

Can Apple and Android scanners read the exported Data Matrix PNG?

Yes. Every Data Matrix symbol uses exact Annex F Utah placement, solid L finder edges, alternating clock edges, and an opaque light quiet zone, making it directly readable by iOS/macOS Vision, industrial 2D imagers, and mobile barcode apps.

Every workspace shares the same pure TypeScript encoders and scanner-safe contrast rules, with dedicated controls for 2D codes, label sheets, spreadsheets, VINs, and books.

Specifications & standards

All bar/space tables, error-correction polynomials, and check-digit formulas are implemented directly from published ISO/IEC, GS1, and federal standards.

All barcodes are generated deterministically inside your browser tab. Always test-scan a physical label print on your target scanner hardware before mass production.

Put this calculator on your site

Embed this calculator

Copy the snippet into any page. The widget is free, needs no key and sends nothing until a visitor interacts with it.

Open widget view