Merge and split documents with ease

Merge various document types without hassle.

Easily manage documents by breaking up large files into smaller, more manageable pieces.

Manipulate document pages to reorder, swap, or remove them.

GroupDocs.Merger at a glance

API to combine, split, swap, reorder or remove document pages, slides, and diagrams.

  • Merge multiple file formats

    Seamlessly combine multiple PDF, Office, and many other supported formats into a single document.

  • Split large documents

    Split documents by specific pages, ranges, or even extract individual pages.

  • Customize document structure

    Organize your documents by rearranging, removing, or adding pages.

  • Preview document pages

    Generate image representations of document pages to understand the content and structure better.

Practical code showcase

Some use cases of typical GroupDocs.Merger operations.

Merging several files

GroupDocs.Merger allows you to combine several files together into a single file. You can merge whole documents or particular pages from your documents.
//  Specify desired page numbers or page range to join
PageJoinOptions joinOptions = new PageJoinOptions(1, 4, RangeMode.OddPages);

// Load the source DOCX file
using (Merger merger = new Merger(@"c:\sample1.docx"))
  // Add another DOCX file to merge
  merger.Join(@"c:\sample2.docx", joinOptions);
  // Merge DOCX files and save result
//  Specify desired page numbers or page range to join
JoinOptions joinOptions = new JoinOptions(1, 4, RangeMode.OddPages);

// Load the source DOCX file
Merger merger = new Merger("c:\sample1.docx");
// Add another DOCX file to merge
merger.join("c:\sample2.docx", joinOptions);

// Merge DOCX files and save result"c:\merged.docx");

60+ file formats supported

GroupDocs.Merger supports operations with a wide range of document formats.

In-depth metrics and statistical insights

Dive into a detailed breakdown of our key figures, providing comprehensive metrics and statistical insights into our achievements, impact, and growth.

  • 60+

    Supported formats

    Each library supports processing more than 50 of most popular file and document formats.

  • 274k

    NuGet downloads

    GroupDocs.Merger for .NET has more than 274K downloads from the NuGet package manager.

  • 5.5k

    Maven downloads

    GroupDocs.Merger for Java has more than 5.5K downloads from our Maven repository.

  • 140+

    Happy customers

    Our libraries are used by both small individual developers as well as by leading companies all over the world.

Our happy customers

GroupDocs libraries are employed by globally renowned and distinguished brands across the world.

Platform independence

GroupDocs.Merger library supports the following operating systems and frameworks:


.NET Framework 4.6.2 or higher
.NET Core 2.0 or higher
.NET 6.0 or higher
Mono Framework 2.6.7 or higher
Windows, Linux, Mac OS
Microsoft Visual Studio
Xamarin (Android, iOS, Mac)
60+ file formats


J2SE 8.0 or higher
Windows, Linux, Mac OS
IntelliJ IDEA
50+ file formats

Ready to get started?

Try GroupDocs.Merger features for free on your platform

Frequently asked questions

Answers to most commonly asked questions.

  • Does the GroupDocs.Merger library need any other third-party software to manipulate documents?
    GroupDocs.Merger does not require any external software to be installed such as Adobe Acrobat, Microsoft Office, or any other.
  • Can I try the GroupDocs.Merger library before purchasing it?
    Yes, you can try GroupDocs.Merger without buying a license. Once installed without a license, the library works in trial mode. In this mode, trial badges are added to the resultant document, and it is trimmed to the first 3 pages. If you wish to test GroupDocs.Merger without the limitations of the trial version, you can also request a 30-day temporary license. For more details, see Get a Temporary License.
  • What licenses do you have?
    We offer several license types to fit the needs of particular developers or companies. License types depend on the number of developers, the number of developer site locations, and whether you need to deliver our SDK/API to your end customers. Alternatively, you can choose Metered licenses based on monthly usage of the product. Learn more at License Types.