Data Matrix Barcode Add-In for Word

Generate, insert linear and 2D barcodes for Microsoft Word

Generate high quality Data Matrix barcode images in Word documents with this add-in

  • Completely available for Microsoft Office Word 2019, 2016, 2013, 2010 and 2007 versions
  • Users do not need to know any programming skills when operating this add-in
  • No barcode fonts are demanded by this professional barcode add-in
  • Insert and generate high quality Data Matrix and GS1 Data Matrix barcodes in Word quickly and easily
  • The generated Data Matrix barcodes are compatible with all printers
  • Data Matrix barcode specifications are not required for users
  • The created barcodes comply with the industry standards of Data Matrix

How to create Data Matrix barcodes in Microsoft Word documents?

  1. Download Data Matrix Barcode Generator Word Add-in
  2. Install Data Matrix (ECC200) add-in to insert, print Data Matrix barcodes in Office Word files
  3. Step by Step Guide












Data Matrix Characters Encoding in Microsoft Office Word Application

Here we will guide you through encoding character sets, adjusting dimensions, and understanding basic properties of Data Matrix (a 2D matrix barcode symbology) in the Microsoft Office Word Application using a professional barcode generator add-in. It follows standardized Word document workflows and maintains consistent barcode terminology.



Data Matrix Encode ASCII Printable Characters

ASCII (American Standard Code for Information Interchange) code values from 32 to 126 represent printable characters. These characters include letters, digits, punctuation marks, and miscellaneous symbols.
  1. Open the Barcode Generator settings pane embedded in the Microsoft Office Word Application.
  2. Locate the Data text box within the pane.
  3. Enter ASCII printable characters directly into the text box.




Data Matrix Encode Unicode Characters

Data Matrix symbology supports Unicode (universal character encoding standard) text encoding. You can generate Data Matrix barcodes from Unicode text in the Microsoft Office Word Application with the barcode add-in.
  1. In the barcode settings pane, set the Data mode property to BASE256.
  2. Find the Encode for bytes property and select your preferred byte encoding mode.
  3. The default byte encoding mode is UTF-8 (8-bit Unicode Transformation Format).
  4. Input Unicode text into the Data property field or a linked Word document field.




Note: Selecting an incorrect byte encoding may cause garbled or unreadable barcode data. Always verify after updating.


Data Matrix Encode GS1 Data Message

Data Matrix symbology is an official GS1-compliant data carrier (Others includes QR Code, Code 128, EAN/UPC, DataBar, ITF-14). You can easily encode GS1 data elements using the Barcode Generator add-in in the Microsoft Office Word Application. For step-by-step implementation, view the guide: How to encode GS1 data in barcodes in Microsoft Office Word 365?



Adjust Data Matrix Width and Height Using Word Barcode Add-in

Most Data Matrix barcodes are square symbols. Some Data Matrix formats are rectangular.


Square Data Matrix

  1. Click to select the target Data Matrix barcode in your Word document.
  2. Navigate to the Barcode Size tab in the Barcode Settings pane.
  3. Locate the Width & Height property group.
  4. Modify values in the Image width and Image height fields.
  5. Click the Update button to re-render the Data Matrix.
  6. Confirm the barcode appears with the new dimensions in the Word document.



Note: For standard square Data Matrix, set identical values for Image width and Image Height. Mis-matched values may cause scanning failure.


Rectangular Data Matrix

The Data Matrix specification defines 6 official rectangular formats.
  1. Open the 2D Barcode tab in the Barcode Settings pane of the Word Application.
  2. Set the Format mode property to your desired rectangular Data Matrix type.
  3. Maintain the aspect ratio matching the module column‑to‑row ratio of the selected format.
Example: For a 12×36 rectangular Data Matrix format:
  • Column modules are 3 times the number of row modules.
  • Image width must be 3 times the image height.
  • Example pixel size: 1536 pixels (width) × 512 pixels (height).




Note: Incorrect aspect ratio will distort the barcode and prevent successful scanning.


Data Matrix Barcode Basic Characteristics



Data Matrix Encodable Characters

Data Matrix symbology supports full ASCII and extended ASCII encoding in the Microsoft Office Word Application.

