Skip to content

DataMatrix, GS1-128 and Aztec barcode generator

Encode GS1 Application Identifiers with FNC1, shipping DataMatrix, boarding-pass Aztec, and driver-license PDF417 symbols locally in SVG, PNG, or PDF.

ISO/IEC 16022 ECC 200 2D matrix with built-in Reed-Solomon error correction.

How to use DataMatrix & GS1-128 maker

  1. Choose Single symbol or Batch & PDF label sheet mode. Select one of the five supported symbologies from Symbology and click Load sample payload if you want a pre-validated example string.
  2. Enter your payload and check GS1 validation. Type or paste product GTINs, SSCC numbers, or raw text into Payload string or Batch lines, adjusting PNG Scale and Quiet zone modules between 0 and 12.
  3. Toggle optional captions and sheet placement. Enable Show human-readable text label for linear or GS1 inspection, pick a Label sheet preset, and set Copies per line or Skip start slots in batch mode.
  4. Generate and download print-ready output. Click Generate barcode, Download SVG, Download PNG, or Generate PDF label sheet to save vector files, crisp PNGs, or multi-label PDF sheets locally.

Everything you type stays in this browser on your device. Nothing is uploaded, and your saved details are never sent anywhere.

How does the DataMatrix and GS1-128 encoder format ECC 200 and FNC1 data?

The DataMatrix generator passes parenthesized strings or raw payloads into local Web Workers running bwip-js, producing valid ECC 200 DataMatrix, GS1-128, GS1 DataMatrix, Aztec barcode, and PDF417 symbols inside your browser. Automatic FNC1 control insertion lets downstream scanners isolate variable-length supply-chain fields with zero server requests.

Built in alignment with the GS1 2D Barcodes and DataMatrix overview, ECC 200 uses Reed-Solomon error correction across square modules so partially scuffed carton labels still decode reliably. Unlike naive generators that print literal parentheses into Code 128 bars, enabling gs1-128 or gs1datamatrix triggers strict AI parsing (parse: true), inserting true symbology-level FNC1 function characters instead.

In Single symbol mode, toggling Show human-readable text label turns on automatically whenever GS1-128 (with AI & FNC1) is selected so shipping docks can read digits visually if laser beams fail. For classic retail EAN-13, UPC-A, or non-GS1 linear inventory tags, switch to the 1D UPC-A, EAN-13, and Code 128 barcode maker instead.

Symbologies, GS1 Application Identifiers, and check digits

Selecting the right 2D or linear format balances physical space against scanner distance across warehouse racks, PCB components, ID cards, and carton manifests. This encoder outputs five industrial symbologies covering compact 2D markings alongside linear GS1-128 logistics bars.

Symbology Pixel aspect GS1 FNC1 support Common shipping and industrial role
DataMatrix (ECC 200) Square 1:1 Plain payload mode Small-part aerospace, electronics, and medical tracking
GS1 DataMatrix Square 1:1 Automatic via (AI) tags Healthcare UDI, pharmacy unit-dose, retail 2D tags
GS1-128 (with AI & FNC1) Linear bars Automatic via (AI) tags Pallet SSCC-18 and outer carton shipping labels
Aztec Code Square 1:1 Plain payload mode Rail tickets, boarding passes, dense URLs
PDF417 Stacked 3:1 height Plain payload mode Driver licenses, customs manifests, PDF417 barcode bills

Validate GTIN-14 and SSCC-18 check digits

Structured logistics labels formatted under the GS1 Application Identifiers reference standard combine fixed-length keys ((01) GTIN, (00) SSCC) with variable lot ((10)), batch dates ((11), (15), (17)), and serial ((21)) attributes. Real-time GS1 validation inspects leading parenthesized prefixes before printing.

Specifically, the validator verifies 14 digits on (01) or (02) GTINs and 18 digits on (00) SSCC pallet identifiers using Modulo 10 right-to-left 3/1 weighting, while checking YYMMDD validity (6 digits) on production and expiry dates. When tying SSCC-18 carton labels back to ASN dispatch feeds, teams often inspect corresponding X12 856 ASN and EDIFACT files right before printing.

Choosing quiet zone modules and PNG scale

Even perfect modules fail warehouse verification if adjacent text crowds the symbol perimeter or raster anti-aliasing softens edge contrast. Setting Quiet zone modules between 0 and 12 (default 4 modules) wraps clean white borders around both SVG viewboxes and bitmap matrices, protecting ECC 200 DataMatrix and GS1-128 barcodes from finder-pattern interference.

Meanwhile, PNG Scale (1 to 10, default 4) scales integer module widths (3x vertical height multiplier for PDF417) through a pure TypeScript grayscale encoder (8 bits per channel, colorType=0, zlib level 6). Bypassing browser canvas anti-aliasing preserves razor-sharp black-and-white edges across 203 DPI, 300 DPI, and 600 DPI printers governed by ISO 16022 and ISO 15417 contrast tolerances.

