Java APIs to manipulate Word documents

Create, edit, convert or print Word documents (20+ file formats) from any Java based application.

  Download Free Trial
Aspose.Words for Java

Aspose.Words for Java


Aspose.Words for Java is an advanced Java Word processing API that enables you to perform a great range of document processing tasks directly within your Java applications.

Aspose.Words for Java API supports processing word (DOC, DOCX, OOXML, RTF) HTML, OpenDocument, PDF, EPUB, XPS, SWF and all image formats. With Aspose.Words you can generate, modify, and convert documents without using Microsoft Word.


Advanced Java Word Document Processing API Features



Perform mail merge


Generate reports using mail merge


Insert formatted text, paragraphs, images, tables and other content into a Word document


Populate a table in a Word document using data retrieved from a database


Create mailing labels


Combining documents, moving sections between documents, and mail merging images stored in files outside of the database


Mail merge data from multiple tables, format date and numeric fields


Insert a watermark into a document


Update field results IF, formula and other popular field types


Join and split documents


Specify document protection, open protected and encrypted documents


Find and replace text, enumerate over document content


Preserve or extract OLE objects and ActiveX controls from the document


Preserve or remove VBA macros from the document. Preserve VBA macros digital signature


Detect digital signatures in documents


Insert HTML text

Convert Between Supported Document Formats with High Fidelity

With Aspose.Words you can convert between all supported documents formats (DOC, DOCX, PDF, WordProcessingML, RTF, HTML, XHTML, MHTML, OpenDocument ODT, XPS, SWF, TXT and EPUB) quickly and reliably using our high fidelity processing engine.

Programming With A Document Object Model

Aspose.Words for Java API allows developers to create, build, modify, parse and examine loaded documents using our intuitive document object model that consists of over 100 classes.

Documents Content Features

Developers can programmatically create, modify, extract and replace all document elements including Sections, Headers, Footers, Paragraphs, Lists, Tables, Text, Fields, Hyperlinks, Bookmarks, Images, Smart tags, Shapes, Custom XML and many other document element features too.

Document Formatting Features

Developers can specify detailed formatting for any document element. All drawing objects including shapes, textboxes, images, OLE objects and controls are supported through this document object model and you can perform many tasks such as inserting watermarks in pages or extracting images from a pre-existing document.

Utility Features

Aspose.Words for Java API also provides useful utility features such as joining or splitting documents, copying fragments between documents, protecting and unprotecting documents, modifying document properties and inserting HTML fragments into documents.

Reporting And Mail Merge Features

You can use Aspose.Words for Java as a fully featured reporting solution. Design your reports in Microsoft Word and then allow Aspose.Words for Java to populate documents with data from a number of data sources, keeping the mail merge setting preserved.Aspose.Words for Java allows developers to use standard Microsoft Word mail merge fields in reports. Additionally, you can use the Aspose.Words for Java extended syntax for mail merge fields to perform more complex tasks during mail merge operations such as inserting images or repeatable regions.The data to drive your reports or mail merges can come from ResultSet objects, business objects or from a completely custom data source.

Microsoft Office Automation - Not Needed

Aspose.Words for Java is built using managed code that does not need Microsoft Office or Microsoft Word to be installed on the machine to work with Word document formats. It is a perfect Microsoft Word automation alternative in terms of supported features, security, stability, scalability, speed and price.