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 most commonly used image formats. With Aspose.Words you can generate, modify, and convert documents without requiring Microsoft Word.


Advanced Java Word Document Processing API Features



Perform mail merge & generate reports


Insert formatted text, paragraphs, images and tables


Populate tables using data retrieved from database


Create mailing labels


Move sections between documents


Mail merge data from multiple tables


Insert watermark to document


Format date and numeric fields during mail merge


Join and split documents


Encrypt documents


Load encrypted documents


Find and replace text, enumerate over document content


Preserve or extract OLE objects and ActiveX controls


Preserve or remove VBA macros


Preserve VBA macros' digital signature


Detect digital signatures


Insert HTML contents


Interconvert document format

Convert Between Supported Document Formats with High Fidelity

Aspose.Words for Java allows you to convert between all supported documents formats quickly and reliably using its specialized high fidelity processing engine.

Programming with 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.

Content Manipulation

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.

Object Formatting Manipulation

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 un-protecting documents, modifying document properties and inserting HTML fragments into documents.

Reporting & 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.