GroupDocs
GROUPDOCS
.Merger
GroupDocs.Merger · Product Family

Merge, split, reorganize

Merge, split, reorder, swap, rotate, and remove pages across PDF, Word, Excel, PowerPoint, Visio, and 50+ other document formats.

Live demo Get started
50+
formats
4
platforms
MIT
examples
document.pdf · GroupDocs.Merger

Install in seconds

Pick your platform, copy the package command, and ship your first integration.

.NET v26.11.0
dotnet add package GroupDocs.Merger
795K downloads
Java v26.4.0
implementation 'com.groupdocs:groupdocs-merger:26.4'
Node.js v24.12.0
npm install @groupdocs/groupdocs.merger
Python v26.12.0
pip install groupdocs-merger-net
Quick start — .NET
using GroupDocs.Merger;

// Load the source PDF file
using (Merger merger = new Merger("sample1.pdf"))
{
    // Add another PDF file to merge
    merger.Join("sample2.pdf");

    // Merge the PDF files and save the result
    merger.Save("merged.pdf");
}

What you can build

GroupDocs.Merger in production — fast, flexible, and source-agnostic.

Join & split

Combine many files or split one into several by page ranges.

Page operations

Reorder, swap, rotate, move, and remove individual pages.

Cross-format

Merge Word, Excel, PowerPoint, and other files into one PDF, and images one below another or side by side.

Preview

Generate page previews before committing changes.

Command line

In Python, groupdocs-merger merges, splits, extracts, and removes pages from the shell: groupdocs-merger merge a.pdf b.pdf -o ab.pdf.

Supported formats

A representative slice of the formats GroupDocs.Merger works with.

Documents
PDF DOCX DOC RTF ODT TXT
Spreadsheets
XLSX XLS CSV ODS
Presentations
PPTX PPT ODP
Images
PNG JPG TIFF BMP SVG
Visio & OneNote
VSDX VSD ONE
Web & eBooks
HTML MHTML EPUB XPS
Archives
ZIP TAR 7Z
Free · ads-free · no install

Try it live in your browser

Run GroupDocs.Merger on your own files in the free, ads-free Merger web app — no install required. Files are deleted after 24 hours.

Open the Merger app

Open-source examples

View all repositories →
GroupDocs.Merger-for-.NET
7
GroupDocs.Merger-for-Java
7
groupdocs-merger.github.io
HTML6
GroupDocs.Merger-Docs
HTML6
Groupdocs.Merger-References
6
GroupDocs.Merger-for-Node.js-via-Java
6