File Formats: Microsoft Word Document (DOCX/DOC)

The DOCX and DOC file extensions are used for Microsoft Word documents, part of the Microsoft Office Suite of software.

DOCX/DOC files are used to store word processing data.

DOCX is part of Microsoft Office Open XML specification (also known as OOXML or OpenXML) and was introduced with Office 2007. DOCX is a zipped, XML-based file format. Microsoft Word 2007 and later uses DOCX as the default file format when creating a new document. Support for loading and saving legacy DOC files is also included.

DOC is the default format used with Office 97-2003. DOC is a Microsoft proprietary Binary Interchange File Format. Microsoft Word 97-2003 uses DOC as the default file format when creating a new document. Support for loading and saving DOCX files can be added using an add-in.

LEADTOOLS supports Microsoft Word document format: from Office 97 DOC up to DOCX.

LEADTOOLS supports loading DOCX files through the DOCX filter.

LEADTOOLS supports loading DOC files through the DOC filter.

Additional features supported by LEADTOOLS:

The default extension used by this format is: DOCX or DOC.

The file constants associated with this file format are:

Constant Read Support Write Support Description
Docx 1, 8, 16, 24 BPP N/A DOCX, Microsoft Word document file format
Doc 1, 8, 16, 24 BPP N/A DOC, Microsoft Word 97-2003 document file format

Required DLL: Leadtools.Codecs.Dox.dll or Leadtools.Codecs.Doc.dll. The DOCX file format requires .NET Framework 3.5 or later and the DocumentFormat.OpenXml.dll (ver. 2.*). For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platform Support

Extension Module Value Win32 Win64 Net32 Net64 Linux Android Apple UWP MimeType Friendly Name
Doc DOC 342 application/msword DOC - Microsoft Word 97-2003 File Format
Docx DOCX 350 application/vnd.openxmlformats-officedocument.wordprocessingml.document DOCX - Microsoft Office Word File Format

For a complete list for supported file formats, see Summary of All Supported File Formats.

For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.


LEADTOOLS supports writing the DOCX/DOC file format using the LEADTOOLS Document Writers.

DOCX and DOC file formats are supported in the Document/Medical products.

For more information, refer to LEADTOOLS Document Writers SDK.

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document