About GroupDocs.Merger for Java

Combine multiple files and split, remove or reorder document pages.

GroupDocs.Merger for Java is a document manipulation API that helps you merge, split, swap or remove document pages. The API provides protection by enabling or disabling passwords and allows developers to join PDF, Microsoft Word, Excel and Powerpoint documents.

Supported File Formats

  • Microsoft Office formats
    • Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT
    • Excel: XLS, XLSX, XLSM, XLSB, XLTM, XLTX, XLT, XLAM
    • PowerPoint: PPT, PPTX, PPS, PPSX, ODP, OTP
    • Visio: VSDX, VSDM, VSSX, VSTX, VSTM, VSSM, VSX, VTX, VDX
  • Documents & images
    • Documents: PDF, XPS, TEX
    • Images: BMP, JPEG, PNG, GIF, TIFF, SVG, PS
    • OpenDocument: ODT, OTT, ODS
    • eBook: EPUB
  • Other formats
    • Web: HTML, MHTML, MHT
    • Archives: ZIP, TAR, RAR, 7Z, BZ2, GZ
    • OneNote: ONE

GroupDocs.Merger for Java Features

  • Combine files - Merge two or more documents into a single document, joining specific pages or page ranges from multiple source documents.
  • Split document - Utilize the split operation to divide a source document into multiple resultant documents, enabling efficient organization and management of files.
  • Move pages - Smoothly reposition a page within a document by leveraging the MovePage feature.
  • Remove pages - Effectively remove individual pages or a collection of specific page numbers from the source document with the RemovePages feature.
  • Rotate pages - Take advantage of the RotatePages operation to easily rotate pages within a document by specifying the rotation angle as 90, 180, or 270 degrees.
  • Swap pages - Rearrange the page order by exchanging the positions of two pages within the source document, producing a new document.
  • Extract pages - Generate a new document containing only the selected pages by extracting specific pages or page ranges from the source document.
  • Change orientation - Modify the page orientation (portrait or landscape) for specific pages or all pages of the document by leveraging the ChangeOrientation operation.
  • Preview pages - Gain a clearer understanding of the content and structure of the document by generating image representations of its pages. Make previews of all or just specific pages.