Supported character sets:
  • ASCII values 0 - 127, compliant with ISO/IEC 646 (US version)
  • Extended ASCII values 128 - 255, compliant with ISO 8859‑1
  • Additional language sets (Arabic, Cyrillic, Greek, Hebrew) via binary data or ECI (Extended Channel Interpretation) protocol or byte mode


Data Matrix Data Mode

Data Matrix supports multiple optimized data modes in the Word barcode add-in:
  • ASCII: double‑digit numerics, ASCII 0 - 127, extended ASCII 128 - 255
  • C40: upper‑case alphanumeric, lowercase and special characters
  • Text: lower‑case alphanumeric, upper‑case and special characters
  • X12: ANSI X12 EDI data set
  • EDIFACT: ASCII values 32 - 94
  • Base 256: all byte values 0 - 255
If you know your target character set, select the matching data mode manually. If not, set the data mode to AUTO.

In AUTO mode, the add-in automatically selects the optimal data mode based on your input characters in the Word document.


Data Matrix Maximum Character Size

Maximum character capacity varies by data type in a single Data Matrix symbol:
  • Numeric data: up to 3,116 digits
  • Alphanumeric data: up to 2,335 characters
  • Byte (8‑bit) data: up to 1,555 characters
Ensure your input character length does not exceed the maximum limit.If the limit is exceeded in the Microsoft Office Word Application:
  • The barcode generator addin will create an error image.
  • The image displays the message: Invalid Barcode Settings.


Note: Note: Excessively long data will result in non‑scannable barcodes. Reduce data length before generation.












Common Asked Questions

What is data matrix?

Data Matrix barcode is one of the 2d or matrix barcode symbologies that is made of black (bar) and white (space) modules that are usually arranged in a square pattern. Data Matrix barcodes are capable of storage of both text and binary data, and are smaller and more compact than QR codes. Using OnBarcode Word Barcode Generator freeware, you can easily create, encode, print and insert Data Matrix barcodes into Microsoft Word documents.

How much data can a Data Matrix barcode hold?

A Data Matrix barcode can hold a maximum of data:
  • Alphanumeric data: up to 2,335 characters
  • Byte data (8-bit): 1,555 characters
  • Numeric data: 3,116 digits
If you try to encode text which is over the maximum Data Matrix capacity, the Word barcode add-in will create an empty image with error message in your Word document.

What is the minimum and maximum size of Data Matrix barcode?

In Data Matrix ISO standard, ECC200 Data Matrix minimum dimension size is 10 x 10 modules. And the maximum dimension size of Data Matrix is 144 x 144 modules. Each modules are in squares. OnBarcode Word Barcode add-in supports all formats defined in Data Matrix ISO standard.

What is the ISO standard for Data Matrix barcode?

Data Matrix ISO specification is ISO/IEC 16022, and the latest standard version is ISO/IEC 16022:2024. Data Matrix barcode is a 2D barcode symbology, which is also supporting ISO 15415 for 2D label-based barcodes. Word Barcode Generator freeware fully supports ISO compatible Data Matrix generations in Microsoft Office Word applications.

What are the different types of Data Matrix?

According to Data Matrix latest ISO standard (ISO/IEC 16022), there are two versions of Data Matrix
  • ECC 000-140
  • ECC 200 (Recommended by ISO/IEC 16022)
Data Matrix barcode also has two types of symbol size, in square or in rectangular.

OnBarcode Word Barcode add-in freeware supports Data Matrix ECC200 in square or in rectangle, which uses the Reed-Solomon error correction.

Can a phone scan a Data Matrix barcode?

Of course you can. Data Matrix codes can be easily scanned using barcode scanners or your smartphone (iPhone or Android phone) equipped with barcode scanning apps.

What is the difference between Data Matrix and QR Code?

Data Matrix and QR Code have lot of same features. They are both 2 dimensional (matrix) barcodes, and enable to encode plain text, Unicode text, binary data. Both of them are encoding GS1 business data messages. Both of Data Matrix and QR Code support Macro, which allows storing large data into multiple Data Matrixs or QR Codes. Word Barcode Generator add-in fully supports both Data Matrix and QR Code 2d barcodes generation in Word documents in Microsoft Office 365, 2024, 2021, 2019, 2016 applications.







































Start with free trial package:








































Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.