Java APIs to merge and split files

Combine multiple files into a single one as well as split, remove or reorder document pages of a supported format

  Download Free Trial
Java Document Merger API

GroupDocs.Mergerfor Java


GroupDocs.Merger for Java is a document manipulation API to merge, split, swap or remove document pages of supported formats. API provides protection by enabling or disabling password to any supported document. It allows developers to join PDF, Microsoft Word, Excel and Powerpoint documents into a single one

Advanced Java Document Merger API Features



Join multiple documents into single one


Split single file to multiple documents


Arrange documents in any order


Add blank pages into existing document


Remove and reorder pages

Merging API Integration

Integration of merger API is simple for all of its features. Here are just few code lines to move pages like page number.

Moving Pages - C#

DocumentResultresult = new DocumentHandler().movePage(sourceFile, pageNumber, newPageNumber);
OutputStream documentStream = result.getStream();

Support and Learning Resources


GroupDocs.Merger offers document merging APIs for other popular development environments as listed below: