Overview of Word library (DocIO)

24 Jul 20261 minute to read

Essential® DocIO is a native Java Word library used to create, read, write, and convert Microsoft Word documents in Java applications without Microsoft Word or interop dependencies.

It is a non-UI component that provides a full-fledged document instance model similar to the Microsoft Office COM libraries, letting you interact with document elements explicitly and perform the necessary manipulations. It is built from scratch in Java and does not require Microsoft Word to be installed on the machine. It supports Word 2007 and later versions of Word documents.

Key Features

Compatible Microsoft Word Versions

  • Microsoft Word 2007
  • Microsoft Word 2010
  • Microsoft Word 2013
  • Microsoft Word 2016
  • Microsoft Word 2019
  • Microsoft Word 2021
  • Microsoft 365

TIPS

Sometimes a Java application may throw an error like java.lang.OutOfMemoryError. Usually, this error occurs due to insufficient RAM heap space to allocate an object in the Java heap. To avoid this kind of problem, we suggest increasing the JVM heap size.

NOTE

Currently, Essential® DocIO supports .docx, .dotx, .dotm, .docm, WordML, .rtf, .txt, and HTML. Please refer to the supported and unsupported features in Essential® DocIO.

See Also