We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Java Word Library - Overview

Java Word Library (Essential DocIO for Java) is a feature-rich and high-performance library that allows you to add advanced Word document processing functionalities to any Java application. It allows you to create, read, and edit Word documents programmatically without Microsoft Office or interop dependencies. It allows you to create complex reports by merging data from various data sources using its powerful mail merge engine. This library also provides functionalities for merging, splitting, organizing Word documents, and finding and replacing text with ease.

Overview Diagram of Java Word Library

General Information

Blazing fast performance

Optimized for a server environment where speed and low memory usage are critical, DocIO works much faster and consumes less memory when compared to Office automation libraries.

No server deployment fees

There is no distribution fees, per-server licensing fees, or royalties, making DocIO very cost-effective.

Powerful and comprehensive APIs

All the elements of a typical Word document like text, formatting, images, tables, sections, headers and footers are accessible through a comprehensive set of APIs. It only takes a few lines of code to create or manipulate richly formatted Word documents.

Supported file formats

Creates, reads and edits popular text file formats like DOCM, DOTM, DOCX, DOTX, HTML, TXT and XML (WordML). Converts Word documents also to HTML and TEXT files.

Start reports with Word and finish with DocIO

Design reports using Microsoft Word and use DocIO to dynamically populate them with data. The final report can be saved to a Word file or exported to other supported formats.

Mail Merge

Simple Mail merge using Java Word library

Simple mail merge

Performs mail merge by repeating the entire document automatically for every record in the data source. Multiple documents can also be created from a Word template.

Group Mail merge using Java Word library

Group mail merge

Performs mail merge by repeating a particular region of the document automatically for every record in the data source.

Nested Mail merge using Java Word library

Nested mail merge

Generates complex reports by repeating nested regions, if you have two or more mail merge regions where one of them is inside the other in a hierarchical form, with relational data.

Data sources for performing Mail merge

Data sources

Populates the template Word document with data from common data sources.

Format the merged data during Mail merge


Formats the merged text, numeric values and date-times automatically with the help of field switches.

Merge image during Mail merge


When the prefix “image:” is added to the merge field name, it replaces image in the place of the merge field.

Mail merge events to customize the merged data

Mail merge events

Customizes the document during mail merge by formatting and editing the merged text, numeric and image data with mail merge events and also the layout of the document by inserting breaks.

Options to customize Mail merge functionality


Supports intuitive options like mapping merge fields with fields in data source, retrieving merge field names and removing merge fields that are not merged, empty paragraphs and empty groups.

For more information, check our Mail merge features.

Document Elements

Sections in Word document


Organizes the document contents with sections for grouping and making the contents start on a new page, odd page, even page, or continue on the same page.

Header and footer in Word document

Adds information like title, author, branding and page number to repeat it at the top and bottom of every page. Supports all the header and footer types such as different first page and different odd and even pages.

Text in Word document


Creates or edits documents with all language texts. Supports left-to-right text and right-to-left text, also.

Image in Word document


Inserts images in a document with all the common layout options like text wrapping, position, size and more. Supports all common image formats like PNG, BMP, JPEG, TIFF, GIF, EMF, WMF, SVG, etc.

Bookmark in Word document


Creates and inserts bookmarks to identify a part of the document for future reference.

Hyperlink in Word document

Creates a link in a document for quick access of webpages, files, email, bookmarks, and more.

Fields in Word document


Adds dynamic information like title, time, etc., in a Word document that updates automatically. Supports updating commonly used fields like merge field, IF field, date-time, document properties, and more.

Text box in Word document

Text box

Showcases important text or quotes in a document within a text box. Supports inserting and editing text and formatting and removing an existing text box.

Shapes in Word document


Adds all the predefined shapes in a Word Open XML Format document (DOCX, DOTX, DOCM, DOTM, Word XML). Supports inserting and editing text and formatting and removing an existing shape.

Properties of a Word document

Document properties

Reads and writes document information with built-in document properties. Also, supports custom document properties and document variables.


Text formatting in Word documents

Text formatting

Customizes the appearance of the text with several text-level formatting options like font family, size, style, underline, strikethrough, text color, highlight, subscript, superscript and more.

Paragraph formatting in Word documents

Paragraph formatting

Customizes the appearance of a paragraph with several paragraph-level formatting options like indents, alignment, spacing, tab stops, text direction and more.

Bullets and Numbering in Word documents

Bullets and numbering

Organizes items or creates an outline of the document with bullets and numbering ranging from single level to multilevel lists.

Page settings in Word documents

Page settings

Designs the structure and layout of document pages with several properties like size, margins, orientation, columns, line numbers, borders, page background, watermarks and more.

Styles in Word document


Creates and applies styles to ensure consistency within a document. Supports predefined and custom character styles, paragraph styles and predefined table styles.


Creates, inserts and deletes tables in a document. Supports nested tables also.

Edit tables in Word document


Edits an existing table in a document like merging cells, adding or removing cells and rows, resizing cells and more.

Format tables in Word document


Formats a table with several properties like indent, alignment, cell margins and spacing, borders, shadings, repeat header row, break row across pages, etc.

Table styles in Word document


Gives a polished look to tables by applying built-in styles and conditional styling options like first row, last row, banded rows, first column, last column, and banded columns.

Edit and Organize

Copy and paste contents in Word document

Copy and paste