Batch SVG, crisp PNG, and PDF label sheet printing

Switching to Batch & PDF label sheet turns newline-delimited payloads inside Batch lines (one symbol payload per line) into production print runs, supporting Copies per line (1 to 200 in the interface) and Skip start slots so half-used label sheets never go to waste.

Five pre-measured templates cover standard thermal and office die-cut sheets without manual margin math: 4 x 6 in Thermal Label, Avery 5160 / 8160 (Letter) (30 labels per sheet, 2.625 x 1 in), and Avery 5163 Shipping (Letter) (10 labels per sheet, 4 x 2 in).

European and warehouse stock presets add Avery L7160 (A4) (21 per sheet, 63.5 x 38.1 mm) plus A4 8-up Warehouse Grid (8 per sheet, 92 x 65 mm). Optional Print label caption renders sanitized text truncated at 48 characters in Helvetica, while Cut / alignment outlines draws 0.5 pt light gray borders.

If downstream ERP warehouses supply raw printer scripts rather than plain line lists, teams can preview Zebra ZPL shipping labels without physical printers alongside PDF sheet runs generated here.

Vector PDF sheets vs ZIP PNG and SVG archives

Selecting ZIP of vector SVGs exports paths aligned with the W3C Scalable Vector Graphics (SVG) 2 Specification for CAD engraving or Adobe Illustrator packaging artwork, whereas ZIP of raster PNGs packages bit-exact grayscale bitmaps for headless ERP mail-merge imports. Choosing Vector PDF label sheet invokes @cantoo/pdf-lib inside the PDF worker, coalescing consecutive horizontal dark pixels into unified vector rectangles so multi-page PDF files remain compact.

Printer scaling tip: Always select Actual size or 100% scale in your PDF print dialog and disable Fit to page, otherwise Avery 5160 and L7160 rows drift off die-cut sheet edges.

When should you verify GS1 barcodes before thermal label printing?

Round-trip verification matters whenever strings pack multiple variable-length Application Identifiers, custom FNC1 group boundaries, or dense micro-labels printed near lower module sizes. Testing digital exports catches check-digit errors and clipped quiet zones before adhesive rolls commit bad GTIN or SSCC data to outbound pallets.

Generated PDF label sheets conform to vector coordinate geometry documented in the Library of Congress PDF 1.7 format specification, ensuring identical bar spacing across macOS Preview, Windows, and Linux CUPS spools. Click Load sample payload to validate GS1 syntax on screen, confirm every Quiet zone modules margin looks balanced, and inspect human-readable captions before committing full runs.

After downloading your test SVG, PNG, or multi-label PDF sheet, run an immediate verify FNC1 GS1 parsing with a camera or image scan check directly inside your browser to confirm retail and warehouse scanners interpret every AI separator accurately before production printing.

Questions

How does GS1 FNC1 encoding work with Application Identifiers?

Selecting GS1-128 or GS1 DataMatrix enables strict AI parsing so parenthesized tags like (01) or (10) encode real FNC1 function codes instead of literal ASCII parenthesis characters. Warehouse and retail scanners depend on that invisible FNC1 separator to isolate variable-length lot numbers and serials.

What check digits does GS1 validation enforce for GTIN and SSCC?

Live validation inspects AI (01) and (02) for 14-digit Global Trade Item Numbers and AI (00) for 18-digit Serial Shipping Container Codes using standard Modulo 10 right-to-left weights of 3 and 1. Date tags (11), (15), and (17) are also checked for valid six-digit YYMMDD formatting.

Which label sheet presets support 4x6 thermal and Avery stock?

Five built-in presets match standard warehouse and office stock: 4 x 6 in Thermal Label, Avery 5160 / 8160 (30-up US Letter), Avery 5163 Shipping (10-up US Letter), Avery L7160 (21-up A4), and A4 8-up Warehouse Grid. You can also skip already-used sheet labels via Skip start slots.

Why are PNG barcodes encoded as grayscale without canvas anti-aliasing?

Rasterizing barcodes onto an HTML canvas frequently introduces blurred gray borders between dark bars and quiet zones when scaled fractionally. Encoding grayscale bit-level PNG pixels directly preserves crisp integer module widths so low-cost thermal and laser printers stay scannable.

Does PDF417 use square modules like DataMatrix and Aztec?

No. While ECC 200 DataMatrix, GS1 DataMatrix, and Aztec Code render 1:1 square pixels, PDF417 is a stacked linear symbology whose module height renders at three times its width (3x vertical scale) in both PNG and vector PDF sheets to meet reader aspect expectations.

Can I generate crisp SVG, PNG, and multi-label PDF sheets offline for confidential medical or defense serials?

Yes. Every encoding step, GS1 check-digit test, ZIP packaging routine, and PDF rectangle layout runs strictly inside local Web Workers on your device, keeping SKU serial numbers, pharmacy lot codes, and logistics shipments completely private.

Updated