Copies part of a document and inserts that part into the same or a different document with several formatting options like using destination styles, keeping source formatting, etc. Supports all the common paste options in Microsoft Word.

Edit bookmark contents in Word document

Edit bookmark contents

Navigates to a bookmark in the document and inserts, edits, retrieves, or deletes its content. Also supports replacing the bookmarked contents with text, a part of a document, or an entire document.

Merge multiple Word documents


Merges multiple documents into a single document with several formatting options like using destination styles, keeping source formatting and more.

Split Word document into multiple small documents


Splits a document into multiple small documents based on sections, placeholder text, or any document element.

For more information, check our Merge and Split Word document features.

Content Controls

Design form using content controls in Word document

Design form

Creates and inserts content controls like plain text, rich text, pictures, check boxes, combo boxes, drop-down lists, date pickers and more in a Word Open XML Format document (DOCX, DOTX, DOCM, DOTM, Word XML). Groups a part of a document with block content control.

Form filling

Form filling with Form fields in Word document

Form fields

Creates fillable forms with legacy form fields in Word documents. Fills the form fields and extracts filled data from the form fields effortlessly.

Form filling with content controls in Word document

Content controls

Creates more functional forms with content controls like plain text, rich text, pictures, check boxes, combo boxes, drop-down lists, date pickers and more in Word Open XML Format document. Fills the form and extracts filled data from the content controls effortlessly.


Comments in Word document


Creates and inserts comments in a document to add notes about a part of the document while reviewing. Also, edits and removes an existing comment from a document.

Accept and reject changes in Word document

Accept and reject changes

Accepts and rejects changes that are tracked within a Word document.

Feature Matrix

Document Content Features WORD 2007-2019
Create a Word document from scratch or edit an existing Word document Yes
Open an existing Word document from file system or stream Yes
Save the Word document to file system, stream, or stream it to the client browser Yes
Create, access and modify paragraphs and text Yes
Create, access and modify tables, rows and cells Yes
Create, access and modify hyperlinks Yes
Create, access and modify bookmarks Yes
Access, create and modify document sections, headers and footers Yes
Iterate over document content Yes
Copy and move document elements between documents Yes
Merge multiple Word documents Yes
Create, access and modify fields Yes
Update fields such as IF and other popular field types Yes
Support for inserting watermarks Yes
Create, access and modify comments Yes
Access and modify built-in document properties Yes
Access and modify custom document properties Yes
Create, access and modify form fields Yes
Create, access and modify structured document tags (content controls) Yes
Accept or delete a particular revision or all the revisions in a document Yes
Support for inserting HTML text Yes
Mail Merge WORD 2007-2019
Create, access and modify merge fields Yes
Retrieve mail merge field names Yes
Insert images during mail merge Yes
Event handling during mail merge process to apply formatting Yes
Perform mail merge on documents that contain complex merge fields Yes
Perform mail merge for a specified region Yes
Perform mail merge on reports that contain relational details (parent-child data) Yes
Document Formatting WORD 2007-2019
Support for character formatting including font size, font color, font name, bold, italic, underline, etc. Yes
Support for paragraph formatting including line spacing, alignment, indentation, spacing before and after, keep follow, etc. Yes
Support for bulleted and numbered lists formatting including numbering and levels Yes
Support for table formatting including alignment, borders and shading Yes
Access and modify all section properties including paper size, margins, and orientation Yes
Access, create, and modify paragraph styles Yes
Support for applying predefined table styles Yes
Bookmarks WORD 2007-2019
Create and manipulate bookmarks Yes
Navigate to a specific bookmark Yes
Retrieve document contents between the specified bookmarks and merge to an existing or a new document Yes
Insert text or part of a document’s contents between the specified bookmarks Yes
Replace a document’s contents between the specified bookmarks with text or part of another document’s contents Yes
Delete document contents between the specified bookmarks Yes
Conversions Read Write  
Word 2007-2016 formats (*.docx, *.dotx, *.docm, *.dotm, *.xml) Yes Yes  
Word 2003 XML Document (*.xml) Yes No  
HTML Yes Yes  
Text Yes Yes  


File Formats
Developer Platform
Unlimited Global License

Developer Platform

Essential Studio

$ 2,495

Per developer 1st year

Includes 1,600+ Controls
Best Value

Unlimited Global License

Cover everyone in your organization for one low annual fee


File Formats

$ 995

Per developer 1st year

  • 65+ Components each for JavaScript, Angular, jQuery, React, and Vue.
  • 75+ ASP.NET Web Forms Controls
  • 70+ Blazor Components
  • 70+ ASP.NET MVC Controls
  • 70+ ASP.NET Core Controls
  • File Formats (Word, Excel, PowerPoint and PDF) Tool tip information icon
  • Report Viewer SDK
  • 15+ WinUI Controls
  • 155+ Xamarin Controls *Includes iOS, Android and UWP
  • 100+ WinForms Controls
  • 100+ WPF Controls
  • 70+ UWP Controls
  • 60+ PHP Controls
  • 60+ JSP Controls
  • Flutter Widgets
  • Predictive Analytics
  • Dedicated Account Representative
  • Quarterly product releases
  • Support within 24 hours on all business days
  • Live chat support on all business days
  • Licensing Management Portal
  • Commercial Use
  • Max Developer count
  • 1 per license
  • Coverage Period
  • 1 year
File Formats
Developer Platform
Unlimited Global License


Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon